diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
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 () { if ".zip" in srcuri: d.appendVarFlag('do_unpack', 'depends', ' unzip-native:do_populate_sysroot') + # file is needed by rpm2cpio.sh + if ".src.rpm" in srcuri: + d.appendVarFlag('do_unpack', 'depends', ' file-native:do_populate_sysroot') + set_packagetriplet(d) # 'multimachine' handling |