summaryrefslogtreecommitdiffstats
path: root/main/udev
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-01 13:24:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-01 13:26:04 +0000
commit3380ba453b3d986fec5d0262275f9f51aadf165f (patch)
treeb9a009d4e192ef6c43fc305668f2ecceb52b913e /main/udev
parent38212b9de530fcf77e3b4332571e0e589a9e4cfa (diff)
downloadaports-3380ba453b3d986fec5d0262275f9f51aadf165f.tar.bz2
aports-3380ba453b3d986fec5d0262275f9f51aadf165f.tar.xz
main/udev: fix coldplug triggering
fixes #989
Diffstat (limited to 'main/udev')
-rw-r--r--main/udev/APKBUILD4
-rw-r--r--main/udev/udev.initd3
2 files changed, 4 insertions, 3 deletions
diff --git a/main/udev/APKBUILD b/main/udev/APKBUILD
index e75345d6a..f9bf15c16 100644
--- a/main/udev/APKBUILD
+++ b/main/udev/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev
pkgver=175
-pkgrel=1
+pkgrel=2
pkgdesc="The userspace dev tools (udev)"
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
arch="all"
@@ -76,4 +76,4 @@ md5sums="2fc9c1efcbde98e3d73ffee7a77aea47 udev-175.tar.bz2
c9de7581099cdfdcd105666cd98a0f0a write_root_link_rule
884d7faaaa149a323b14e907ea1934f4 udev-mount.initd
e99c87e62e7cb5acc4c55bf065944a11 udev-postmount.initd
-a2deccd61391c71693c0217a0e6dd861 udev.initd"
+c11fb3517a567db9994d5f9dbc88ecae udev.initd"
diff --git a/main/udev/udev.initd b/main/udev/udev.initd
index 1a9869d80..00a1ec9fe 100644
--- a/main/udev/udev.initd
+++ b/main/udev/udev.initd
@@ -87,7 +87,8 @@ populate_dev()
ebegin "Populating /dev with existing devices through uevents"
udevadm control --property=STARTUP=1
if yesno "${rc_coldplug}"; then
- udevadm trigger --action="add"
+ udevadm trigger --action="add" --type="subsystems"
+ udevadm trigger --action="add" --type="devices"
else
# Do not run any init-scripts, Bug #206518
udevadm control --property=do_not_run_plug_service=1