|
Lines 1342-1349
Link Here
|
| 1342 |
|
1342 |
|
| 1343 |
fi |
1343 |
fi |
| 1344 |
cp_bin /sbin/udev.*.sh $tmp_mnt/sbin |
1344 |
cp_bin /sbin/udev.*.sh $tmp_mnt/sbin |
| 1345 |
mkdir -p $tmp_mnt/etc/udev |
1345 |
mkdir -p $tmp_mnt/etc/udev/rules.d |
| 1346 |
cp -a /etc/udev/* $tmp_mnt/etc/udev |
1346 |
cp /etc/udev/udev.conf /$tmp_mnt/etc/udev |
|
|
1347 |
cp /etc/udev/rules.d/* $tmp_mnt/etc/udev/rules.d |
| 1348 |
# comment out binaries not available in initrd |
| 1349 |
for file in $tmp_mnt/etc/udev/rules.d/*; do |
| 1350 |
sed 's@\(.*/usr/.*\)@#(mkinitrd) \1@g' -i $file |
| 1351 |
done |
| 1347 |
fi |
1352 |
fi |
| 1348 |
|
1353 |
|
| 1349 |
if [ "$mkinit_type" = "ramfs" ] ; then |
1354 |
if [ "$mkinit_type" = "ramfs" ] ; then |