]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
base: Unpack .7z files with p7zip
authorDaniel Ammann <daniel.ammann@bytesatwork.ch>
Fri, 8 Dec 2023 10:25:24 +0000 (11:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Dec 2023 11:28:24 +0000 (11:28 +0000)
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-global/base.bbclass

index ac84312a87fcc677f1fd7b8ca08a3fb56084e972..0999b42daaa8fba15ee34f6817b6fea9d3b8ec57 100644 (file)
@@ -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