mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
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 rev: 97e1d84e2d1a74791ce6af88ddc27963bc0e1bec) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
22764d3f4d
commit
18d486c58a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user