diff options
author | Justin Bronder <jsbronder@cold-front.org> | 2022-02-10 15:23:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-24 11:12:39 +0000 |
commit | 3373a7a0fec445acc259b922b460e5c4c3f2597d (patch) | |
tree | 7f1f78594b1f4e15ddb96da0189abbf756f7901b /scripts/lib/devtool/upgrade.py | |
parent | 18d18cfea69b6dbb4ce1e30bd40a5d941c7c7167 (diff) | |
download | poky-3373a7a0fec445acc259b922b460e5c4c3f2597d.tar.gz |
initramfs-framework: unmount automounts before switch_root
If mounts are left lingering, then after we switch_root, attempts to
modify the block devices will result in an EBUSY with no way to unmount
them. As we're about to switch_root anyways, there isn't much use to
keep anything mounted unless it has the new rootfs.
(From OE-Core rev: 991631492f4fafc1852113a34a60b025342518b6)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4dc7af6d25597ea10ea43e76c7c3d7251462c0e5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
0 files changed, 0 insertions, 0 deletions