Skip to content
Commit 99988399 authored by Justin Bronder's avatar Justin Bronder Committed by Anuj Mittal
Browse files

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.

Signed-off-by: default avatarJustin Bronder <jsbronder@cold-front.org>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4dc7af6d)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit 99163149)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 140247e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment