Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Redirected output to devl/null in order to 'quiet' it
Browse files Browse the repository at this point in the history
  • Loading branch information
alstar555 committed Sep 9, 2024
1 parent 2e33f52 commit 491b97c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/ch-convert
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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 () {
Expand Down

0 comments on commit 491b97c

Please sign in to comment.