summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2014-01-06 10:17:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-09 11:07:03 +0000
commit64909c693a0bbbcfa021644b993fed71b46612f4 (patch)
tree0096f50c00f9b479960a67df33ea6b788abb9665 /meta
parent5b4c3955f045f74c71d934c06c60ae9c7c8b23a2 (diff)
downloadpoky-64909c693a0bbbcfa021644b993fed71b46612f4.tar.gz
base.bbclass: pull in file-native for src.rpm
Unpacking an src.rpm uses rpm2cpio.sh, which requires 'file'. Without this, builds of rpm on a host without 'file' installed will fail with very strange messages. (From OE-Core master rev: 97e1d84e2d1a74791ce6af88ddc27963bc0e1bec) (From OE-Core rev: a4ae70638314a88c3abfcca0d29e1c425f86bea0) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 73920fde47..2e5217b147 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -582,6 +582,10 @@ python () {
582 if ".zip" in srcuri: 582 if ".zip" in srcuri:
583 d.appendVarFlag('do_unpack', 'depends', ' unzip-native:do_populate_sysroot') 583 d.appendVarFlag('do_unpack', 'depends', ' unzip-native:do_populate_sysroot')
584 584
585 # file is needed by rpm2cpio.sh
586 if ".src.rpm" in srcuri:
587 d.appendVarFlag('do_unpack', 'depends', ' file-native:do_populate_sysroot')
588
585 set_packagetriplet(d) 589 set_packagetriplet(d)
586 590
587 # 'multimachine' handling 591 # 'multimachine' handling