From 78e2afafea0b302eb7a4864c73ce149f70fbd0ff Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 14 Feb 2013 16:26:48 -0800 Subject: [PATCH] fix(build_library/disk_layout_util.sh): unmount rootfs Sometimes during the buildprocess we get here and the rootfs is still mounted?! Change-Id: I6dc044d9d1318be606c1645f925421fa84c1f513 --- build_library/disk_layout_util.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_library/disk_layout_util.sh b/build_library/disk_layout_util.sh index e75c07dac2..49ec950071 100644 --- a/build_library/disk_layout_util.sh +++ b/build_library/disk_layout_util.sh @@ -61,6 +61,7 @@ run_partition_script() { ;; esac + safe_umount "${root_fs_dir}" sudo mount -o loop "${root_fs_img}" "${root_fs_dir}" . "${root_fs_dir}/${PARTITION_SCRIPT_PATH}" write_partition_table "${outdev}" "${pmbr_img}"