fix(mkrootfs): fix typo (#11)
This commit is contained in:
parent
69aa024f38
commit
c81a4c8590
1 changed files with 3 additions and 3 deletions
6
mkrootfs
6
mkrootfs
|
@ -8,7 +8,7 @@
|
||||||
colorize
|
colorize
|
||||||
|
|
||||||
verbose=0
|
verbose=0
|
||||||
varbose_arg=
|
verbose_arg=
|
||||||
password='archriscv'
|
password='archriscv'
|
||||||
|
|
||||||
show_help() {
|
show_help() {
|
||||||
|
@ -35,7 +35,7 @@ parse-args() {
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
v) verbose=$((verbose+1))
|
v) verbose=$((verbose+1))
|
||||||
varbose_arg="--verbose"
|
verbose_arg="--verbose"
|
||||||
;;
|
;;
|
||||||
p) password=$OPTARG
|
p) password=$OPTARG
|
||||||
;;
|
;;
|
||||||
|
@ -75,7 +75,7 @@ sudo usermod --root $(realpath ./rootfs) --password $(openssl passwd -6 "$passwo
|
||||||
msg "Compressing rootfs..."
|
msg "Compressing rootfs..."
|
||||||
sudo bsdtar --create \
|
sudo bsdtar --create \
|
||||||
--auto-compress --options "compression-level=9"\
|
--auto-compress --options "compression-level=9"\
|
||||||
$varbose_arg \
|
$verbose_arg \
|
||||||
--xattrs --acls\
|
--xattrs --acls\
|
||||||
-f "$filename" -C rootfs/ .
|
-f "$filename" -C rootfs/ .
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue