unzip: Add ALTERNATIVE configuration
PATCH 1/1 unzip: Add ALTERNATIVE configuration
Since busybox also provides the unzip command use the update-alternatives mechanism to address this.
[YOCTO #7446]
Signed-off-by Saul Wold <[email protected]>
--- meta/recipes-extended/unzip/unzip_6.0.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-extended/unzip/unzip_6.0.bb +7 -0
@@ -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"
Signature · 1 line
2.1.0