summaryrefslogtreecommitdiff
path: root/scripts/build/binary_netboot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_netboot')
-rwxr-xr-xscripts/build/binary_netboot7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/binary_netboot b/scripts/build/binary_netboot
index bed1662b9..2d7381993 100755
--- a/scripts/build/binary_netboot
+++ b/scripts/build/binary_netboot
@@ -39,11 +39,8 @@ Require_stagefile .build/config .build/bootstrap
# Checking stage file
Check_stagefile .build/binary_netboot
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
+# Aquire lock file
+Acquire_lockfile
# Remove old binary
rm -f ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.netboot.tar ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.netboot.tar.gz ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.netboot.tar.bz2 ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.netboot.tar.xz ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.netboot.tar.xz