[opensuse-buildservice] KIWI build
I am trying to an OS image using KIWI in the build service. It had been working as of a month or so ago. Now it complains with: have choice for product_flavor (openSUSE) needed by openSUSE-release: followed by a number of packages that I guess are needed to run kiwi and whatever. I know what this generally means with dependencies in an RPM spec type of build. I do not know what to do about this in the context of KIWI. Is if that it wants to know if I want Leap 15.1, 15.2, or Tumbleweed? I am happy with either 15.1 or Tumbleweed. If this is what I need to be specifying, where do I do this? The docs about the web interface (https://en.opensuse.org/openSUSE:Build_Service_prjconf) didn't help me. Or at least I'm not sure what I need to be setting. That doc's reference to an advanced tab is odd as I do not see such a tab. I guess using the actual tab name might be better than using the name of what one might call what the tab contains. My project is https://build.opensuse.org/package/show/home:rogeroberholtzer:RSL/oem In the project top (https://build.opensuse.org/package/show/home:rogeroberholtzer:RSL) Meta, I have this: <repository name="images"> <path project="Virtualization:Appliances:Builder" repository="openSUSE_Leap_15.1"/> <path project="openSUSE:Leap:15.1" repository="standard"/> <arch>x86_64</arch> </repository> I thought that should select openSUSE Leap 15.1 Maybe that's not enough or the correct place? Or I'm simply confused... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Montag, 17. Februar 2020, 13:17:13 CET schrieb Roger Oberholtzer:
I am trying to an OS image using KIWI in the build service. It had been working as of a month or so ago. Now it complains with:
have choice for product_flavor (openSUSE) needed by openSUSE-release:
followed by a number of packages that I guess are needed to run kiwi and whatever. I know what this generally means with dependencies in an RPM spec type of build. I do not know what to do about this in the context of KIWI. Is if that it wants to know if I want Leap 15.1, 15.2, or Tumbleweed? I am happy with either 15.1 or Tumbleweed. If this is what I need to be specifying, where do I do this? The docs about the web interface (https://en.opensuse.org/openSUSE:Build_Service_prjconf) didn't help me. Or at least I'm not sure what I need to be setting. That doc's reference to an advanced tab is odd as I do not see such a tab. I guess using the actual tab name might be better than using the name of what one might call what the tab contains.
My project is https://build.opensuse.org/package/show/home:rogeroberholtzer:RSL/oem
In the project top (https://build.opensuse.org/package/show/home:rogeroberholtzer:RSL) Meta, I have this:
<repository name="images"> <path project="Virtualization:Appliances:Builder" repository="openSUSE_Leap_15.1"/> <path project="openSUSE:Leap:15.1" repository="standard"/> <arch>x86_64</arch> </repository>
I thought that should select openSUSE Leap 15.1
From a cursory look, my (local) project derives from yours in these areas:
<repository name="images"> <path project="Aux:Prj" repository="openSUSE_Leap_15.1"/> <path project="openSUSE:Leap:15.1:Images" repository="standard"/> <arch>x86_64</arch> </repository> and I don't two <preferences> sections (well, I use <profiles> to separate different sections): <preferences profiles="kvm"> </preferences> Cheers, Pete -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Montag, 17. Februar 2020, 17:55:22 CET schrieb Hans-Peter Jansen:
From a cursory look, my (local) project derives from yours in these areas: <repository name="images"> <path project="Aux:Prj" repository="openSUSE_Leap_15.1"/> <path project="openSUSE:Leap:15.1:Images" repository="standard"/> <arch>x86_64</arch> </repository>
and I don't two <preferences> sections (well, I use <profiles> ^ use
to separate different sections):
<preferences profiles="kvm"> </preferences>
Cheers, Pete
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, Feb 17, 2020 at 6:01 PM Hans-Peter Jansen
Am Montag, 17. Februar 2020, 17:55:22 CET schrieb Hans-Peter Jansen:
From a cursory look, my (local) project derives from yours in these areas: <repository name="images"> <path project="Aux:Prj" repository="openSUSE_Leap_15.1"/> <path project="openSUSE:Leap:15.1:Images" repository="standard"/> <arch>x86_64</arch> </repository>
<preferences profiles="kvm"> </preferences>
I made the changes above. It did not make a difference. It's hard to say who is really complaining. The error is shown immediately. I don't think it's kiwi itself as it seems it has not even had a chance to start- -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Dienstag, 18. Februar 2020, 11:40:16 CET schrieb Roger Oberholtzer:
On Mon, Feb 17, 2020 at 6:01 PM Hans-Peter Jansen
wrote: Am Montag, 17. Februar 2020, 17:55:22 CET schrieb Hans-Peter Jansen:
From a cursory look, my (local) project derives from yours in these areas: <repository name="images">
<path project="Aux:Prj" repository="openSUSE_Leap_15.1"/> <path project="openSUSE:Leap:15.1:Images" repository="standard"/> <arch>x86_64</arch>
</repository>
<preferences profiles="kvm"> </preferences>
I made the changes above. It did not make a difference.
It's hard to say who is really complaining. The error is shown immediately.
I think, you need to combine the two preferences, and you need to define the profiles, if you want to use them: <profiles> <profile name="kvm" description="KVM" arch="x86_64"/> <profile name="VMware" description="VMware" arch="x86_64"/> <profile name="HyperV" description="Hyper-V" arch="x86_64"/> </profiles> but then, you need to add a _multibuild as well: <multibuild> <flavor>kvm</flavor> <flavor>VMware</flavor> <flavor>HyperV</flavor> </multibuild>
I don't think it's kiwi itself as it seems it has not even had a chance to start-
Guess, you need to make a choice, Robert: %if "%_repository" == "images" Type: kiwi Repotype: none Patterntype: none Prefer: openSUSE-release-appliance-custom %endif The build fails later on, but it starts at least: https://build.opensuse.org/package/live_build_log/ home:frispete:branches:home:rogeroberholtzer:RSL/oem/images/x86_64 Cheers, Pete -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Feb 18, 2020 at 12:47 PM Hans-Peter Jansen
%if "%_repository" == "images" Type: kiwi Repotype: none Patterntype: none
Prefer: openSUSE-release-appliance-custom
%endif
I think that the problem was the Prefer: statement. This is perhaps a new thing, as it worked without it a month or so ago. I also limited the build to the ISO image, as that is all I really need. The others were to help in testing. Maybe I will add the multi-build stuff some day. Anyway, I can now get the build running. Now it is just to make KIWI happy. - Thanks all! -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Hans-Peter Jansen
-
Roger Oberholtzer