From 011e8bf639a45310754560dc1f89843b07ef4bc6 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 6 Dec 2024 10:02:10 +0100 Subject: [PATCH] inetutils: increase alternative priority for hostname If the users specifically asks for inetutils-hostname, it's likely they want it to take precedence over busybox' implementation. Increase the alternative priority for this package's version. (From OE-Core rev: 36f718a8cd04d1098eca06fed1e83a0e6f43ab64) Signed-off-by: Bartosz Golaszewski Signed-off-by: Richard Purdie --- meta/recipes-connectivity/inetutils/inetutils_2.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.5.bb b/meta/recipes-connectivity/inetutils/inetutils_2.5.bb index afb0462c61..d8fc7069ac 100644 --- a/meta/recipes-connectivity/inetutils/inetutils_2.5.bb +++ b/meta/recipes-connectivity/inetutils/inetutils_2.5.bb @@ -146,6 +146,7 @@ ALTERNATIVE:${PN}-traceroute = "traceroute" ALTERNATIVE:${PN}-hostname = "hostname" ALTERNATIVE_LINK_NAME[hostname] = "${base_bindir}/hostname" +ALTERNATIVE_PRIORITY[hostname] = "100" ALTERNATIVE:${PN}-doc = "hostname.1 dnsdomainname.1 logger.1 syslogd.8 \ tftpd.8 tftp.1 telnetd.8"