aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-19 07:57:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-19 07:57:27 +0000
commit5ec4832773427ee528ec883805c69cd5d4461241 (patch)
tree2c8073e322355b6d3a6d5605b18baa2b09eb8a63 /main/udev
parent20dfee5aff22b445738a27d737b31121b709d920 (diff)
downloadaports-5ec4832773427ee528ec883805c69cd5d4461241.tar.bz2
aports-5ec4832773427ee528ec883805c69cd5d4461241.tar.xz
main/udev: make sure /dev/fd is a symlink to /proc/self/fd
ref #1465
Diffstat (limited to 'main/udev')
-rw-r--r--main/udev/APKBUILD4
-rw-r--r--main/udev/udev-mount.initd2
2 files changed, 4 insertions, 2 deletions
diff --git a/main/udev/APKBUILD b/main/udev/APKBUILD
index a6aa22dd0..7fce39d00 100644
--- a/main/udev/APKBUILD
+++ b/main/udev/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev
pkgver=175
-pkgrel=4
+pkgrel=5
pkgdesc="The userspace dev tools (udev)"
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/"
arch="all"
@@ -74,6 +74,6 @@ libgudev() {
md5sums="2fc9c1efcbde98e3d73ffee7a77aea47 udev-175.tar.bz2
c9de7581099cdfdcd105666cd98a0f0a write_root_link_rule
-884d7faaaa149a323b14e907ea1934f4 udev-mount.initd
+bfc97ba47f6db2b6ae458a65c0b396d5 udev-mount.initd
e99c87e62e7cb5acc4c55bf065944a11 udev-postmount.initd
c11fb3517a567db9994d5f9dbc88ecae udev.initd"
diff --git a/main/udev/udev-mount.initd b/main/udev/udev-mount.initd
index f0d8cc39f..55100f380 100644
--- a/main/udev/udev-mount.initd
+++ b/main/udev/udev-mount.initd
@@ -44,6 +44,8 @@ seed_dev()
# Create problematic directories
mkdir -p /dev/pts /dev/shm
+ rm -rf /dev/fd
+ ln -snf /proc/self/fd /dev/fd
return 0
}