[arch-releng] [PATCH 1/2] [configs/releng] Fix autologin
The old autologin method doesn't work anymore with recent login from util-linux. Utilize agetty -a instead. --- configs/releng/root-image/etc/inittab | 2 +- configs/releng/root-image/usr/bin/autologin | 2 -- 2 Dateien geändert, 1 Zeile hinzugefügt(+), 3 Zeilen entfernt(-) delete mode 100755 configs/releng/root-image/usr/bin/autologin diff --git a/configs/releng/root-image/etc/inittab b/configs/releng/root-image/etc/inittab index 2bbc494..e3fe2c8 100644 --- a/configs/releng/root-image/etc/inittab +++ b/configs/releng/root-image/etc/inittab @@ -24,7 +24,7 @@ rh:06:wait:/etc/rc.shutdown su:S:wait:/sbin/sulogin -p # -8 options fixes umlauts problem on login -c1:2345:respawn:/sbin/agetty -8 -s -n -l /usr/bin/autologin 38400 tty1 linux +c1:2345:respawn:/sbin/agetty -8 -s -a root 38400 tty1 linux c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux diff --git a/configs/releng/root-image/usr/bin/autologin b/configs/releng/root-image/usr/bin/autologin deleted file mode 100755 index c124f9e..0000000 --- a/configs/releng/root-image/usr/bin/autologin +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -/bin/login -f root -- 1.7.11.2
AIF development has stalled, and installation moves towards a more manual installation. Remove everything AIF-specific, add the new install scripts and adjust the motd. motd is quite unfriendly right now, but should change as documentation updates. --- configs/releng/packages.i686 | 2 +- configs/releng/packages.x86_64 | 2 +- configs/releng/root-image/arch/report-issues | 1 - configs/releng/root-image/arch/setup | 3 --- configs/releng/root-image/etc/motd | 22 ++++++++++++---------- 5 Dateien geändert, 14 Zeilen hinzugefügt(+), 16 Zeilen entfernt(-) delete mode 100755 configs/releng/root-image/arch/report-issues delete mode 100755 configs/releng/root-image/arch/setup diff --git a/configs/releng/packages.i686 b/configs/releng/packages.i686 index 6012e7c..043ef8d 100644 --- a/configs/releng/packages.i686 +++ b/configs/releng/packages.i686 @@ -1,4 +1,4 @@ -aif +arch-install-scripts b43-fwcutter btrfs-progs crda diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index 6012e7c..043ef8d 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -1,4 +1,4 @@ -aif +arch-install-scripts b43-fwcutter btrfs-progs crda diff --git a/configs/releng/root-image/arch/report-issues b/configs/releng/root-image/arch/report-issues deleted file mode 100755 index bf3b3a3..0000000 --- a/configs/releng/root-image/arch/report-issues +++ /dev/null @@ -1 +0,0 @@ -aif-report-issues.sh diff --git a/configs/releng/root-image/arch/setup b/configs/releng/root-image/arch/setup deleted file mode 100755 index 908d106..0000000 --- a/configs/releng/root-image/arch/setup +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# -aif -p interactive -d -l diff --git a/configs/releng/root-image/etc/motd b/configs/releng/root-image/etc/motd index ddd9fbc..674efa9 100644 --- a/configs/releng/root-image/etc/motd +++ b/configs/releng/root-image/etc/motd @@ -1,16 +1,18 @@ ************************************************************** -* To begin installation, run /arch/setup * -* You can find documentation at * -* /usr/share/aif/docs/official_installation_guide_en * +* To install Arch, configure your network, mount an empty * +* file system on /mnt and run 'pacstrap -r /mnt base'. * +* Then run 'arch-chroot /mnt' and perform the following * +* steps: * +* - Install and configure a bootloader * +* - Install other essential packages * +* - If you use LVM, RAID or something similar, configure * +* mkinitcpio.conf to your needs and run * +* 'mkinitcpio -p linux' * +* There is no documentation yet, but something is likely to * +* show up in the wiki: * +* http://wiki.archlinux.org * * * * i18n: Use the 'km' utility to change your keyboard layout * * and console font. * * * -* If you encounter issues and want to report them or * -* seek help, run /arch/report-issues * -* * -* If you are looking to install Arch on something more * -* exotic, such as your kerosene-powered cheese grater, * -* please consult http://wiki.archlinux.org. * -* * ************************************************************** -- 1.7.11.2
Am 14.07.2012 15:01, schrieb Thomas Bächler:
AIF development has stalled, and installation moves towards a more manual installation. Remove everything AIF-specific, add the new install scripts and adjust the motd.
motd is quite unfriendly right now, but should change as documentation updates.
Compare to the patch I sent earlier: https://github.com/pierres/archiso/commit/c4a4e195ea4590f63a8fbe4ef76314579b... That hook and km should be removed as well. Greetings, Pierre -- Pierre Schmitz, https://pierre-schmitz.com
Am 14.07.2012 16:50, schrieb Pierre Schmitz:
Compare to the patch I sent earlier: https://github.com/pierres/archiso/commit/c4a4e195ea4590f63a8fbe4ef76314579b...
That hook and km should be removed as well.
Overlooked the hook. But why remove 'km'? It can be really hard to type the correct 'loadkeys' command on US layout for some people. Typing 'km' is easier.
Am 14.07.2012 17:08, schrieb Thomas Bächler:
Am 14.07.2012 16:50, schrieb Pierre Schmitz:
Compare to the patch I sent earlier: https://github.com/pierres/archiso/commit/c4a4e195ea4590f63a8fbe4ef76314579b...
That hook and km should be removed as well.
Overlooked the hook.
But why remove 'km'? It can be really hard to type the correct 'loadkeys' command on US layout for some people. Typing 'km' is easier.
km just calls aif. If we want to keep it it'll be best to just create it at a simple script. -- Pierre Schmitz, https://pierre-schmitz.com
Am 14.07.2012 19:50, schrieb Pierre Schmitz:
Am 14.07.2012 17:08, schrieb Thomas Bächler:
Am 14.07.2012 16:50, schrieb Pierre Schmitz:
Compare to the patch I sent earlier: https://github.com/pierres/archiso/commit/c4a4e195ea4590f63a8fbe4ef76314579b...
That hook and km should be removed as well.
Overlooked the hook.
But why remove 'km'? It can be really hard to type the correct 'loadkeys' command on US layout for some people. Typing 'km' is easier.
km just calls aif. If we want to keep it it'll be best to just create it at a simple script.
Oh. Since I removed AIF, km stopped working. Good point.
participants (2)
-
Pierre Schmitz
-
Thomas Bächler