inetutils: add dnsdomainname to ALTERNATIVE

Submitted by Marco Felsch on Oct. 7, 2020, 3:41 p.m. | Patch ID: 177036

Details

Message ID 20201007154116.15648-1-m.felsch@pengutronix.de
State New
Headers show

Commit Message

Marco Felsch Oct. 7, 2020, 3:41 p.m.
The dnsdomainname can be provided by: busybox, net-tools and/or
inetutils. Busybox and net-tools already installing dnsdomainname using
the ALTERNATIVE mechanism, inetutils don't. Make it possible to install
all three packages without the need to add '--disable-dnsdomainname' to
the inetutils PACKAGECONFIG.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
Hi,

without this patch I'm not able to build packagegroup-core-base-utils.

Regards,
  Marco

 meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb b/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
index adf6d4414e..69917fb230 100644
--- a/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
+++ b/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
@@ -118,7 +118,7 @@  PACKAGES =+ "${PN}-tftpd-dbg ${PN}-telnetd-dbg ${PN}-rshd-dbg"
 NOAUTOPACKAGEDEBUG = "1"
 
 ALTERNATIVE_PRIORITY = "79"
-ALTERNATIVE_${PN} = "whois"
+ALTERNATIVE_${PN} = "whois dnsdomainname"
 ALTERNATIVE_LINK_NAME[uucpd]  = "${sbindir}/in.uucpd"
 
 ALTERNATIVE_PRIORITY_${PN}-logger = "60"