[Bug 404460] New: add obs:/ location specifiers for repositories and kiwi configurations.
https://bugzilla.novell.com/show_bug.cgi?id=404460 Summary: add obs:/ location specifiers for repositories and kiwi configurations. Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: adrian@novell.com QAContact: adrian@novell.com Found By: --- We need the following support in kiwi to be able to support derived image configurations from one project into another one: <preferences> <type boot="obs:$dir1/$dir2"> should search in $somerootdir/images/$dir1/$dir2 and avoid /usr/share/kiwi directory. $somerootdir needs to be specified via kiwi command line. In addition to that we need to support also multiple repositories below a certain directory. It could look similar: <source path="obs://$dir1/$dir2> kiwi should look in $somerootdir/repos/$dir1/$dir2 in that case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404460 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|add obs:/ location specifiers for repositories |kiwi: add obs:/ location specifiers for repos |and kiwi configurations. |and kiwi configurations. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404460 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404460#c1 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |adrian@novell.com --- Comment #1 from Marcus Schaefer <ms@novell.com> 2008-06-30 03:27:06 MDT --- I have one question here. The directory with your image description (config.xml and others) is this the same directory you named as $somerootdir ? I'm asking this because if you want to build an image you need to specify the directory where your config.xml or *.kiwi lives along with the -p | --prepare option when calling kiwi. If this directory is always the same as $somerootdir we don't need an extra option to specify it. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404460 User adrian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404460#c2 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|adrian@novell.com | --- Comment #2 from Adrian Schröter <adrian@novell.com> 2008-06-30 04:14:49 MDT --- I think we can do so. I see at least no problem with it atm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404460 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404460#c3 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Marcus Schaefer <ms@novell.com> 2008-06-30 07:45:16 MDT --- ok, in this case you can use the already existing this:// url type. The this url type always points to your image description. So if for example the image description is in /tmp/myimage and you call kiwi with kiwi --prepare /tmp/myimage ... the this:// is resolved to "/tmp/myimage". The this:// url type doesn't exist for the boot=... attribute so I added support for this url type to the boot attribute too. According to this your config.xml could look like the following: <preferences> <type boot="this://images/$dir1/$dir2"> ... <repository> <source path="this://repos/$dir1/$dir2> ... I have checked in a patch to the v2.48 version of kiwi feel free to re-open if you have any objections -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404460 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404460#c4 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Marcus Schaefer <ms@novell.com> 2008-07-07 08:40:26 MDT --- ok, according to a call with Adrian we need the obs:// type because the auto generated XML doesn't know about the images/ and repos/ directory it knows only about the project names in $dir1 and $dir2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404460 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404460#c5 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #5 from Marcus Schaefer <ms@novell.com> 2008-07-07 11:02:35 MDT --- ok I have added support for the obs:// type now please give it a test with kiwi version v2.53 thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com