Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makechrootpkg.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index b98951f..d1a37e7 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -127,12 +127,14 @@ chroottype=$(stat -f -c %T "$chrootdir")
# Lock the chroot we want to use. We'll keep this lock until we exit.
# Note this is the same FD number as in mkarchroot
-lock_open_write 9 "$copydir.lock" "Locking chroot copy [$copy]"
+lock_open_write 9 "$copydir" \
+ "Waiting for existing lock on chroot copy to be released: [$copy]"
if [[ ! -d $copydir ]] || $clean_first; then
# Get a read lock on the root chroot to make
# sure we don't clone a half-updated chroot
- lock_open_read 8 "$chrootdir/root" "Locking clean chroot"
+ lock_open_read 8 "$chrootdir/root" \
+ "Waiting for existing lock on clean chroot to be released"
stat_busy "Creating clean working copy [$copy]"
if [[ "$chroottype" == btrfs ]]; then