diff options
Diffstat (limited to 'scripts/build/binary_rootfs')
-rwxr-xr-x | scripts/build/binary_rootfs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 2272d4e31..c02b389c5 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -29,11 +29,8 @@ Require_stagefile .build/config .build/bootstrap .build/binary_chroot # Checking stage file Check_stagefile .build/binary_rootfs -# Checking lock file -Check_lockfile .lock - -# Creating lock file -Create_lockfile .lock +# Aquire lock file +Acquire_lockfile case "${LB_ARCHITECTURES}" in amd64|i386) @@ -135,7 +132,7 @@ case "${LB_CHROOT_FILESYSTEM}" in if [ -e chroot/chroot.cache ] then - rm -f .lock + Remove_lockfile mv chroot/chroot chroot.tmp lb chroot_archives binary remove ${@} @@ -223,7 +220,7 @@ case "${LB_CHROOT_FILESYSTEM}" in if [ -e chroot/chroot.cache ] then - rm -f .lock + Remove_lockfile mv chroot/chroot chroot.tmp lb chroot_archives binary remove ${@} @@ -358,7 +355,7 @@ case "${LB_CHROOT_FILESYSTEM}" in if [ -e chroot/chroot.cache ] then - rm -f .lock + Remove_lockfile mv chroot/chroot chroot.tmp lb chroot_archives binary remove ${@} |