From eed537603fc5c80122753871276652b2c1d7065c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 2 May 2013 21:45:31 -0400 Subject: librechroot: improve message output --- src/chroot-tools/librechroot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/chroot-tools/librechroot') diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 9be36ff..45aec10 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -152,15 +152,17 @@ main() { # Keep this lock as long as we are running # Note that '9' is the same FD number as in (mk)archroot lock_open_write 9 "$copydir" \ - "Waiting for existing lock on \`$copydir' to be released" + "Waiting for existing lock on chroot copy to be released: [$COPY]" if [[ ! -d $rootdir ]]; then + msg "Creating 'root' copy for chroot [$CHROOT]" set +u # if archroot_args is empty, it counts as unbound archroot "${archroot_args[@]}" -m "$rootdir" base-devel set -u fi if [[ ! -d $copydir ]] || [[ $mode == sync ]]; then + msg "Syncing copy [$COPY] with root copy" normshell chroot_sync "$CHROOTDIR/$CHROOT" "$COPY" fi -- cgit v1.2.2