diff options
author | Justin Bronder <jsbronder@cold-front.org> | 2022-02-10 15:23:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-02 00:22:13 +0000 |
commit | b1ce735cc544536ddb0ce8a7820c390a3b358583 (patch) | |
tree | eec45c899baf58dd048384df28bbd6a44cc99173 /meta/lib/oe/sdk.py | |
parent | 36562d30192d07a3255fe4bfef22b9951d96902b (diff) | |
download | poky-b1ce735cc544536ddb0ce8a7820c390a3b358583.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: 999883990235251127b65f2277dcb40004e7f657)
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>
(cherry picked from commit 991631492f4fafc1852113a34a60b025342518b6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sdk.py')
0 files changed, 0 insertions, 0 deletions