hello, we try to use kiwi-ng for Ubuntu versions

68 views
Skip to first unread message

austin new

unread,
Sep 9, 2024, 8:09:22 PM9/9/24
to kiwi-...@googlegroups.com
It's getting these issues. Please let me know my resolutions asap. Urgent. thanks.
The cmd to use:

sudo kiwi-ng --type iso system build --description build-tests/x86/ubuntu/test-image-live-disk/ --set-repo obs://Virtualization:Appliances:Builder/xUbuntu_23.04 --target-dir /tmp/kiwi_ubuntu

, stdout: /var/tmp/kiwi_xslt-utfnlu1k:49:124: error: attribute "architectures" not allowed here; expected attribute "components", "customize", "distribution", "imageinclude", "imageonly", "package_gpgcheck", "password", "profiles", "sourcetype", "use_for_bootstrap" or "username"

[ ERROR   ]: 18:33:20 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details

Sven Wölfel

unread,
Sep 10, 2024, 2:14:24 AM9/10/24
to kiwi
Would you mind sharing the config you are trying to build? It seems you put the attribute "architectures" in the repository tag which, to my knowledge, does not belong there.

Marcus Schäfer

unread,
Sep 10, 2024, 3:59:03 AM9/10/24
to kiwi-...@googlegroups.com
Hi,
We added the "architectures" attribute recently to kiwi. See here:

https://github.com/OSInside/kiwi/pull/2640

As you are referencing one of our build integration tests in
"build-tests/x86/ubuntu/test-image-live-disk", this new attribute
was also set here for integration testing.

This means you need to update your "sudo kiwi-ng" to the
latest kiwi version >= v10.1.7 and that will make your build to
work again. You can fetch the package either from pip or from:

https://build.opensuse.org/project/show/Virtualization:Appliances:Builder

If this is not an option please remove the "architectures"
attribute from the description

Regards,
Marcus
--
Public Key available via: https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel: +49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------
signature.asc
Reply all
Reply to author
Forward
0 new messages