#13045 Create ELN kiwi target
Closed: Fixed by yselkowitz. Opened by yselkowitz.

  • Describe the issue

ELN is currently using kiwi to build images, but we are missing the build tag and target, which is supposedly the reason our new live images are failing to build. Could you please set those up with the following commands (based on the mass-branching script):

koji add-tag --parent eln --arches="x86_64 aarch64 ppc64le s390x" eln-kiwi-build
koji edit-tag --perm=admin eln-kiwi-build
koji edit-tag -x mock.new_chroot=0 eln-kiwi-build
koji add-target eln-kiwi eln-kiwi-build eln
  • When do you need this? (YYYY/MM/DD)
    ASAP

  • When is this no longer needed or useful? (YYYY/MM/DD)
    N/A

  • If we cannot complete your request, what is the impact?
    ELN Live images will continue to fail.


Metadata Update from @jnsamyak:
- Issue tagged with: low-gain, low-trouble, ops, sprint-3

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

A tag with the name 'eln-kiwi-build' already exists and A build target with the name 'eln-kiwi' already exists; I have edited the tags with admin perms, mock chroot

koji taginfo eln-kiwi-build        
Tag: eln-kiwi-build [94036]
Arches: x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Required permission: 'admin'
Tag options:
  mock.new_chroot : 0
  mock.package_manager : 'dnf5' [eln]
  noarch_arches : 'aarch64 ppc64le x86_64' [f44-build]
  rpm.macro.dist : ('%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do '
 'print("%{?distprefix" .. i .."}") '
 'end}}%{distcore}%{?with_bootstrap:%{__bootstrap}}') [eln-build]
  rpm.macro.distcore : '.eln%{eln}' [eln-build]
  rpm.macro.eln : 152          [eln-build]
  rpm.macro.rhel : 11          [eln-build]
  sidetag_rpm_macros_allowed : '_with_bootstrap' [eln-build]
This tag is a buildroot for one or more targets
Current repo: repo#6615326: 2025-10-29 14:40:55.909290+00:00
Targets that build from this tag:
  eln-kiwi
Inheritance:
  0    .... eln-build [22493]

Did I miss the context here @yselkowitz?

The context is that our new Live AltImages are failing (https://github.com/fedora-eln/eln/issues/263).

Kiwi builds require mock.new_chroot = 0, which we were missing. However, despite that fix and the ELN pungi configs having kiwibuild_target = eln-kiwi (https://pagure.io/pungi-fedora/blob/eln/f/fedora/override.conf#_70), the eln target is still being used in ELN kiwiBuild tasks, e.g. compare https://koji.fedoraproject.org/koji/taskinfo?taskID=138541481 to https://koji.fedoraproject.org/koji/taskinfo?taskID=138525901.

Any ideas?

/cc @ngompa @tdawson

Those two stansas have:

        'target': global_target,

remove that if you want them to use the kiwibuild_target.

Of course, do I feel silly right now.

https://pagure.io/pungi-fedora/pull-request/1571

OK, that got them building on the eln-kiwi target, but GNOME is still failing with a different error: https://koji.fedoraproject.org/koji/taskinfo?taskID=138572342

But if that's unrelated to this ticket, feel free to close.

The problem was in our kiwi config, which as since been fixed, and now we have successful builds of both live images for both arches.

Metadata Update from @yselkowitz:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata