[arch-releng] [PATCH 6/9] Use zsh as default interactive shell

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu Aug 2 21:08:33 EDT 2012


From: Pierre Schmitz <pierre at archlinux.de>

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 at archlinux.de>
---
 configs/releng/build.sh        | 5 ++++-
 configs/releng/packages.i686   | 2 ++
 configs/releng/packages.x86_64 | 2 ++
 3 files changed, 8 insertions(+), 1 deletion(-)

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
diff --git a/configs/releng/packages.i686 b/configs/releng/packages.i686
index aaf0f37..0b23596 100644
--- a/configs/releng/packages.i686
+++ b/configs/releng/packages.i686
@@ -14,6 +14,7 @@ efibootmgr
 elinks
 gnu-netcat
 gptfdisk
+grml-zsh-config
 grub-bios
 haveged
 hdparm
@@ -45,3 +46,4 @@ vpnc
 wireless_tools
 wpa_actiond
 zd1211-firmware
+zsh
diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64
index 24f655f..09c3c94 100644
--- a/configs/releng/packages.x86_64
+++ b/configs/releng/packages.x86_64
@@ -14,6 +14,7 @@ efibootmgr
 elinks
 gnu-netcat
 gptfdisk
+grml-zsh-config
 grub-bios
 grub-efi-x86_64
 haveged
@@ -46,3 +47,4 @@ vpnc
 wireless_tools
 wpa_actiond
 zd1211-firmware
+zsh
-- 
1.7.11.4



More information about the arch-releng mailing list