#3558 kiwi: propagate --type option
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji issue3556  into  master

Download 3558.patch

Related: https://pagure.io/koji/issue/3556

:thumbsup:

opts['type'] -> self.opts['type']?

rebased onto 5c4076a4d5a0d309bc364823caba624d69f40b97

rebased onto e6a9553e9c5850c8c1b9361f84f2f9dbb426ef4c

:thumbsup:

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

It seems to have broken things:

$> cbs kiwi-build --scratch hyperscale9s-spin_media-experimental-el9s git+https://gitlab.com/CentOS/Hyperscale/releng/kiwi-descriptions.git#f7475459b17b75adaf3b048bf4ec166830da3218 ./CentOS-Stream-Hyperscale-Spin.kiwi --kiwi-profile=OpenStack --arch=x86_64
2022-10-27 08:12:59,584 [ERROR] koji: ParameterError: Invalid type for value '['OpenStack']': <class 'list'>, expected type <class 'str'>

cc: @arrfab

It looks that hub part of plugin wasn't deployed?
It works for me locally. Anyway, this concrete build has two other problems:
1) repo https://cbs.centos.org/koji/taginfo?tagID=2665 doesn't have "core" group and is missing (at least) centos-release-hyperscale centos-release-hyperscale-experimental centos-release-hyperscale-spin packages. That's were it fails for me during task.
2) #3567 - it tries to run mknod for some /dev/ files which doesn't make sense in current implementation, so I've changed bind_opts to not bind local dev system.

2) #3567 - it tries to run mknod for some /dev/ files which doesn't make sense in current implementation, so I've changed bind_opts to not bind local dev system.

I'm not sure that would result in working image builds. Wouldn't that mean things like device-mapper and btrfs-control wouldn't be available?

The creation of nodes occurs in the chroot that kiwi creates, but it still needs /dev in the environment kiwi runs in.

remove trailing comma as it is the thing that breaks your stuff in other ticket (list/str conversion)

here too

1 new commit added

  • fix additional commas

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

Commit 25854a4e fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata