From ca6e4182bf91ae20d0e10d40778e3e85f1d72855 Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Wed, 23 Apr 2025 19:57:43 -0400 Subject: Removed root's home directory --- build-bootstrap.sh | 3 +-- 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 -- cgit v1.2.3