https://bugzilla.novell.com/show_bug.cgi?id=854378
https://bugzilla.novell.com/show_bug.cgi?id=854378#c2
Jigish Gohil changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ms@suse.com
--- Comment #2 from Jigish Gohil 2013-12-19 05:23:07 UTC ---
I didn't know of any way of getting the real image size from squashfs image
used by live systems, here is the fix I used for openSUSE Edu Li-f-e media:
Hard coding the size, we get this after running
kiwi -y -p ./ -r /live-13.1
total_mb = du -s /live-13.1 divided by 1024 (10800 for Li-f-e)(yes it is very
big)
Make the changes according to the patch below
then kiwi -c is run
This whole process can be automated in kiwi if yast cannot figure out of
getting the size.
--- usr/share/YaST2/modules/ImageInstallation.rb.orig 2013-12-13
12:33:51.210083344 +0530
+++ usr/share/YaST2/modules/ImageInstallation.rb 2013-12-14
12:17:00.410625875 +0530
@@ -1029,7 +1029,8 @@
# y2milestone ("Output: %1", out);
# string total_str = out["stdout"]:"";
# integer total_mb = tointeger (total_str);
- total_mb = 1024 if total_mb == 0 # should be big enough
+ # total_mb = 1024 if total_mb == 0 # should be big enough
+ total_mb = 10800
tmp_pipe1 = Ops.add(
Convert.to_string(SCR.Read(path(".target.tmpdir"))),
--
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.