summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 17:06:32 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-02-15 17:06:32 -0500
commit914cf4f45d3dfc3a566e77397a0ef8ed97ad41cc (patch)
tree2b1f9db44b41ffb4febc2c815cecfe8293f56e9d /makechrootpkg.in
parent54749b7fce6d95c1653ca1e2cf0936d1cecc688e (diff)
downloaddevtools32-914cf4f45d3dfc3a566e77397a0ef8ed97ad41cc.tar.xz
makechrootpkg: Improve status messages.
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 871537c..ee4a933 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -144,9 +144,10 @@ create_chroot() {
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
- slock 8 "$chrootdir/root.lock" "Locking clean chroot"
+ slock 8 "$chrootdir/root.lock" \
+ "Locking clean chroot [%s]" "$chrootdir/root"
- stat_busy "Creating clean working copy [%s]" "$copy"
+ stat_busy "Synchronizing chroot copy [%s] -> [%s]" "$chrootdir/root" "$copydir"
if [[ "$chroottype" == btrfs ]] && ! mountpoint -q "$copydir"; then
if [[ -d $copydir ]]; then
btrfs_subvolume_delete "$copydir" >/dev/null ||
@@ -169,7 +170,7 @@ create_chroot() {
}
clean_temporary() {
- stat_busy "Removing temporary copy [%s]" "$copy"
+ stat_busy "Removing chroot copy [%s]" "$copydir"
if [[ "$chroottype" == btrfs ]] && ! mountpoint -q "$copydir"; then
btrfs_subvolume_delete "$copydir" >/dev/null ||
die "Unable to delete subvolume %s" "$copydir"