[arch-releng] remove systemctl hack

Christian Hesse list at eworm.de
Tue Oct 23 03:22:57 EDT 2012


Christian Hesse <list at eworm.de> on Tue, 2012/10/23 09:18:
> Hello everybody,
> 
> systemctl has been fixed for chroot, so we can remove this little hack as
> soon as systemd 195-1 enters [core].

Hmm, did anything strip my attachment away? I can see it in my sent folder,
but not here. Anyway... Including inline.

diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 006f3fb..70d2097 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -187,10 +187,10 @@ make_customize_root_image() {
             -r 'useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh arch' \
             run
         mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
-            -r 'systemctl disable getty at tty1.service || true' \
+            -r 'systemctl disable getty at tty1.service' \
             run
         mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
-            -r 'systemctl enable multi-user.target pacman-init.service autologin at .service dhcpcd.service || true' \
+            -r 'systemctl enable multi-user.target pacman-init.service autologin at .service dhcpcd.service' \
             run
         : > ${work_dir}/build.${FUNCNAME}
     fi
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}


More information about the arch-releng mailing list