Add packages to a koji package group as mandatory not default
All the packages in groups that koji uses to build srpms/rpms/live images and other outputs are mandatory but are currently specified as default. Yum historically didn't make a major diffentiation between the two and failed build if there was issues, dnf treats this differently and only classifies mandatory as the only option that would fail the install. The packages in the group should be mandatory because we really do want to ensure they're there. This fixes dnf, but should have no impact on the yum use case. Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
parent
17376ced20
commit
d60e8e563f
1 changed files with 1 additions and 1 deletions
|
|
@ -1671,7 +1671,7 @@ def grp_pkg_add(taginfo,grpinfo,pkg_name,block=False,force=False,**opts):
|
|||
if not changed and not force:
|
||||
#no point in adding it again with the same data (unless force is on)
|
||||
return
|
||||
opts.setdefault('type','default')
|
||||
opts.setdefault('type','mandatory')
|
||||
opts['group_id'] = group['id']
|
||||
opts['tag_id'] = tag['id']
|
||||
opts['package'] = pkg_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue