|
|
@ -34,8 +34,10 @@ udev_pm() { |
|
|
|
rm -f $root/lib/udev/devices/stderr |
|
|
|
ln -sv /proc/self/fd/2 $root/lib/udev/devices/stderr |
|
|
|
rm -rf $root/lib/udev/devices/{pts,shm} |
|
|
|
mkdir -p $root/lib/udev/devices/{pts,shm} |
|
|
|
mkdir -p $root/lib/udev/devices/bus/usb |
|
|
|
mkdir -p $root/lib/udev/devices/{pts,shm,bus/usb} |
|
|
|
# Somehow on boot-up this prevents errors like: |
|
|
|
# cp: will not create hard link `/dev/pts' to directory `/dev/bus/usb' |
|
|
|
touch $root/lib/udev/devices/{pts,shm,bus/usb}/.empty |
|
|
|
|
|
|
|
cp -v $confdir/rules/* $root/etc/udev/rules.d/ |
|
|
|
cp -v $confdir/scripts/*.sh $root/lib/udev/ |
|
|
|