Skip to contentSkip to conversation

inetutils: increase alternative priority for hostname

PATCH New Bartosz Golaszewski 1 participant 1 message Dec 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 inetutils: increase alternative priority for hostname

From: Bartosz Golaszewski <[email protected]>

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.

---
 meta/recipes-connectivity/inetutils/inetutils_2.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/inetutils/inetutils_2.5.bb +1 -0
index afb0462c61..d8fc7069ac 100644
@@ -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"
Signature · 1 line
2.45.2