wok-next rev 12976
udev: we need /lib/udev/devices/shm in the minimal tree
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 01 22:53:36 2012 +0200 (2012-06-01) |
parents | e7971445ddec |
children | 8791d537f797 |
files | udev/receipt udev/stuff/92-hal.rules |
line diff
1.1 --- a/udev/receipt Fri Jun 01 22:32:11 2012 +0200 1.2 +++ b/udev/receipt Fri Jun 01 22:53:36 2012 +0200 1.3 @@ -40,13 +40,13 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/lib/firmware $fs/run/udev 1.8 + mkdir -p $fs/lib/firmware 1.9 1.10 cp -a $install/sbin $fs 1.11 cp -a $install/etc $fs 1.12 cp -a $install/lib/libudev*so* $fs/lib 1.13 cp -a $install/lib/udev $fs/lib 1.14 - 1.15 + 1.16 # Have udevd in PATH 1.17 mv $fs/lib/udev/udevd $fs/sbin 1.18 1.19 @@ -54,12 +54,13 @@ 1.20 mv -f $fs/lib/udev/rules.d $fs/etc/udev 1.21 cp $stuff/udev.conf $fs/etc/udev 1.22 cp $stuff/*.rules $fs/etc/udev/rules.d 1.23 - 1.24 - # Create some devices and directories that Udev cannot handle 1.25 + 1.26 + # Create some devices and directories that Udev cannot handle 1.27 # due to them being required very early in the boot process 1.28 mkdir -p $fs/lib/udev/devices/pts 1.29 + mkdir -p $fs/lib/udev/devices/shm 1.30 mknod -m 0666 $fs/lib/udev/devices/null c 1 3 1.31 - 1.32 + 1.33 # Fix permissions 1.34 chmod +x $fs/lib/udev/* 1.35 chown -R root.root $fs