[Bug 690554] New: Wrong default type used
https://bugzilla.novell.com/show_bug.cgi?id=690554 https://bugzilla.novell.com/show_bug.cgi?id=690554#c0 Summary: Wrong default type used Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: nadvornik@novell.com QAContact: adrian@novell.com CC: postadal@novell.com Found By: Development Blocker: --- Kiwi documentation says ================== By default, the types specifying the primary attribute will be used. If there is no primary attribute set, the _first_ type section of the preferences section is the primary type. ================== The config.xml contains this: ================== <type boot="/usr/share/kiwi/image/SLEPOS/netboot-3" filesystem="ext3" compressed="true">pxe</type> <type boot="/usr/share/kiwi/image/SLEPOS/isoboot-3">iso</type> <type boot="/usr/share/kiwi/image/SLEPOS/usbboot-3" filesystem="ext3">usb</type> =================== When it is built without -t option, it builds iso, which is the _second_ type. Tested with kiwi from ctso project, the complete image description is here: http://sleposlab.suse.cz/openBravoPOS/graphical-default/ -- 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=690554 https://bugzilla.novell.com/show_bug.cgi?id=690554#c1 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nadvornik@novell.com --- Comment #1 from Marcus Schaefer <ms@novell.com> 2011-04-28 14:38:19 UTC --- maybe the xslt re-ordered the types. I suggest to call xsltproc /usr/share/kiwi/xsl/master.xsl your-config.xml and use the result as input. How are the types set in that XML representation ? according to the code I also think that the last one is the used one (so the docs might be wrong here) could you check that 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=690554 https://bugzilla.novell.com/show_bug.cgi?id=690554#c Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wrong default type used |kiwi: wrong default type | |used -- 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=690554 https://bugzilla.novell.com/show_bug.cgi?id=690554#c Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kiwi: wrong default type |kiwi: wrong default image |used |type used -- 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=690554 https://bugzilla.novell.com/show_bug.cgi?id=690554#c2 Vladimir Nadvornik <nadvornik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nadvornik@novell.com | --- Comment #2 from Vladimir Nadvornik <nadvornik@novell.com> 2011-04-29 08:23:01 UTC --- The converted config looks like this: <type image="pxe" boot="/usr/share/kiwi/image/SLEPOS/netboot-3" filesystem="ext3" compressed="true"> <size unit="M" additive="true">40</size> </type> <type image="iso" boot="/usr/share/kiwi/image/SLEPOS/isoboot-3"> <size unit="M" additive="true">40</size> </type> The iso type is really the last one. Kiwi 3.74 uses the first one, so the docs are correct there and this is another regression. I am not yet sure what impact it has on slepos customers. -- 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=690554 https://bugzilla.novell.com/show_bug.cgi?id=690554#c3 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Marcus Schaefer <ms@novell.com> 2011-05-02 08:33:46 UTC --- Thanks, I have fixed the code so that it really selects the first entry in the reported 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.
participants (1)
-
bugzilla_noreply@novell.com