Skip to contentSkip to conversation

change the priority of packages which provide ifconfig to ifconfig link ifconfig.net-tools by default

PATCH New [email protected] 1 participant 1 message Sep 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 15/16 change the priority of packages which provide ifconfig to ifconfig link ifconfig.net-tools by default

From: Chunrong Guo <[email protected]>

---
 .../net-tools/net-tools_1.60-23.bbappend           |    9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-append/net-tools/net-tools_1.60-23.bbappend
recipes-append/net-tools/net-tools_1.60-23.bbappend new file +9 -0
new file mode 100644
index 0000000..b780bac
@@ -0,0 +1,9 @@
+PR_append_fsl = "+${DISTRO}.0"
+
+inherit update-alternatives
+
+ALTERNATIVE_NAME_fsl = "ifconfig"
+ALTERNATIVE_LINK_fsl = "${base_sbindir}/ifconfig"
+ALTERNATIVE_PATH_fsl = "${base_sbindir}/ifconfig.net-tools"
+ALTERNATIVE_PRIORITY_fsl = "200"
+
Signature · 1 line
1.7.9.5