Skip to content

Commit

Permalink
less verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
rayae committed Mar 31, 2024
1 parent 2e8b71a commit 8ac22ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ while [[ $# -gt 0 ]]; do
done

set -e
set -x
# set -x

# 初始化 Pacman
echo "Server = $default_mirror/archlinux/\$repo/os/\$arch" >| /etc/pacman.d/mirrorlist
Expand Down Expand Up @@ -118,7 +118,7 @@ fi
rm -rf $rootfs/var/cache/pacman/pkg/*

# 生成 rootfs.tar.gz
tar -czvf "$output" -C $rootfs ./
tar -czf "$output" -C $rootfs ./
sha256sum "$output" > "$output".sha256sum
du -h "$output"
chmod 0777 "$output"
Expand Down

0 comments on commit 8ac22ba

Please sign in to comment.