Bugzilla – Bug 1222243
kiwi-templates-Minimal: needs kiwi schemaversion update
Last modified: 2024-04-22 12:30:46 UTC
kiwi-templates-Minimal is using an old kiwi schemaversion (6.1) this is blocking an update of python-kiwi https://build.opensuse.org/request/show/1162956 Please update to the lastest schema (at least 8) and address the following issues: [ 16s] [ INFO ]: 14:14:28 | Schematron validation failed: [ 16s] [ INFO ]: 14:14:28 | --> btrfs_quota_groups attribute is only available for the following image types: oem [ 16s] [ INFO ]: 14:14:28 | --> btrfs_root_is_snapshot attribute is only available for the following image types: oem [ 16s] [ INFO ]: 14:14:28 | --> efipartsize attribute is only available for the following image types: oem [ 16s] [ INFO ]: 14:14:28 | --> editbootinstall attribute is only available for the following image types: oem [ 16s] [ INFO ]: 14:14:28 | --> filesystem attribute is only available for the following image types: oem pxe kis iso [ 16s] [ INFO ]: 14:14:28 | --> firmware attribute is only available for the following image types: oem pxe iso [ 16s] [ INFO ]: 14:14:28 | --> bootpartition attribute is only available for the following image types: oem [ 16s] [ INFO ]: 14:14:28 | --> format attribute is only available for the following image types: oem [ 16s] [ INFO ]: 14:14:28 | --> initrd_system attribute is only available for the following image types: oem pxe kis
You should be able to use kiwi to produce the new schema required ``` kiwi-ng image info --description /path/to/osc/checkout --print-xml ```
Does it have to be 8 or can it also be some 7.x for compatibility with kiwi in 15.x? For livecd-openSUSE I updated the schemaversion recently to test it with kiwi 10 and they worked with schemaversion="7.4" as well, but here the message says specifically "the lastest schema (at least 8)".
It'd be nice if we can update to the last version, but whatever that works with https://build.opensuse.org/request/show/1162956 is fine for now.
> Does it have to be 8 or can it also be some 7.x for compatibility with kiwi in 15.x? It has to be >= 7.4 For kiwi v10 we set the entry level to schema version v74 > For livecd-openSUSE I updated the schemaversion recently to test it with kiwi 10 and they worked with schemaversion="7.4" as well, yep that's all fine
JFI: There is also an open PR https://github.com/OSInside/kiwi/pull/2523 to allow the upgrade from older schemas in easier way for our users
https://build.opensuse.org/request/show/1166461
This is fixed now