summaryrefslogtreecommitdiff
path: root/scripts/lib/devtool/utilcmds.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-25 17:06:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-29 08:49:43 +0000
commitcdae5c41e4f67a8757efc5ce1ef11d730edc3af1 (patch)
tree65b2e77f8a47bd6223966d502a6ad629b505c59c /scripts/lib/devtool/utilcmds.py
parent3e4ddeab65d4d2e4aaf03d442c2a1a8c7a2ce8a2 (diff)
downloadopenembedded-core-cdae5c41e4f67a8757efc5ce1ef11d730edc3af1.tar.gz
openembedded-core-cdae5c41e4f67a8757efc5ce1ef11d730edc3af1.tar.bz2
openembedded-core-cdae5c41e4f67a8757efc5ce1ef11d730edc3af1.zip
archiver: don't require that images are built using RPM to build SRPMs
The requirement for images being built using RPM is too strict to have access to the RPM functions, simply checking that package_rpm is in PACKAGE_CLASSES is sufficient. Also fail if SRPMs are requested but package_rpm isn't enabled, instead of silently not doing what we were asked. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions