diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-08-18 11:18:26 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-08-18 11:18:26 -0500 |
commit | 6e81280ce85af8b5032292346f35542091b9960f (patch) | |
tree | f4e6055d9ff34fa4d5efe2bca7bef8ab7a644931 /adelie-build-cd | |
parent | 028c78633b050cc3bff6fbcaad0ecb5caa98d990 (diff) | |
download | image-6e81280ce85af8b5032292346f35542091b9960f.tar.gz image-6e81280ce85af8b5032292346f35542091b9960f.tar.bz2 image-6e81280ce85af8b5032292346f35542091b9960f.tar.xz image-6e81280ce85af8b5032292346f35542091b9960f.zip |
adelie-build-cd: Ensure Zsh is used
Diffstat (limited to 'adelie-build-cd')
-rwxr-xr-x | adelie-build-cd | 5 |
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 |