Rename pkg group to dud-build

This commit is contained in:
djuarezg 2022-01-17 16:45:11 +01:00 committed by Tomas Kopecek
parent 3aea7d849e
commit c071f37d2e
2 changed files with 7 additions and 7 deletions

View file

@ -298,17 +298,17 @@ Builders have to be part of ``image`` channel and don't need to have any
specific library installed (mkisofs invocation/usage is only in buildroots not on specific library installed (mkisofs invocation/usage is only in buildroots not on
builder itself) builder itself)
Buildtag needs to be configured by adding special group ``dud`` which should contain Buildtag needs to be configured by adding special group ``dud-build`` which should contain
the following packages: the following packages:
.. code-block:: shell .. code-block:: shell
$ koji add-group dud-build-tag dud $ koji add-group dud-build-tag dud-build
$ koji add-group-pkg dud-build-tag dud genisoimage $ koji add-group-pkg dud-build-tag dud-build xorriso
$ koji add-group-pkg dud-build-tag dud createrepo_c $ koji add-group-pkg dud-build-tag dud-build createrepo_c
$ koji add-group-pkg dud-build-tag dud dnf $ koji add-group-pkg dud-build-tag dud-build dnf
$ koji add-group-pkg dud-build-tag dud dnf-plugins-core $ koji add-group-pkg dud-build-tag dud-build dnf-plugins-core
Another thing we need to ensure is that we're building in chroot and not in Another thing we need to ensure is that we're building in chroot and not in
container. container.

View file

@ -165,7 +165,7 @@ class DudCreateImageTask(BaseBuildTask):
task_id=self.id, task_id=self.id,
repo_id=repo_info['id'], repo_id=repo_info['id'],
# Replace with a group that includes createrepo and xorrisofs # Replace with a group that includes createrepo and xorrisofs
install_group='dud', install_group='dud-build',
setup_dns=True, setup_dns=True,
bind_opts={'dirs': {'/dev': '/dev', }}) bind_opts={'dirs': {'/dev': '/dev', }})
broot.workdir = self.workdir broot.workdir = self.workdir