dhcpcd: cleanup recipe
PATCH 1/2 dhcpcd: cleanup recipe
- use autotools-brokensep instead of B = "${S}"
- make udev configurable via PACKAGECONFIG
- make ipv6 configurable via PACKAGECONFIG
Signed-off-by Pascal Bach <[email protected]>
Signed-off-by Freudiger Raphael <[email protected]>
--- meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb +7 -5
@@ -12,11 +12,13 @@ SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz" SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de" SRC_URI[sha256sum] = "ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35" -inherit autotools +inherit autotools-brokensep -B = "${S}" -EXTRA_OECONF = "--enable-ipv4 --enable-ipv6" +PACKAGECONFIG ?= "udev ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" -FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" +PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" + +EXTRA_OECONF = "--enable-ipv4" -RDEPENDS_${PN} = "udev" +FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
Signature · 1 line
2.1.4
PATCH 2/2 dhcpcd: update to version 6.10.1
Signed-off-by Pascal Bach <[email protected]>
---
.../dhcpcd/{dhcpcd_6.10.0.bb => dhcpcd_6.10.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-networking/recipes-connectivity/dhcpcd/{dhcpcd_6.10.0.bb => dhcpcd_6.10.1.bb} (84%)meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb renamed from meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb +2 -2
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8 SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz" -SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de" -SRC_URI[sha256sum] = "ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35" +SRC_URI[md5sum] = "a7b83c57f47b62f48373905d3b4f7978" +SRC_URI[sha256sum] = "284abf8c3be0580bbac5eaca95359346ab0d78d4072317b6ce87cc68f2e8ae7b" inherit autotools-brokensep
Signature · 1 line
2.1.4