~smoser/cirros/buildroot-upgrade

Viewing all changes in revision 310.

  • Committer: Scott Moser
  • Date: 2014-08-01 20:59:58 UTC
  • mfrom: (309.1.20 udhcpc-wrapper)
  • Revision ID: smoser@ubuntu.com-20140801205958-dc5uodtvqceutp4d
Add a wrapper for handling dhcp.

This way there is no need to rebuild busybox for having it ask for more
options if we'd want that in the future (hostname?), plus we gain
flexibility in having one central script that handles dhcp aspects.

The cirros-dhcpc scripts is called by ifup, it in turn calls udhcpc which
uses cirros-dhcpc yet again (instead of default.script found in
/usr/share) to apply the configuration.

Besides asking for additional routes, udhcpc will also ask for an mtu to
configure.

Note: patching busybox's ifupdown to have it call udhcpc is currently
not enabled.  As such, this is inert until we get that patch in.
The issue is that the patch has busybox version numbers in it that
to not correlate to the 2012.5 version of buildroot that we're using.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: