From b85ee032233958f4bad967de469ddf16e783e6af Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 12 Mar 2015 12:58:17 -0700 Subject: unzip: Add ALTERNATIVE configuration Since busybox also provides the unzip command use the update-alternatives mechanism to address this. [YOCTO #7446] (From OE-Core rev: 3e6654f7b7f8e0e18c8115513410ecb308a0ad5f) Signed-off-by: Saul Wold Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-extended/unzip/unzip_6.0.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta') diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index 33c20f8..e203c06 100644 --- a/meta/recipes-extended/unzip/unzip_6.0.bb +++ b/meta/recipes-extended/unzip/unzip_6.0.bb @@ -35,4 +35,11 @@ do_install() { rmdir ${D}${prefix}/man/ } +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "100" + +ALTERNATIVE_${PN} = "unzip" +ALTERNATIVE_LINK_NAME[unzip] = "${bindir}/unzip" + BBCLASSEXTEND = "native" -- cgit v1.1