Verified Commit 6e81280c authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

adelie-build-cd: Ensure Zsh is used

parent 028c7863
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment