update etc for passwd & group

This commit is contained in:
Oliver 2023-12-14 08:42:49 +00:00
parent 830cbb4173
commit 889c84819c

View File

@ -22,6 +22,7 @@ for cmd in "${CMDS[@]}"; do
done
# cp user and group into chroot
mkdir $CHROOT/etc
cat /etc/passwd | grep $USER > $CHROOT/etc/passwd
cat /etc/group | grep $USER > $CHROOT/etc/group