Fix filtering of system release packages

The code was inconsistent with the documentation: the logic was
inverted.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-01-13 08:52:06 +01:00
parent 5f7f23ed96
commit f3f0ce0d35

View File

@ -451,7 +451,7 @@ def get_variant_packages(compose, arch, variant, package_sets=None):
packages |= get_additional_packages(compose, arch, variant)
filter_packages |= get_filter_packages(compose, arch, variant)
if not compose.conf.get('filter_system_release_packages', False):
if compose.conf.get('filter_system_release_packages', True):
system_release_packages, system_release_filter_packages = get_system_release_packages(
compose, arch, variant, package_sets)
packages |= system_release_packages