aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev-init-scripts
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-17 09:31:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-17 09:33:22 +0000
commit546f742f548335b6150f2ea8ad51c106048576b7 (patch)
tree39bc24251f71fcd623474c0f7bc4b4638b397d69 /main/udev-init-scripts
parent9cf1183ff79b8b415786abb5e2ee9b20b06307e8 (diff)
downloadaports-546f742f548335b6150f2ea8ad51c106048576b7.tar.bz2
aports-546f742f548335b6150f2ea8ad51c106048576b7.tar.xz
main/udev-init-script: force use of hwdrivers for now
eudev does not load modules at all without libkmod. we force loading modaliases with our hwdrivers script til this is sorted out so we get our /dev/input/* devices
Diffstat (limited to 'main/udev-init-scripts')
-rw-r--r--main/udev-init-scripts/APKBUILD2
-rw-r--r--main/udev-init-scripts/udev-init-scripts.post-install3
2 files changed, 4 insertions, 1 deletions
diff --git a/main/udev-init-scripts/APKBUILD b/main/udev-init-scripts/APKBUILD
index 0bdda5264f..b1add1f00c 100644
--- a/main/udev-init-scripts/APKBUILD
+++ b/main/udev-init-scripts/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev-init-scripts
pkgver=30
-pkgrel=1
+pkgrel=2
pkgdesc="udev startup scripts for openrc"
url="https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udev-init-scripts/"
arch="noarch"
diff --git a/main/udev-init-scripts/udev-init-scripts.post-install b/main/udev-init-scripts/udev-init-scripts.post-install
index af7cc155b3..d9f6da17a1 100644
--- a/main/udev-init-scripts/udev-init-scripts.post-install
+++ b/main/udev-init-scripts/udev-init-scripts.post-install
@@ -6,5 +6,8 @@ fi
if ! [ /etc/runlevels/sysinit/udev-trigger ]; then
ln -s /etc/init.d/udev-trigger /etc/runlevels/sysinit/udev-trigger
+ # eudev does not work without libkmod, so we fall back to mdev style
+ # modalias loading for now
+ ln -s /etc/init.d/hwdrivers /etc/runlevels/sysinit/hwdrivers
fi