fix(mkrootfs): usermod require encrypted password
Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
This commit is contained in:
parent
7668eca128
commit
eb221c9a84
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ yes y | sudo pacman \
|
|||
--sync --clean --clean
|
||||
|
||||
msg "Set root password (Default: archriscv)..."
|
||||
usermod --root ./rootfs --password archriscv root
|
||||
usermod --root ./rootfs --password $(perl -e "print crypt('archriscv','yescrypt')") root
|
||||
|
||||
msg "Compressing rootfs..."
|
||||
sudo bsdtar --create --zstd --verbose --xattrs --acls -f "archriscv-$(date --rfc-3339=date).tar.zst" -C rootfs/ .
|
||||
|
|
Loading…
Add table
Reference in a new issue