Mailinglist Archive: opensuse-buildservice (269 mails)

< Previous Next >
Re: [opensuse-buildservice] kiwi inside obs
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Thu, 11 Sep 2008 09:22:50 +0200
  • Message-id: <200809110922.50295.dl9pf@xxxxxx>
Am Donnerstag 11 September 2008 08:31:54 schrieb Adrian Schröter:

You need to upload it as something.kiwi
Funtastic ;)

You need to specify all used repos via "obs://project/repositoy" URLs.
So
<repository type="rpm-md">
<source path="http://192.168.10.247/lire/base_toolchain/"/>
</repository>

gets
<repository type="rpm-md">
<source path="obs://lire/base_toolchain/"/>
</repository>

# not sure about "rpm-md" ...

It is also needed to change the build type in the project config. Add
something like:

%if "%_repository" == "images"
Type: kiwi
%else
Type: spec
%endif

This will build kiwi images for the "images" repository (and nothing else)
and
rpm builds for all other repos in that project (and no kiwi builds).

* how is the root-folder (tree to copy over the
image) implemented ? tar.gz ?

yes, just tar it as "root.tar.gz" and place it besied.

Use case: our users won't have root-access to run kiwi from cmdline, so i
need to find a nice solution.

Currently, the kiwi implementation is unsecure, because it does not run
within
XEN. So an evil hacker might get root permission on your build systems ...
Known. But better than requiring "root" for kiwi build or a custom hacked
"service".

You can limit kiwi builds by specifing the projects which are allowed to
build
kiwi in BSConfig.pm currently.


Thanks a log !


Best regards,
Jan-Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups