mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
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
This commit is contained in:
parent
005de74765
commit
78e2afafea
@ -61,6 +61,7 @@ run_partition_script() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
safe_umount "${root_fs_dir}"
|
||||||
sudo mount -o loop "${root_fs_img}" "${root_fs_dir}"
|
sudo mount -o loop "${root_fs_img}" "${root_fs_dir}"
|
||||||
. "${root_fs_dir}/${PARTITION_SCRIPT_PATH}"
|
. "${root_fs_dir}/${PARTITION_SCRIPT_PATH}"
|
||||||
write_partition_table "${outdev}" "${pmbr_img}"
|
write_partition_table "${outdev}" "${pmbr_img}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user