Removed root's home directory

This commit is contained in:
Alexander Hill 2025-04-23 19:57:43 -04:00
parent 6f3a98b778
commit ca6e4182bf
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@ mkdir -p $MAPLE/boot
mkdir -p $MAPLE/boot/EFI/BOOT/ mkdir -p $MAPLE/boot/EFI/BOOT/
mkdir -p $MAPLE/dev mkdir -p $MAPLE/dev
mkdir -p $MAPLE/etc mkdir -p $MAPLE/etc
mkdir -p $MAPLE/home/root mkdir -p $MAPLE/home
mkdir -p $MAPLE/lib mkdir -p $MAPLE/lib
# TODO: Does it make sense to have this long-term? Anything that depends on # 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 # 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/maple/sources
mkdir -p $MAPLE/mnt mkdir -p $MAPLE/mnt
mkdir -p $MAPLE/proc mkdir -p $MAPLE/proc
ln -s home/root $MAPLE/root
mkdir -p $MAPLE/run mkdir -p $MAPLE/run
mkdir -p $MAPLE/sbin mkdir -p $MAPLE/sbin
mkdir -p $MAPLE/sys mkdir -p $MAPLE/sys

View File

@ -638,7 +638,7 @@ rc-update add dhcpcd default
cd .. cd ..
# Basic Configuration # 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 "root:x:0:root" > /etc/group
echo "maple" > /etc/hostname echo "maple" > /etc/hostname
# FIXME: This is enough to get PAM authentication going, but this really should # FIXME: This is enough to get PAM authentication going, but this really should