diff options
author | Daniel Ammann <daniel.ammann@bytesatwork.ch> | 2023-12-08 11:25:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-13 11:34:27 +0000 |
commit | 01e8455768297d8902ddd54f61fc7b96b628c028 (patch) | |
tree | c88489c2b8e8495569dde9ce207482f5e2a65f52 /meta/classes-global | |
parent | 2d7cea74d75f8f1f729742cfa17232d8430c8858 (diff) | |
download | poky-01e8455768297d8902ddd54f61fc7b96b628c028.tar.gz |
base: Unpack .7z files with p7zip
(From OE-Core rev: b129a45288ce465888b609e463cf94538de22a3c)
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r-- | meta/classes-global/base.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index ac84312a87..0999b42daa 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass | |||
@@ -674,6 +674,10 @@ python () { | |||
674 | elif path.endswith('.deb'): | 674 | elif path.endswith('.deb'): |
675 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') | 675 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') |
676 | 676 | ||
677 | # *.7z should DEPEND on p7zip-native for unpacking | ||
678 | elif path.endswith('.7z'): | ||
679 | d.appendVarFlag('do_unpack', 'depends', ' p7zip-native:do_populate_sysroot') | ||
680 | |||
677 | set_packagetriplet(d) | 681 | set_packagetriplet(d) |
678 | 682 | ||
679 | # 'multimachine' handling | 683 | # 'multimachine' handling |