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-27 07:24:25 +0000 |
commit | 579e2547b857e2973c5fff3b14066ea4d79b1268 (patch) | |
tree | 365569f548c22bbae7b77744bf4d9c9e4ba4fdff /meta/lib/oe/package_manager.py | |
parent | 835e7552158a3bb8c95846407e49c51c82a9b354 (diff) | |
download | poky-579e2547b857e2973c5fff3b14066ea4d79b1268.tar.gz |
package_manager: fail if signed feeds are enabled for ipk or dpkg
Signed package feeds are not yet implemented for these package formats.
(From OE-Core rev: 49a5c8700deddac744ccfa033bebf7971f92e14b)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-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): | |||
203 | result = oe.utils.multiprocess_exec(index_cmds, create_index) | 203 | result = oe.utils.multiprocess_exec(index_cmds, create_index) |
204 | if result: | 204 | if result: |
205 | bb.fatal('%s' % ('\n'.join(result))) | 205 | bb.fatal('%s' % ('\n'.join(result))) |
206 | if self.d.getVar('PACKAGE_FEED_SIGN', True) == '1': | ||
207 | raise NotImplementedError('Package feed signing not implementd for ipk') | ||
206 | 208 | ||
207 | 209 | ||
208 | 210 | ||
@@ -278,6 +280,8 @@ class DpkgIndexer(Indexer): | |||
278 | result = oe.utils.multiprocess_exec(index_cmds, create_index) | 280 | result = oe.utils.multiprocess_exec(index_cmds, create_index) |
279 | if result: | 281 | if result: |
280 | bb.fatal('%s' % ('\n'.join(result))) | 282 | bb.fatal('%s' % ('\n'.join(result))) |
283 | if self.d.getVar('PACKAGE_FEED_SIGN', True) == '1': | ||
284 | raise NotImplementedError('Package feed signing not implementd for dpkg') | ||
281 | 285 | ||
282 | 286 | ||
283 | 287 | ||