On Mittwoch, 15. Januar 2014, 15:43:10 wrote Roger Oberholtzer:
I am trying to build an oS image in OBS using kiwi. I have looked at a few other projects doing this, but cannot quite seem to get it to work. When the package builds, I get the following as unresolvable:
have choice for plymouth-branding needed by plymouth: plymouth-branding- basedonopensuse plymouth-branding-openSUSE, have choice for sbin_init needed by mkinitrd: systemd-mini-sysvinit systemd- sysvinit, have choice for systemd-presets-branding needed by systemd: systemd-presets- branding-openSUSE systemd-presets-branding-basedonopensuse
If I understand correctly from the docs, I need to tell which package to choose. In my Project Config, I have the following, which seems to me to be telling which to use:
Prefer: openSUSE-release openSUSE-release-ftp plymouth-branding- basedonopensuse Prefer: -build-mkbaselibs-sle Prefer: -systemd-presets-branding-openSUSE Prefer: -libqt4-sql-32bit -libqt4-sql-x86 -libassuan0-32bit Prefer: systemd-sysvinit Prefer: systemd Prefer: -systemd-mini -systemd-mini-devel -systemd-mini-sysvinit
Is this how it should be done?
Your prefers may be correct, but have no effect with your current configuration. The reason is that for kiwi builds the dependencies needs to be resolved twice. One time for the system which is used to execute kiwi. And another time for the system which will be installed by kiwi. The later one is specified by the repositories of the .kiwi file. But since there is no repository inside which is using your project, these prjconf rules are not used. So, best might be to add a standard openSUSE 13.1 repository to your project and use that one in your kiwi file as well. It does not matter that there are no rpms inside, but it will take the prjconf from your project into account then. -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org