diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-17 12:50:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 22:52:22 +0100 |
commit | b5c0b44a066077fccf4d6c2d811d55622376b546 (patch) | |
tree | 7f46332438e07acad227a7403b2880fdf1c7ecf9 /meta/recipes-core/initrdscripts | |
parent | 5553ef8096a2ba48272df58845a8f9e23f8f5297 (diff) | |
download | poky-b5c0b44a066077fccf4d6c2d811d55622376b546.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
4 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh b/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh index 1fcd29e54c..4bd6ace7b3 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh | |||
@@ -138,7 +138,7 @@ touch /ssd/etc/controllerimage | |||
138 | if [ -d /ssd/etc/ ] ; then | 138 | if [ -d /ssd/etc/ ] ; then |
139 | # We dont want udev to mount our root device while we're booting... | 139 | # We dont want udev to mount our root device while we're booting... |
140 | if [ -d /ssd/etc/udev/ ] ; then | 140 | if [ -d /ssd/etc/udev/ ] ; then |
141 | echo "/dev/${device}" >> /ssd/etc/udev/mount.blacklist | 141 | echo "/dev/${device}" >> /ssd/etc/udev/mount.ignorelist |
142 | fi | 142 | fi |
143 | fi | 143 | fi |
144 | 144 | ||
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index f667518b89..ffd3870199 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
@@ -229,7 +229,7 @@ if [ -d /tgt_root/etc/ ] ; then | |||
229 | echo "UUID=$boot_uuid /boot vfat defaults 1 2" >> /tgt_root/etc/fstab | 229 | echo "UUID=$boot_uuid /boot vfat defaults 1 2" >> /tgt_root/etc/fstab |
230 | # We dont want udev to mount our root device while we're booting... | 230 | # We dont want udev to mount our root device while we're booting... |
231 | if [ -d /tgt_root/etc/udev/ ] ; then | 231 | if [ -d /tgt_root/etc/udev/ ] ; then |
232 | echo "${device}" >> /tgt_root/etc/udev/mount.blacklist | 232 | echo "${device}" >> /tgt_root/etc/udev/mount.ignorelist |
233 | fi | 233 | fi |
234 | fi | 234 | fi |
235 | 235 | ||
diff --git a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh index 7b49001659..8ab74ddc5d 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh | |||
@@ -164,7 +164,7 @@ if [ -d /tgt_root/etc/ ] ; then | |||
164 | echo "$bootfs /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab | 164 | echo "$bootfs /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab |
165 | # We dont want udev to mount our root device while we're booting... | 165 | # We dont want udev to mount our root device while we're booting... |
166 | if [ -d /tgt_root/etc/udev/ ] ; then | 166 | if [ -d /tgt_root/etc/udev/ ] ; then |
167 | echo "/dev/${device}" >> /tgt_root/etc/udev/mount.blacklist | 167 | echo "/dev/${device}" >> /tgt_root/etc/udev/mount.ignorelist |
168 | fi | 168 | fi |
169 | fi | 169 | fi |
170 | umount /tgt_root | 170 | umount /tgt_root |
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index e71579631b..df33791ec7 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -261,7 +261,7 @@ if [ -d /tgt_root/etc/ ] ; then | |||
261 | echo "$bootdev /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab | 261 | echo "$bootdev /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab |
262 | # We dont want udev to mount our root device while we're booting... | 262 | # We dont want udev to mount our root device while we're booting... |
263 | if [ -d /tgt_root/etc/udev/ ] ; then | 263 | if [ -d /tgt_root/etc/udev/ ] ; then |
264 | echo "${device}" >> /tgt_root/etc/udev/mount.blacklist | 264 | echo "${device}" >> /tgt_root/etc/udev/mount.ignorelist |
265 | fi | 265 | fi |
266 | fi | 266 | fi |
267 | umount /tgt_root | 267 | umount /tgt_root |