aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunrong Guo <b40290@freescale.com>2012-08-23 10:15:56 +0000
committerMatthew McClintock <msm@freescale.com>2012-09-19 11:38:34 -0500
commitbbf7c8e9216c6844dd4c6e63e6432df8293fb4bc (patch)
tree3cba0cf83a577b01453144a1a705744ccdb17f51
parent04e3d099fe9789e79b7a25c4addd36934b853e45 (diff)
downloadmeta-fsl-ppc-1.3_M5.tar.gz
meta-fsl-ppc-1.3_M5.tar.bz2
meta-fsl-ppc-1.3_M5.zip
change the priority of packages which provide ifconfig to ifconfig link ifconfig.net-tools by default1.3_M5
Signed-off-by: Chunrong Guo <b40290@freescale.com>
-rw-r--r--recipes-append/net-tools/net-tools_1.60-23.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-append/net-tools/net-tools_1.60-23.bbappend b/recipes-append/net-tools/net-tools_1.60-23.bbappend
new file mode 100644
index 0000000..b780bac
--- /dev/null
+++ b/recipes-append/net-tools/net-tools_1.60-23.bbappend
@@ -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"
+