diff --git a/.local/bin/chroot-gen b/.local/bin/chroot-gen index 32b5235..0b6b653 100755 --- a/.local/bin/chroot-gen +++ b/.local/bin/chroot-gen @@ -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