DHCP at initrd time broken (ip=dhcp)
The Alpine kernel is built with CONFIG_IP_PNP=y and CONFIG_IP_PNP_DHCP=y, which means that it should obtain an IP address if booted with ip=dhcp. However, this appears to require that the relevant network drivers are built into the kernel itself rather than as modules.
We should therefore disable CONFIG_IP_PNP and call udhcpc at initrd time if ip=dhcp is spotted in the command line. This will require modification to the initrd init script and inclusion of an appropriate udhcpc handler in the initrd.
This is a blocker for allowing Alpine to boot usefully with PXE (i.e., with a NFS or HTTP server as alpine_dev.)
(from redmine: issue id 1754, created on 2013-04-04, closed on 2013-04-26)
- Changesets:
- Revision 7dc60785 by Natanael Copa on 2013-04-09T10:29:18Z:
main/linux-grsec: disable CONFIG_IP_PNP
fixes #1754