summaryrefslogtreecommitdiff
path: root/configs/releng/build.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-03 10:52:13 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-03 10:52:13 -0300
commit0dc8c7b3c7ddcbfe74384d6da596c68f5f268ad9 (patch)
treee410452ee3a30d06ee5affada69672cd34fb9f9d /configs/releng/build.sh
parentdd032a2e72157eaa29bf1ab7b1b6dadfc902aa6f (diff)
downloadarchiso32-0dc8c7b3c7ddcbfe74384d6da596c68f5f268ad9.tar.xz
[configs/releng] Add autologin.service
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/build.sh')
-rwxr-xr-xconfigs/releng/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 125be11..b760256 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -174,6 +174,8 @@ make_customize_root_image() {
sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
patch ${work_dir}/root-image/usr/bin/pacman-key < ${script_path}/pacman-key-4.0.3_unattended-keyring-init.patch
sed -i 's/#\(en_US\.UTF-8\)/\1/' ${work_dir}/root-image/etc/locale.gen
+ sed 's#\(^ExecStart=-/sbin/agetty\)#\1 --autologin root#' \
+ ${work_dir}/root-image/usr/lib/systemd/system/getty@.service > ${work_dir}/root-image/etc/systemd/system/autologin@.service
mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
-r 'locale-gen' \
run