aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/dhcp
AgeCommit message (Collapse)AuthorFilesLines
2020-09-07dhcp: drop hook functionalityBruce Ashfield3-112/+0
Hopefully no one is using these exit hooks anymore, since dhcp is no longer in oe-core, this bbappend is dangling. The replacement to dhcp doesn't support the same hooks, so we drop everything and see if anyone notices. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22bbappends: make distro feature conditionalBruce Ashfield2-16/+17
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-24dhcp: Add the default route optionZhixiong Chi1-0/+3
Add the default route option for the operation of adding route, while we set the static route and the mask setting is 0. For example: add_routes 32 169 254 169 254 10 209 67 4 0 10 209 67 1 The first route (169.254.169.254/32 via 10.209.67.4) is added successfully, but the second route (10.209.67.1, default) is not added at all. Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2015-10-14dhcp: bbappend to use PNVu Tran1-1/+1
Fix the following warning: WARNING: Variable key FILES_${PN}-client (${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf ${base_sbindir}/dhclient-systemd-wrapper) replaces original key FILES_dhcp-client ( ${sysconfdir}/dhcp/dhclient-exit-hooks). Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2015-06-19dhcp: fix build errorBian Naimeng1-0/+0
dhcp in oe-core has been upgrade to 4.3.2, so the following error will be caught. ERROR: No recipes available for: /yocto/meta-cloud-services/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
2015-02-20bbappend: rsync to oe-core master round2Bruce Ashfield1-0/+0
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-29bbapends: resync bbappends to oe-core/meta-oe versionsBruce Ashfield1-0/+0
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-27dhcp: fix double 'request' in dhclient.confMark Asselstine1-1/+1
commit 43e2b093040734d4c4b28db96a634cd2a5f3271b [dhcp: add dhcp classless static route support] had a flaw in one of do_install_append() sed expressions in the dhcp recipe that caused a duplicate 'request' keyword to be inserted in to the dhclient.conf file. The result was that results returned for the request were not as expected and the resolv.conf would be empty. Fixing up the sed expression removes the duplicate and allows things to function properly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-08-25bbappends: resync bbappends to oe-core/meta-oe latestBruce Ashfield1-0/+0
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-06-24dhcp: add dhcp classless static route supportAndy Ning2-0/+108
dhclient needs to be configured to request classess static routes (option code 121) from dhcp server. And dhclient-script will call dhclient-exit-hooks which will parse and add the static routes received from dhcp server into the routing table. The support are built into both controller image and usb guest image, but only guest image makes use of it to add static route for instance to access metadata. Signed-off-by: Andy Ning <andy.ning@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>