diff options
| author | Alexander Hill <ahill@breadpudding.dev> | 2025-04-23 19:57:43 -0400 |
|---|---|---|
| committer | Alexander Hill <ahill@breadpudding.dev> | 2025-04-23 19:57:43 -0400 |
| commit | ca6e4182bf91ae20d0e10d40778e3e85f1d72855 (patch) | |
| tree | fe5f51ec9fa98ed6cc2b95c872ba6f9e21740b02 | |
| parent | 6f3a98b7785ea6fed58264187669cc69e5b6c637 (diff) | |
Removed root's home directory
| -rwxr-xr-x | build-bootstrap.sh | 3 | ||||
| -rwxr-xr-x | build-chroot.sh | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/build-bootstrap.sh b/build-bootstrap.sh index d18a06e..b6d2300 100755 --- a/build-bootstrap.sh +++ b/build-bootstrap.sh @@ -13,7 +13,7 @@ mkdir -p $MAPLE/boot mkdir -p $MAPLE/boot/EFI/BOOT/ mkdir -p $MAPLE/dev mkdir -p $MAPLE/etc -mkdir -p $MAPLE/home/root +mkdir -p $MAPLE/home mkdir -p $MAPLE/lib # TODO: Does it make sense to have this long-term? Anything that depends on # libc++ fails to link without it, but this should be fixed via a @@ -22,7 +22,6 @@ ln -s . $MAPLE/lib/$HOST mkdir -p $MAPLE/maple/sources mkdir -p $MAPLE/mnt mkdir -p $MAPLE/proc -ln -s home/root $MAPLE/root mkdir -p $MAPLE/run mkdir -p $MAPLE/sbin mkdir -p $MAPLE/sys diff --git a/build-chroot.sh b/build-chroot.sh index 056d8fd..f0683e5 100755 --- a/build-chroot.sh +++ b/build-chroot.sh @@ -638,7 +638,7 @@ rc-update add dhcpcd default cd .. # Basic Configuration -echo "root::0:0::/home/root:/bin/zsh" > /etc/passwd +echo "root::0:0::/:/bin/zsh" > /etc/passwd echo "root:x:0:root" > /etc/group echo "maple" > /etc/hostname # FIXME: This is enough to get PAM authentication going, but this really should |
