[opensuse-buildservice] kiwi-inside-obs - open issues !
Hi all! I have a modified version of obs (r5507) working with kiwi imaging inside obs. Today I updated to svn trunk. Now i see these errors: - imaging (kiwi-image) expansion errors: nothing provides kiwi-filesystem:ext2 nothing provides kiwi-packagemanager:zypper IIRC _no_ packages provide this dependencies and this is _not_ transparent for imaging of different distros. Whats the plan here ? Could someone please also give some feedback on: http://en.opensuse.org/Build_Service/Concepts/CrossDevelopment/Preinclude Best regards, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mittwoch 17 Dezember 2008 17:28:14 Jan-Simon Möller wrote:
Hi all!
I have a modified version of obs (r5507) working with kiwi imaging inside obs. Today I updated to svn trunk. Now i see these errors:
- imaging (kiwi-image) expansion errors: nothing provides kiwi-filesystem:ext2 nothing provides kiwi-packagemanager:zypper
IIRC _no_ packages provide this dependencies and this is _not_ transparent for imaging of different distros. Whats the plan here ?
The current plan is that you need to define it as Substitute in your project config. The reason behind this is to support it for the different distros, you can make different definitions for the base distros. And that without touching kiwi or OBS code.
Could someone please also give some feedback on: http://en.opensuse.org/Build_Service/Concepts/CrossDevelopment/Preinclude
Best regards, Jan-Simon
-- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Wednesday 07 January 2009 13:25:37 schrieben Sie:
On Mittwoch 17 Dezember 2008 17:28:14 Jan-Simon Möller wrote:
Hi all!
I have a modified version of obs (r5507) working with kiwi imaging inside obs. Today I updated to svn trunk. Now i see these errors:
- imaging (kiwi-image) expansion errors: nothing provides kiwi-filesystem:ext2 nothing provides kiwi-packagemanager:zypper
ok - what about a naming which makes this clear ? e.g. substitute-me-kiwi-filesystem ? So I should do Substitute: kiwi-filesystem:ext2 e2fsprogs ??
IIRC _no_ packages provide this dependencies and this is _not_ transparent for imaging of different distros. Whats the plan here ?
The current plan is that you need to define it as Substitute in your project config.
The reason behind this is to support it for the different distros, you can make different definitions for the base distros. And that without touching kiwi or OBS code. But i still need to have the kiwi stack build _inside_ that different distro. Right ? Let me make an example: I've created a mini-distro without zypper and kiwi. Before the move "inside" obs using the host's kiwi, it was no problem, as zypper an kiwi were provided. Now i've to build zypper and kiwi for the mini-distro to get it work.
If we'd make that independent it would also be easier to roll updates to kiwi for imaging, as kiwi has its own environment. This is especially true if we want to image non-x86 architectures with kiwi !
Could someone please also give some feedback on: http://en.opensuse.org/Build_Service/Concepts/CrossDevelopment/Preinclude
Best regards, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Jan-Simon Möller schrieb:
So I should do Substitute: kiwi-filesystem:ext2 e2fsprogs ??
I installed the latest svn version. Does this work for you? I added the following to my project # osc meta prjconf SLES10:SP2:LiveCD -e Added these lines: %if "%_repository" == "image" Type: kiwi Substitute: kiwi-packagemanager:smart smart %else Type: spec %endif My error message on SLES10 is still: expansion error: nothing provides kiwi-packagemanager:smart Any ideas? Ulf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 12. Januar 2009 15:48:11 schrieb Ulf:
My error message on SLES10 is still: expansion error: nothing provides kiwi-packagemanager:smart
Any ideas? Ulf
Hi Ulf! You've to substitute these: look at osc meta prjconf openSUSE:Tools : %if "%_repository" == "images" Type: kiwi Repotype: none Patterntype: none %endif Prefer: openSUSE-release openSUSE-release-ftp Substitute: kiwi-filesystem:ext3 e2fsprogs procps psmisc reiserfs Substitute: kiwi-boot:netboot kiwi-desc-netboot kiwi-desc-xenboot ncurses-utils cromfs curl dhcpcd iputils nbd net-tools netcfg nfs-client parted grub mdadm Substitute: kiwi-packagemanager:zypper zypper Substitute: kiwi-packagemanager:smart smart Best, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Jan-Simon, I used the conf file from openSUSE:Tools, still the same problem. To check the substitute I created a sample spec file with BuildRequires: kiwi-packagemanager:smart Started the build process on my local SLES10 OBS (1.6.0.6005S), the log file shows: < BuildRequires: kiwi-packagemanager:smart ---
BuildRequires: smart
The normal substitute for spec files work, but not for kiwi files, there seems to be a difference somewhere. Any idea how I can get closer to the problem? Regards, Ulf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mittwoch 14 Januar 2009 12:00:14 Ulf wrote:
Hi Jan-Simon,
I used the conf file from openSUSE:Tools, still the same problem. To check the substitute I created a sample spec file with BuildRequires: kiwi-packagemanager:smart Started the build process on my local SLES10 OBS (1.6.0.6005S), the log file shows: < BuildRequires: kiwi-packagemanager:smart ---
BuildRequires: smart
The normal substitute for spec files work, but not for kiwi files, there seems to be a difference somewhere. Any idea how I can get closer to the problem?
You might have not your own project as repo source in the kiwi config ? Only the project configs from the projects you have listed inside are used. However, I will add these Substitutes to our base distro configs (at least for 11.1 and Factory) when I have really working settings. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Jan-Simon Möller
-
Ulf