summaryrefslogtreecommitdiff
path: root/configs/releng/build.sh
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-07-31 19:52:09 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-08-01 20:16:45 -0300
commit4ed9ec9182665f3f117068e5f51c85acc2ced789 (patch)
tree557892b66ba6620b9f45f9ddfa1706341d88ee73 /configs/releng/build.sh
parentc7957079750a8de11821e2f597f05176d1cb7e75 (diff)
Use zsh as default interactive shell
This installs zsh and sets it as default for root and the arch user. grml-zsh-config is installed as a userfriendly default configuration. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'configs/releng/build.sh')
-rwxr-xr-xconfigs/releng/build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index ea081d9..795f217 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -155,7 +155,10 @@ make_customize_root_image() {
-r 'locale-gen' \
run
mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
- -r 'useradd -m -p "" -g users -G "audio,disk,optical,wheel" arch' \
+ -r 'usermod -s /bin/zsh root' \
+ run
+ mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
+ -r 'useradd -m -p "" -g users -G "audio,disk,optical,wheel" -s /bin/zsh arch' \
run
: > ${work_dir}/build.${FUNCNAME}
fi