Hi,
I've copied the openSUSE:Leap:15.0:Images/kiwi-templates-Leap15-JeOS to my local obs and reduce it to my needs, setup _multibuild (Chap 7 Reference guide), setup prjconf and hit "Go".
In my JeOS.kiwi config are 3 profiles:
<profiles>
<profile name="kvm" description="JeOS for KVM" import="true" arch="x86_64"/>
<profile name="VMware" description="JeOS for VMware" import="true" arch="x86_64"/>
<profile name="MS-HyperV" description="JeOS for Hyper-V" import="true" arch="x86_64"/>
</profiles>
and in my _multibuild 3 flavours but in my Log (evry build do the same) I can see that the selected profile is not used (Line 4ff):
[ 1s] Building kiwi-templates-Leap15-JeOS:MS-HyperV for project 'TBZ-PARIV:Common:Images:Leap:15.0' repository 'images' arch 'x86_64' srcmd5 'ea5140873518073fb99ca0ee9b308097'
[ 1s] init_buildsystem --configdir /srv/obs/run/worker/4/build/configs --cachedir /var/cache/build --prepare --buildflavor MS-HyperV --clean --rpmlist /var/cache/obs/worker/root_4/.build.rpmlist ...
[ 29s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build --buildflavor MS-HyperV /.build-srcdir/JeOS.kiwi build rpmlint-Factory ...
[ 129s] running kiwi system build for vmx...
[ 129s] cd /usr/src/packages/SOURCES && rm -rf /usr/src/packages/KIWI-vmx && LANG=en_US.UTF-8 /usr/bin/kiwi --debug system build --description /usr/src/packages/SOURCES ...
[ 131s] [ INFO ]: 09:42:18 | Loading XML description
[ 132s] [ INFO ]: 09:42:19 | --> loaded /usr/src/packages/SOURCES/config.xml
[ 132s] [ INFO ]: 09:42:19 | --> Selected build type: vmx
[ 132s] [ INFO ]: 09:42:19 | --> Selected profiles: kvm,VMware,MS-HyperV
instead of:
[ 0s] Building kiwi-templates-Leap15-JeOS:MS-HyperV for project 'openSUSE:Leap:15.0:Images' repository 'images' arch 'x86_64' srcmd5 '56dd346d54ccbd1683e356802ea872ca'
[ 0s] init_buildsystem --configdir /var/run/obs/worker/9/build/configs --cachedir /var/cache/build --prepare --buildflavor MS-HyperV --clean --rpmlist ...
[ 13s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build --buildflavor MS-HyperV /.build-srcdir/JeOS.kiwi build ...
[ 61s] running kiwi system build for vmx, profile MS-HyperV...
[ 61s] cd /usr/src/packages/SOURCES && rm -rf /usr/src/packages/KIWI-vmx && LANG=en_US.UTF-8 /usr/bin/kiwi --debug --profile MS-HyperV system build --description /usr/src/packages/SOURCES ...
[ 62s] [ INFO ]: 11:47:10 | Loading XML description
[ 62s] [ INFO ]: 11:47:11 | --> loaded /usr/src/packages/SOURCES/config.xml
[ 62s] [ INFO ]: 11:47:11 | --> Selected build type: vmx
[ 62s] [ INFO ]: 11:47:11 | --> Selected profiles: MS-HyperV
queryconfig can not select the profile. Do I have to register service apply_kiwi_profile or is it sufficient to install?
Thx in advance
Mario
--
My kiwi/obs is:
dracut-kiwi-lib-9.12.8-2.2.x86_64
dracut-kiwi-live-9.12.8-2.2.x86_64
dracut-kiwi-oem-dump-9.12.8-2.2.x86_64
dracut-kiwi-oem-repart-9.12.8-2.2.x86_64
kiwi-7.04.8-5.1.x86_64
kiwi-boot-requires-8.33.14-17.1.x86_64
kiwi-desc-isoboot-7.04.8-5.1.x86_64
kiwi-desc-oemboot-7.04.8-5.1.x86_64
kiwi-desc-vmxboot-7.04.8-5.1.x86_64
kiwi-man-pages-8.33.14-17.1.x86_64
kiwi-templates-7.04.8-5.1.x86_64
kiwi-tools-8.33.14-17.1.x86_64
obs-api-2.9.6-53.1.noarch
obs-common-2.9.6-53.1.noarch
obs-server-2.9.6-53.1.noarch
obs-service-appimage-0.10.9.1559745964.22c86cd-264.1.noarch
obs-service-apply_kiwi_profile-0.0-2.1.noarch
obs-service-download_files-0.6.2-83.1.noarch
obs-service-download_src_package-0.2-3.1.noarch
obs-service-download_url-0.1.1-21.2.noarch
obs-service-extract_file-0.3-19.1.noarch
obs-service-format_spec_file-20190411-233.1.noarch
obs-service-generator_driver_update_disk-0.2-2.1.noarch
obs-service-kiwi_import-0.1+git20171218.44852ec-2.1.noarch
obs-service-kiwi_label_helper-0.0-2.1.noarch
obs-service-kiwi_metainfo_helper-0.0-6.1.noarch
obs-service-obs_scm-0.10.9.1559745964.22c86cd-264.1.noarch
obs-service-obs_scm-common-0.10.9.1559745964.22c86cd-264.1.noarch
obs-service-recompress-0.3.1+git20170704.59bf231-31.1.noarch
obs-service-set_version-0.5.11-110.1.noarch
obs-service-snapcraft-0.10.9.1559745964.22c86cd-264.1.noarch
obs-service-source_validator-0.18-138.1.noarch
obs-service-tar-0.10.9.1559745964.22c86cd-264.1.noarch
obs-service-tar_scm-0.10.9.1559745964.22c86cd-264.1.noarch
obs-service-verify_file-0.1.1-35.1.noarch
obs-signd-2.4.2-1.6.x86_64
obs-utils-2.9.6-53.1.noarch
obs-worker-2.9.6-53.1.noarch
python2-kiwi-8.33.14-17.1.x86_64
python3-kiwi-8.33.14-17.1.x86_64
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org