On Samstag, 30. August 2014, 20:12:35 wrote Matwey V. Kornilov:
Is it possible to use kiwi build products as build-requirements for rpm
Not directly. But what you can do is providing a wrapper script,
which is using a hook at the end of the kiwi build and packages
the resulting files into an rpm.
That one can be used as any other rpm afterwards inside of OBS.
To create such a hook, you need to write a script and package
executable. When this file is installed during kiwi builds (eg.
via Support: $your_package line in prjconf), it is executed
at the end of the kiwi build.
The script needs to build the rpm, eg. via calling rpmbuild
and placing the result into $TOPDIR/OTHER/ directory.
($TOPDIR should be set in the environment)
You should create an own repository in your project
to build this and configure it in your prjconf like this:
%if "%_repository" == "images-rpm"
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org