mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Moved passwd and group to build-chroot
This commit is contained in:
@@ -491,6 +491,10 @@ sed -i "s/^-e//" local/capnames.h
|
|||||||
make -j $THREADS install
|
make -j $THREADS install
|
||||||
cd ..
|
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.
|
# Finally, make the image bootable.
|
||||||
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/
|
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
# User/Group Generation
|
|
||||||
echo "root:x:0:0::/home/root:/bin/zsh" > /etc/passwd
|
|
||||||
echo "root:x:0:root" > /etc/group
|
|
||||||
|
|
||||||
# fstab Generation
|
# fstab Generation
|
||||||
# TODO: Is the dump column still used today? ~ahill
|
# TODO: Is the dump column still used today? ~ahill
|
||||||
echo "/dev/vda2 / xfs defaults 1 1" > /etc/fstab
|
echo "/dev/vda2 / xfs defaults 1 1" > /etc/fstab
|
||||||
|
|||||||
Reference in New Issue
Block a user