diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-10-16 13:33:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-24 12:17:15 +0100 |
commit | 49a5c8700deddac744ccfa033bebf7971f92e14b (patch) | |
tree | d6f54229cbde371478152e09ee89a100ceb59375 /meta/lib/oe | |
parent | 2ba901da9a07350cc8975fc951ef5054b32d421b (diff) | |
download | openembedded-core-49a5c8700deddac744ccfa033bebf7971f92e14b.tar.gz openembedded-core-49a5c8700deddac744ccfa033bebf7971f92e14b.tar.bz2 openembedded-core-49a5c8700deddac744ccfa033bebf7971f92e14b.zip |
package_manager: fail if signed feeds are enabled for ipk or dpkg
Signed package feeds are not yet implemented for these package formats.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 5c2130b4db..964fddcda2 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -203,6 +203,8 @@ class OpkgIndexer(Indexer): result = oe.utils.multiprocess_exec(index_cmds, create_index) if result: bb.fatal('%s' % ('\n'.join(result))) + if self.d.getVar('PACKAGE_FEED_SIGN', True) == '1': + raise NotImplementedError('Package feed signing not implementd for ipk') @@ -278,6 +280,8 @@ class DpkgIndexer(Indexer): result = oe.utils.multiprocess_exec(index_cmds, create_index) if result: bb.fatal('%s' % ('\n'.join(result))) + if self.d.getVar('PACKAGE_FEED_SIGN', True) == '1': + raise NotImplementedError('Package feed signing not implementd for dpkg') |