File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -214,8 +214,6 @@ umount_chroot () {
214214# Mount airootfs on "${work_dir}/${arch}/airootfs"
215215mount_airootfs () {
216216 mkdir -p " ${airootfs_dir} "
217- # _mount "${work_dir}/${arch}/airootfs.img" "${work_dir}/${arch}/airootfs"
218- # _mount "${work_dir}/${arch}/airootfs.img" "${airootfs_dir}"
219217 _mount " ${airootfs_dir} .img" " ${airootfs_dir} "
220218}
221219
@@ -233,9 +231,10 @@ run_once() {
233231 set -eu
234232 if [[ ! -e " ${work_dir} /build.${1} _${arch} " ]]; then
235233 msg_debug " Running ${1} ..."
234+ mount_airootfs
236235 " ${1} "
237236 touch " ${work_dir} /build.${1} _${arch} "
238- umount_chroot
237+ umount_chroot_advance
239238 else
240239 msg_debug " Skipped because ${1} has already been executed."
241240 fi
You can’t perform that action at this time.
0 commit comments