OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e418e10
)
[change] : Change the timing to unmount the working directory
author
hayao
<hayao@fascode.net>
Sat, 14 Aug 2021 13:59:53 +0000
(22:59 +0900)
committer
hayao
<hayao@fascode.net>
Sat, 14 Aug 2021 13:59:53 +0000
(22:59 +0900)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
329bd4d
..
ad4b4cf
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-181,11
+181,12
@@
mount_airootfs () {
# Helper function to run make_*() only one time.
run_once() {
if [[ ! -e "${lockfile_dir}/build.${1}" ]]; then
+ umount_work
msg_debug "Running ${1} ..."
mount_airootfs
eval "${@}"
mkdir -p "${lockfile_dir}"; touch "${lockfile_dir}/build.${1}"
- umount_work
+
else
msg_debug "Skipped because ${1} has already been executed."
fi