diff options
author | Muhammad Hamza <Muhammad_Hamza@mentor.com> | 2022-06-17 10:50:22 +0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-07-01 06:23:58 -1000 |
commit | 0a3ebc5584384e4bf7d9c7ba4c827db587ef3bee (patch) | |
tree | 0c39d59bdd8937ffbbf5db5bedbacae49d42e93c /meta-selftest/classes | |
parent | e5b48730a9916eeda37c34d6d2b41c903a3dcdeb (diff) | |
download | openembedded-core-contrib-0a3ebc5584384e4bf7d9c7ba4c827db587ef3bee.tar.gz |
initramfs-framework: move storage mounts to actual rootfs
Operations such as mkfs fail on devices that are not
switched to the actual rootfs before switch_root is
called. The kernel interprets these devices as still
being used even after unmounting and errors such as
below are seen when the target is fully booted
root@v1000:~# umount /dev/sdb1
root@v1000:~# mkfs.ext4 /dev/sdb1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sdb1 contains a ext4 file system
last mounted on Wed Nov 28 07:33:54 2018
Proceed anyway? (y,N) y
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ec53ffd01972d1be2d6a28de828b3f0b80dc1e61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta-selftest/classes')
0 files changed, 0 insertions, 0 deletions