mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +00:00
[#2934] fix ignoring of native-pkg parameter
This commit is contained in:
parent
7d0a526baf
commit
39e223a8da
@ -2912,7 +2912,9 @@ def _get_features(args):
|
|||||||
# as they are not compatible with others
|
# as they are not compatible with others
|
||||||
features = set(ALL_FEATURES)
|
features = set(ALL_FEATURES)
|
||||||
features.discard('all')
|
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 we build native packages then some features are required and some not
|
||||||
if 'native-pkg' in features:
|
if 'native-pkg' in features:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user