diff options
| -rw-r--r-- | meta/lib/oe/package_manager/ipk/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager/ipk/__init__.py b/meta/lib/oe/package_manager/ipk/__init__.py index 8fcbad56aa..8cc9953a02 100644 --- a/meta/lib/oe/package_manager/ipk/__init__.py +++ b/meta/lib/oe/package_manager/ipk/__init__.py | |||
| @@ -16,6 +16,7 @@ class OpkgIndexer(Indexer): | |||
| 16 | ] | 16 | ] |
| 17 | 17 | ||
| 18 | opkg_index_cmd = bb.utils.which(os.getenv('PATH'), "opkg-make-index") | 18 | opkg_index_cmd = bb.utils.which(os.getenv('PATH'), "opkg-make-index") |
| 19 | opkg_index_cmd_extra_params = self.d.getVar('OPKG_MAKE_INDEX_EXTRA_PARAMS') or "" | ||
| 19 | if self.d.getVar('PACKAGE_FEED_SIGN') == '1': | 20 | if self.d.getVar('PACKAGE_FEED_SIGN') == '1': |
| 20 | signer = get_signer(self.d, self.d.getVar('PACKAGE_FEED_GPG_BACKEND')) | 21 | signer = get_signer(self.d, self.d.getVar('PACKAGE_FEED_GPG_BACKEND')) |
| 21 | else: | 22 | else: |
| @@ -41,8 +42,8 @@ class OpkgIndexer(Indexer): | |||
| 41 | if not os.path.exists(pkgs_file): | 42 | if not os.path.exists(pkgs_file): |
| 42 | open(pkgs_file, "w").close() | 43 | open(pkgs_file, "w").close() |
| 43 | 44 | ||
| 44 | index_cmds.add('%s --checksum md5 --checksum sha256 -r %s -p %s -m %s' % | 45 | index_cmds.add('%s --checksum md5 --checksum sha256 -r %s -p %s -m %s %s' % |
| 45 | (opkg_index_cmd, pkgs_file, pkgs_file, pkgs_dir)) | 46 | (opkg_index_cmd, pkgs_file, pkgs_file, pkgs_dir, opkg_index_cmd_extra_params)) |
| 46 | 47 | ||
| 47 | index_sign_files.add(pkgs_file) | 48 | index_sign_files.add(pkgs_file) |
| 48 | 49 | ||
