diff options
author | Marcin Godzina <mgodzina@isc.org> | 2023-07-06 10:04:07 +0200 |
---|---|---|
committer | Marcin Godzina <mgodzina@isc.org> | 2023-07-18 13:58:09 +0200 |
commit | 39e223a8da6080c29c8271a99d2c7716ca4b6e31 (patch) | |
tree | 63404c9048b445e5212cd645b99529ca74c9fa4a /hammer.py | |
parent | [#2870] Intergrated #2971 fix (diff) | |
download | kea-39e223a8da6080c29c8271a99d2c7716ca4b6e31.tar.xz kea-39e223a8da6080c29c8271a99d2c7716ca4b6e31.zip |
[#2934] fix ignoring of native-pkg parameter
Diffstat (limited to 'hammer.py')
-rwxr-xr-x | hammer.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2912,7 +2912,9 @@ def _get_features(args): # as they are not compatible with others features = set(ALL_FEATURES) features.discard('all') - features.discard('native-pkg') + # do not include `native-pkg` in `all` if not set explicidly in parameters + if 'native-pkg' not in set(vars(args)['with']): + features.discard('native-pkg') # if we build native packages then some features are required and some not if 'native-pkg' in features: |