summaryrefslogtreecommitdiff
path: root/build-chroot.sh
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-04-17 22:14:16 -0400
committerAlexander Hill <ahill@breadpudding.dev>2025-04-17 22:14:16 -0400
commitecfa846be94ce97c3a6dee5f7d408773ba0990da (patch)
treef67012f1e2400f227ec3db6995f7dcdff36180e1 /build-chroot.sh
parent3295652c907cd98f1877a523a025710081ef9132 (diff)
Moved passwd and group to build-chroot
Diffstat (limited to 'build-chroot.sh')
-rwxr-xr-xbuild-chroot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index 5331048..1bb3750 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -491,6 +491,10 @@ sed -i "s/^-e//" local/capnames.h
make -j $THREADS install
cd ..
+# User/Group Generation
+echo "root:x:0:0::/home/root:/bin/zsh" > /etc/passwd
+echo "root:x:0:root" > /etc/group
+
# Finally, make the image bootable.
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/