From 718089f7cb499d2a9935de71dcbc8b3e53c6fb2a Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 26 May 2013 18:56:25 -0300 Subject: [configs/releng] Use drop-in feature of systemd for getty autologin Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/root/customize_root_image.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'configs/releng/root-image/root/customize_root_image.sh') diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh index cc47845..ba106c8 100755 --- a/configs/releng/root-image/root/customize_root_image.sh +++ b/configs/releng/root-image/root/customize_root_image.sh @@ -17,9 +17,4 @@ chmod 440 /etc/sudoers.d/g_wheel sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist -sed 's#\(^ExecStart=-/sbin/agetty\)#\1 --autologin root#; - s#\(^Alias=getty.target.wants/\).\+#\1autologin@tty1.service#' \ - /usr/lib/systemd/system/getty@.service > /etc/systemd/system/autologin@.service - -systemctl disable getty@tty1.service -systemctl enable multi-user.target pacman-init.service autologin@.service dhcpcd.service +systemctl enable multi-user.target pacman-init.service dhcpcd.service -- cgit v1.2.2 From 7d14796716939fbabb9daba6b6f5294016d63cd4 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 28 May 2013 11:51:30 -0300 Subject: [configs/releng] Use a udev rule instead of dhcpcd.service https://mailman.archlinux.org/pipermail/arch-releng/2013-May/003163.html Thanks Dave & Thomas Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/root/customize_root_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/releng/root-image/root/customize_root_image.sh') diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh index ba106c8..2fccf47 100755 --- a/configs/releng/root-image/root/customize_root_image.sh +++ b/configs/releng/root-image/root/customize_root_image.sh @@ -17,4 +17,4 @@ chmod 440 /etc/sudoers.d/g_wheel sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist -systemctl enable multi-user.target pacman-init.service dhcpcd.service +systemctl enable multi-user.target pacman-init.service -- cgit v1.2.2 From 5d75049c119983aad719d03e92557f10aef5d199 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 4 Jun 2013 21:33:52 -0300 Subject: [configs/releng] Update zsh path to match /etc/shells Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/root/customize_root_image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs/releng/root-image/root/customize_root_image.sh') diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh index 2fccf47..97e2874 100755 --- a/configs/releng/root-image/root/customize_root_image.sh +++ b/configs/releng/root-image/root/customize_root_image.sh @@ -7,10 +7,10 @@ locale-gen ln -sf /usr/share/zoneinfo/UTC /etc/localtime -usermod -s /bin/zsh root +usermod -s /usr/bin/zsh root cp -aT /etc/skel/ /root/ -useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh arch +useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/zsh arch chmod 750 /etc/sudoers.d chmod 440 /etc/sudoers.d/g_wheel -- cgit v1.2.2 From 0696e888012f89da0b67d6999f14dfe422497914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sun, 16 Jun 2013 11:27:58 +0200 Subject: releng: Allow specifying a mirror on the kernel command line. The new mirror= option takes a mirror URL and creates a new mirrorlist. When setting mirror=auto, the mirror is taken from archiso_http_srv in order to keep using the mirror selected in the netboot menu. --- configs/releng/root-image/root/customize_root_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/releng/root-image/root/customize_root_image.sh') diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh index 97e2874..a60f308 100755 --- a/configs/releng/root-image/root/customize_root_image.sh +++ b/configs/releng/root-image/root/customize_root_image.sh @@ -17,4 +17,4 @@ chmod 440 /etc/sudoers.d/g_wheel sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist -systemctl enable multi-user.target pacman-init.service +systemctl enable multi-user.target pacman-init.service choose-mirror.service -- cgit v1.2.2