summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-04-23 19:57:43 -0400
committerAlexander Hill <ahill@breadpudding.dev>2025-04-23 19:57:43 -0400
commitca6e4182bf91ae20d0e10d40778e3e85f1d72855 (patch)
treefe5f51ec9fa98ed6cc2b95c872ba6f9e21740b02
parent6f3a98b7785ea6fed58264187669cc69e5b6c637 (diff)
Removed root's home directory
-rwxr-xr-xbuild-bootstrap.sh3
-rwxr-xr-xbuild-chroot.sh2
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