[Bug 412485] New: USB Stick Image Configuartion creation fails
https://bugzilla.novell.com/show_bug.cgi?id=412485 Summary: USB Stick Image Configuartion creation fails Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bmynars@gmail.com QAContact: jsrain@novell.com Found By: Other Synopsis: When creating a USB stick image using YaST2 feature, "Image Creator", the process fails with the following error message: "Jul-26 21:48:42 <1> : Switching off colored output Jul-26 21:48:42 <1> : Setting log file to: terminal Jul-26 21:48:42 <1> : Reading image description... done Jul-26 21:48:42 <2> : Description provides no MD5 hash, check skipped Jul-26 21:48:42 <1> : Checking for default baseroot in XML data... notset Jul-26 21:48:42 <1> : Setting up package manager: zypper done Jul-26 21:48:42 <1> : Creating default template files for new root system done Jul-26 21:48:43 <1> : Adding local zypper service: kiwi1-27403 failed Jul-26 21:48:43 <3> : Jul-26 21:48:43 <3> : Base initialization failed failed Jul-26 21:48:43 <3> : KIWI exited with error(s) done" Further down, I see following two lines: "sh: -c: line 0: unexpected EOF while looking for matching `'' sh: -c: line 1: syntax error: unexpected end of file" At this point the process stops. The only thing that is created is the directory place holder for the future USB stick image. How to reproduce: 1. Yast 2. Miscellaneous 3. Image Creator 4. Follow the prompts to select USB stick creation. Accept of all the defaults except for selecting your source for SuSE source. and later complete with Finish. The above error comes up all the time. Sources script in the "Image Configuration Script" window can be found in /usr/share/YaST2/data/product-creator/kiwi_templates/iso directory. It is provided by the distribution. -- 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=412485
User bmynars@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c1
Boleslaw Mynarski
https://bugzilla.novell.com/show_bug.cgi?id=412485
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=412485
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=412485
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=412485
User bmynars@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c3
--- Comment #3 from Boleslaw Mynarski
https://bugzilla.novell.com/show_bug.cgi?id=412485
User bmynars@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c4
--- Comment #4 from Boleslaw Mynarski
https://bugzilla.novell.com/show_bug.cgi?id=412485
User bmynars@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c5
Boleslaw Mynarski
https://bugzilla.novell.com/show_bug.cgi?id=412485
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c6
--- Comment #6 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=412485
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c7
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=412485
User bmynars@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c8
Boleslaw Mynarski
Created an attachment (id=231296) --> (https://bugzilla.novell.com/attachment.cgi?id=231296) [details] log file from 'kiwi --root /tmp/myphysical --prepare /home/jsuchome/logs/image-creator/USB/' run
Hi Jiri,
I am not sure that this is what you asked for but, running following generates
a syntax error and dumps a usage help screen (/tmp/usb directory exists on my
system):
kiwi --root /tmp/usb --prepare /var/lib/YaST2/product-creator/images/USB run
Linux KIWI setup (image builder) (2008-08-01)
Copyright (c) 2007 - SUSE LINUX Products GmbH
Usage:
kiwi -l | --list
kiwi -i | --list-profiles <image-path>
kiwi -x | --listxmlinfo <image-path> [--type <image-type>]
Image Preparation/Creation:
kiwi -p | --prepare <image-path>
[ --base-root <base-path> ]
[ --base-root-mode
https://bugzilla.novell.com/show_bug.cgi?id=412485
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c9
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=412485
User bmynars@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c10
--- Comment #10 from Boleslaw Mynarski
https://bugzilla.novell.com/show_bug.cgi?id=412485
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c11
--- Comment #11 from Jiří Suchomel
Removing other depots and point to the original source enables creating an image. However, I've been browsing through some documentation to see what to do next, without much success.
Once you have the files built, you should use kiwi --bootstick <initrd> --bootstick-system <systemImage> to save it to your USB stick. See also http://en.opensuse.org/Live_USB_stick: the page covers also the image creation, which you have already done with Image Creator. Marcus, see comment 7 for the required info. -- 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=412485
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c12
Marcus Schaefer
zypper --non-interactive --no-gpg-checks --root "/tmp/myphysical" service-add --type YaST 'cd:///?devices kiwi17-5450
But there is a value "cd:///?devices=/dev/sr0" for that source. Is it wrongly formatted in xml? Or does kiwi mangle the value on the way to zypper? Or aren't the CD/iso sources not supported at all?
kiwi passes the path value if it doesn't match any of the supported URL types. cd:// is not relevant for kiwi itself and so it appears as specified in config.xml BUT there is a function called KIWIURL::quote() this function checks the url path according to RFC 2396 Uniform Resource Identifiers. Maybe this check changes the URL in a way which leads to the error -- 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=412485
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412485#c13
Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com