pkgset: Remove package skip optimization for bootable products
If buildinstall is supposed to run, we can't pick only some packages from the tag. The temporary repo is used as a source for lorax. There could very well be packages not meant to be shipped in the compose that are still essential for building the bootable images. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
b068514471
commit
cf114a7fab
@ -200,12 +200,13 @@ def populate_global_pkgset(compose, koji_wrapper, path_prefix, event_id):
|
|||||||
variant_tags = {}
|
variant_tags = {}
|
||||||
|
|
||||||
# In case we use "nodeps" gather_method, we might now the final list of
|
# In case we use "nodeps" gather_method, we might now the final list of
|
||||||
# packages which will end up in the compose even now, so instead of
|
# packages which will end up in the compose even now, so instead of reading
|
||||||
# reading all the packages from Koji tag, we can just cherry-pick the ones
|
# all the packages from Koji tag, we can just cherry-pick the ones which
|
||||||
# which are really needed to do the compose and safe lot of time and
|
# are really needed to do the compose and safe lot of time and resources
|
||||||
# resources here.
|
# here. This only works if we are not creating bootable images. Those could
|
||||||
|
# include packages that are not in the compose.
|
||||||
packages_to_gather = []
|
packages_to_gather = []
|
||||||
if compose.conf["gather_method"] == "nodeps":
|
if compose.conf["gather_method"] == "nodeps" and not compose.conf.get('bootable'):
|
||||||
packages_to_gather, groups = get_packages_to_gather(
|
packages_to_gather, groups = get_packages_to_gather(
|
||||||
compose, include_arch=False, include_prepopulated=True)
|
compose, include_arch=False, include_prepopulated=True)
|
||||||
if groups:
|
if groups:
|
||||||
|
Loading…
Reference in New Issue
Block a user