https://bugzilla.novell.com/show_bug.cgi?id=716718
https://bugzilla.novell.com/show_bug.cgi?id=716718#c4
--- Comment #4 from praveen paladugu 2011-09-09 17:43:31 UTC ---
This version of parted works.
I had to add the following fix to get the build going:
diff -up kiwi/modules/KIWIBoot.pm.old kiwi/modules/KIWIBoot.pm
--- kiwi/modules/KIWIBoot.pm.old 2011-09-09 12:11:58.836264636 -0500
+++ kiwi/modules/KIWIBoot.pm 2011-09-09 12:12:17.418032332 -0500
@@ -5270,7 +5270,7 @@ sub __getPartID {
my $fd = new FileHandle;
if ($fd -> open ("parted -m $disk print | cut -f1,7 -d:|")) {
while (my $line = <$fd>) {
- if ($line =~ /^(\d):$flag/) {
+ if ($line =~ /^(\d):[ ,]*$flag/) {
return $1;
}
}
With the value of line = "2:, , , , , lvm, , , , type=8e, , ;" the pattern
missed out the spaces and commas, while searching a partition with "lvm" flag.
No other fixes to kiwi are necessary. Also it would be better to push the type
patch upstream, so that other distributions can pick it up eventually.
--
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.