diff options
author | Saul Wold <sgw@linux.intel.com> | 2015-03-12 12:58:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-20 11:03:47 +0000 |
commit | b85ee032233958f4bad967de469ddf16e783e6af (patch) | |
tree | 35cb7f6b0035e4f9224e67a57db55f3dd3bf7870 /meta/recipes-extended/unzip | |
parent | 1e34e71e0f6752ec33eb4b30ce72f249b80e9a5d (diff) | |
download | poky-b85ee032233958f4bad967de469ddf16e783e6af.tar.gz |
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 <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/unzip')
-rw-r--r-- | meta/recipes-extended/unzip/unzip_6.0.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index 33c20f8b4c..e203c069f4 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() { | |||
35 | rmdir ${D}${prefix}/man/ | 35 | rmdir ${D}${prefix}/man/ |
36 | } | 36 | } |
37 | 37 | ||
38 | inherit update-alternatives | ||
39 | |||
40 | ALTERNATIVE_PRIORITY = "100" | ||
41 | |||
42 | ALTERNATIVE_${PN} = "unzip" | ||
43 | ALTERNATIVE_LINK_NAME[unzip] = "${bindir}/unzip" | ||
44 | |||
38 | BBCLASSEXTEND = "native" | 45 | BBCLASSEXTEND = "native" |