summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_install-packages
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_install-packages')
-rwxr-xr-xscripts/build/chroot_install-packages7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/chroot_install-packages b/scripts/build/chroot_install-packages
index b4313cf4c..5f092d5f2 100755
--- a/scripts/build/chroot_install-packages
+++ b/scripts/build/chroot_install-packages
@@ -32,11 +32,8 @@ Require_stagefile .build/config .build/bootstrap
# Checking stage file
Check_stagefile .build/chroot_install-packages.${PASS}
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
+# Aquire lock file
+Acquire_lockfile
# Check for packages specified with foreign architecture
_FOREIGN_ARCHITECTURES_FILE="chroot/root/packages.foreign-architectures"