summaryrefslogtreecommitdiff
path: root/adelie-build-cd
diff options
context:
space:
mode:
Diffstat (limited to 'adelie-build-cd')
-rwxr-xr-xadelie-build-cd5
1 files changed, 4 insertions, 1 deletions
diff --git a/adelie-build-cd b/adelie-build-cd
index c27bcb5..650da2f 100755
--- a/adelie-build-cd
+++ b/adelie-build-cd
@@ -156,6 +156,8 @@ install_pkgs() {
make_structure() {
mkdir -p squashroot-$ARCH/home/live
+ cp squashroot-$ARCH/etc/skel/.zshrc squashroot-$ARCH/home/live/
+ chown 1000:1000 squashroot-$ARCH/home/live/.zshrc
mkdir squashroot-$ARCH/target
mkdir -p squashroot-$ARCH/media/live
mkdir -p squashroot-$ARCH/etc/runlevels/{sysinit,boot,default,shutdown}
@@ -183,7 +185,8 @@ make_structure() {
proc /proc proc defaults 0 1
FSTAB
- echo 'live:x:1000:1000:Live User:/home/live:/bin/bash' >> squashroot-$ARCH/etc/passwd
+ sed -i 's#/root:/bin/sh$#/root:/bin/zsh#' squashroot-$ARCH/etc/passwd
+ echo 'live:x:1000:1000:Live User:/home/live:/bin/zsh' >> squashroot-$ARCH/etc/passwd
echo 'live:x:1000:' >> squashroot-$ARCH/etc/group
echo 'live::::::::' >> squashroot-$ARCH/etc/shadow
chown 1000:1000 squashroot-$ARCH/home/live