From bbf7c8e9216c6844dd4c6e63e6432df8293fb4bc Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Thu, 23 Aug 2012 10:15:56 +0000 Subject: change the priority of packages which provide ifconfig to ifconfig link ifconfig.net-tools by default Signed-off-by: Chunrong Guo --- recipes-append/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 (limited to 'recipes-append/net-tools') 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" + -- cgit v1.2.3-54-g00ecf