mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
functions: 'sys/firmware/efi/efivars' must be removed before unmounting /sys
Change-Id: Ic9d2cf40fd6ddfb40a7715983b3b3ae36b93d9df Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ do_unmount() {
|
||||
unmount_error=""
|
||||
|
||||
echo "I: unmounting pseudo directories in ${rootfs_mnt}..."
|
||||
dirs="sys proc dev/pts dev boot"
|
||||
dirs="sys/firmware/efi/efivars sys proc dev/pts dev boot"
|
||||
for dir in ${dirs}; do
|
||||
mountpoint -q ${rootfs_mnt}/${dir} 2>/dev/null \
|
||||
&& { umount ${rootfs_mnt}/${dir} \
|
||||
|
||||
Reference in New Issue
Block a user