[yocto] [meta-fsl-ppc 15/16] change the priority of packages which provide ifconfig to ifconfig link ifconfig.net-tools by default

b40290 at freescale.com b40290 at freescale.com
Wed Sep 12 00:33:30 PDT 2012


From: Chunrong Guo <b40290 at freescale.com>

Signed-off-by: Chunrong Guo <b40290 at freescale.com>
---
 .../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

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"
+
-- 
1.7.9.5





More information about the yocto mailing list