summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_preseed
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_preseed')
-rwxr-xr-xscripts/build/chroot_preseed7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/chroot_preseed b/scripts/build/chroot_preseed
index e5a5fe3a5..0ce6218fa 100755
--- a/scripts/build/chroot_preseed
+++ b/scripts/build/chroot_preseed
@@ -29,11 +29,8 @@ Require_stagefile .build/config .build/bootstrap
# Checking stage file
Check_stagefile .build/chroot_preseed
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
+# Aquire lock file
+Acquire_lockfile
if ls config/preseed/*.cfg > /dev/null 2>&1 || \
ls config/preseed/*.cfg.chroot > /dev/null 2>&1 || \