[arch-releng] [PATCH] [syslinux-iso] Add automated_script support
Hi, Sorry for the delay.
- it checks if the kernel has a "script" argument (as given by the bootloader - never in the official builds - You mean this option we are working on won't be usable with the next official build ?!
Ideally, I think the script would set up auto login as root, and then put the aif invocation in /root/.bash_profile, or something like that. But it's probably too late to set up auto login as root, because that needs to be done by modifying /etc/inittab, but init is already running... This sound much better, running from /root/.bash_profile. Or just having a modified inittab that runs agetty with automatic login. Well in my opinion, automatic login should be always activated or not at all.
The patch I proposed is designed for automatic install and is working for this purpose. But if you want to introduce root autologin, and put something in .bash_profile to autostart a manual or a automatic install, it is a good idea and not only for the case of an automatic install. I would really appreciate to be able to use this script option without modifying the iso. In my opinion, always activated auto-login would be great. Should I propose patches ?
I guess we/Charles will just need to try a few approaches and see what works best. Yes, sure. No problem.
Charles
On Thu, 03 Feb 2011 17:45:55 +0100 Charles Vejnar <ce@vejnar.org> wrote:
Hi,
Sorry for the delay.
- it checks if the kernel has a "script" argument (as given by the bootloader - never in the official builds - You mean this option we are working on won't be usable with the next official build ?!
I mean that after your patch will be applied, we won't configure the release media to use a script argument by default, because there is nothing special to use it for. specifying a specific script argument makes most sense for custom builds or booting over pxe. Or tell me why I'm wrong.
The patch I proposed is designed for automatic install and is working for this purpose.
There's working and properly working. I would like to see you address the concerns I sent in my earlier mail. (or at the very least let us know if and why my concerns are invalid)
But if you want to introduce root autologin, and put something in .bash_profile to autostart a manual or a automatic install, it is a good idea and not only for the case of an automatic install.
no. users should be able to use the media as live / recovery system. it's not our job to dictate what they should do.
I would really appreciate to be able to use this script option without modifying the iso.
of course, that's the idea. like I said above. but first address the concerns..
In my opinion, always activated auto-login would be great. I agree, at least on tty1 an auto root-login would be useful. other terminals can remain as they are.
Should I propose patches ? Yes.
I take it you're a member of the mailing list now? Dieter
participants (2)
-
Charles Vejnar
-
Dieter Plaetinck