Skip to contentSkip to conversation

tftp-hpa: change the ALTERNATIVE_PRIORITY

PATCH New Yu, Mingli 1 participant 1 message Dec 25, 2020

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 tftp-hpa: change the ALTERNATIVE_PRIORITY

From: Mingli Yu <[email protected]>

Both inetutils-tftp and tftp-hpa provide the tftp command and the ALTERNATIVE_PRIORITY of inetutils-tftp is 79 until now.

Increase the ALTERNATIVE_PRIORITY of tftp-hpa to 100 to guarantee the tftp command provided by tftp-hpa when both of the packages installed.

---
 meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb +1 -1
index 4c62da818..dc1d6c67e 100644
@@ -89,7 +89,7 @@ ALTERNATIVE_LINK_NAME[tftp.1] = "${mandir}/man1/tftp.1"
 
 ALTERNATIVE_${PN} = "tftp"
 ALTERNATIVE_TARGET[tftp] = "${bindir}/tftp-hpa"
-ALTERNATIVE_PRIORITY = "60"
+ALTERNATIVE_PRIORITY = "100"
 
 
 SYSTEMD_PACKAGES = "tftp-hpa-server"
Signature · 1 line
2.26.2