From: Daniel Ammann Date: Fri, 8 Dec 2023 10:25:24 +0000 (+0100) Subject: base: Unpack .7z files with p7zip X-Git-Tag: uninative-4.4~772 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b129a45288ce465888b609e463cf94538de22a3c;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git base: Unpack .7z files with p7zip Signed-off-by: Daniel Ammann Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index ac84312a87f..0999b42daaa 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass @@ -674,6 +674,10 @@ python () { elif path.endswith('.deb'): d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') + # *.7z should DEPEND on p7zip-native for unpacking + elif path.endswith('.7z'): + d.appendVarFlag('do_unpack', 'depends', ' p7zip-native:do_populate_sysroot') + set_packagetriplet(d) # 'multimachine' handling