Skip to contentSkip to conversation

base: Unpack .7z files with p7zip

PATCH New Daniel Ammann 1 participant 1 message Dec 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 base: Unpack .7z files with p7zip

---
 meta/classes-global/base.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
meta/classes-global/base.bbclass +4 -0
index ac84312a87fc..0999b42daaa8 100644
@@ -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
Signature · 1 line
2.39.2