Am 26.02.2014 14:04, schrieb Gerardo Exequiel Pozzi:
Why don't we just copy all renaming and networkd-related stuff to initramfs and use it for initialization there, too?
Will be great, sure. But how to extract ROOTSERVER for later usage?
Ask Tom. networkd should get the ability to extract those special options from DHCP (like next-server, filename option, special dhcp options, ...) to be able to be fully useful in initramfs. OTOH, in archiso, we do not have to rely on such mechanisms, we can transmit all options via the command line.
For that we'd probably have to switch initramfs to systemd entirely, but we should do that anyway.
Hehe. I tried this some times, but I fail. At least doing in a only systemd-way (only using units, no shell scripts), for the most simple boot scenario used by default and with fixed values.
You won't get anywhere without shell scripts I'm afraid. I'd put some parts of archiso into generators and some parts into services which call shell scripts. Once we have a working solution, we can still make it more systemd-y.