fix(mkrootfs): fix typo (#11)

This commit is contained in:
XieJiSS 2023-02-05 12:12:11 +08:00 committed by GitHub
parent 69aa024f38
commit c81a4c8590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
colorize
verbose=0
varbose_arg=
verbose_arg=
password='archriscv'
show_help() {
@ -35,7 +35,7 @@ parse-args() {
exit 0
;;
v) verbose=$((verbose+1))
varbose_arg="--verbose"
verbose_arg="--verbose"
;;
p) password=$OPTARG
;;
@ -75,7 +75,7 @@ sudo usermod --root $(realpath ./rootfs) --password $(openssl passwd -6 "$passwo
msg "Compressing rootfs..."
sudo bsdtar --create \
--auto-compress --options "compression-level=9"\
$varbose_arg \
$verbose_arg \
--xattrs --acls\
-f "$filename" -C rootfs/ .