File README of Package obs-service-apply_kiwi_profile

obs-service-apply_kiwi_profile
==============================

This service can be enabled to run during buildtime, when it will edit the
build info to change the kiwi profile name which is going to be built.

It is especially useful with multibuild, as the BUILD_FLAVOR can be used
as (part of) the profile parameter to this service.

If you have a kiwi image description which has profiles "VBox", "KVM", "VMWare",
with VBox enabled by default, you can add a _multibuild file like this:

<multibuild>
	<package>KVM</package>
	<package>VMware</package>
</multibuild>

It's also possible to mention multiple profiles:

<service name="apply_kiwi_profiles">
	<param name="profile">KVM,VMware</param>
</service>

and it will build both profiles in the same package.

Note that as this service runs during buildtime, you need to make sure that the
default profile (which is all that OBS sees during dep. resolution) pulls in
all required dependencies for all profiles.

TODO
----

Also work with links instead of multibuild for more fine-grained control.

openSUSE Build Service is sponsored by