mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Removed root's home directory
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user