From 491b97cf6baf965b851ea6dad55e844816bc20a4 Mon Sep 17 00:00:00 2001 From: Angelica Date: Mon, 9 Sep 2024 15:42:10 -0400 Subject: [PATCH] Redirected output to devl/null in order to 'quiet' it --- bin/ch-convert | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/ch-convert b/bin/ch-convert index 103310e6c..5504abb67 100755 --- a/bin/ch-convert +++ b/bin/ch-convert @@ -116,8 +116,8 @@ cv_dir_squash () { # Exclude build cache metadata. 64kiB block size based on Shane’s # experiments. # shellcheck disable=SC2086 - quiet mksquashfs "$1" "$2" $squash_xattr_arg -b 65536 -noappend -all-root \ - -pf "$pflist" -e "$1"/ch/git -e "$1"/ch/git.pickle + mksquashfs "$1" "$2" $squash_xattr_arg -b 65536 -noappend -all-root \ + -pf "$pflist" -e "$1"/ch/git -e "$1"/ch/git.pickle > /dev/null # Zero the archive’s internal modification time at bytes 8–11, 0-indexed # [1]. Newer SquashFS-Tools ≥4.3 have option “-fstime 0” to do this, but # CentOS 7 comes with 4.2. [1]: https://dr-emann.github.io/squashfs/ @@ -465,7 +465,8 @@ EOF chimage_in_validate () { img=$(chimage_path "$1") - [ -d "$img" ] || FATAL "source image not found in ch-image storage: $1" + echo "ch-img path: $img" + [ -d "$img" ] || FATAL "ch-img path: $img, source image not found in ch-image storage: $1" } chimage_out_validate () {