mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
udev-extraconf/initrdscripts/parted: Rename mount.blacklist -> mount.ignorelist
(From OE-Core rev: 69e486ddb3059f80ba538e1f59c2ca8a8df0faf9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -138,7 +138,7 @@ touch /ssd/etc/controllerimage
|
||||
if [ -d /ssd/etc/ ] ; then
|
||||
# We dont want udev to mount our root device while we're booting...
|
||||
if [ -d /ssd/etc/udev/ ] ; then
|
||||
echo "/dev/${device}" >> /ssd/etc/udev/mount.blacklist
|
||||
echo "/dev/${device}" >> /ssd/etc/udev/mount.ignorelist
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -229,7 +229,7 @@ if [ -d /tgt_root/etc/ ] ; then
|
||||
echo "UUID=$boot_uuid /boot vfat defaults 1 2" >> /tgt_root/etc/fstab
|
||||
# We dont want udev to mount our root device while we're booting...
|
||||
if [ -d /tgt_root/etc/udev/ ] ; then
|
||||
echo "${device}" >> /tgt_root/etc/udev/mount.blacklist
|
||||
echo "${device}" >> /tgt_root/etc/udev/mount.ignorelist
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ if [ -d /tgt_root/etc/ ] ; then
|
||||
echo "$bootfs /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab
|
||||
# We dont want udev to mount our root device while we're booting...
|
||||
if [ -d /tgt_root/etc/udev/ ] ; then
|
||||
echo "/dev/${device}" >> /tgt_root/etc/udev/mount.blacklist
|
||||
echo "/dev/${device}" >> /tgt_root/etc/udev/mount.ignorelist
|
||||
fi
|
||||
fi
|
||||
umount /tgt_root
|
||||
|
||||
@@ -261,7 +261,7 @@ if [ -d /tgt_root/etc/ ] ; then
|
||||
echo "$bootdev /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab
|
||||
# We dont want udev to mount our root device while we're booting...
|
||||
if [ -d /tgt_root/etc/udev/ ] ; then
|
||||
echo "${device}" >> /tgt_root/etc/udev/mount.blacklist
|
||||
echo "${device}" >> /tgt_root/etc/udev/mount.ignorelist
|
||||
fi
|
||||
fi
|
||||
umount /tgt_root
|
||||
|
||||
Reference in New Issue
Block a user