File kiwi-add-chromebook-support.patch of Package kiwi

--- kiwi/modules/KIWIBoot.pm	2013-01-14 14:22:34.000000000 +0100
+++ kiwi/modules/KIWIBoot.pm	2013-01-19 16:19:47.075449617 +0100
@@ -1952,7 +1952,7 @@
 	#==========================================
 	# check for jump partition
 	#------------------------------------------
-	if ($firmware eq "efi") {
+	if (1) {
 		$this->{jumpsize} = 5;
 		$this -> __updateDiskSize ($this->{jumpsize});
 		$needJumpP = 1;
@@ -4681,7 +4681,7 @@
 			$kiwi -> failed ();
 			return;
 		}
-		qxx ("rm -f $inputf 2>&1");
+#		qxx ("rm -f $inputf 2>&1");
 		$kiwi -> done();
 		#==========================================
 		# Create boot.script
@@ -5457,7 +5457,7 @@
 	if ($firmware eq "efi") {
 		$status = qxx ("$parted_exec -s $disk mklabel gpt 2>&1");
 	} else {
-		$status = qxx ("$parted_exec -s $disk mklabel msdos 2>&1");
+		$status = qxx ("$parted_exec -s $disk mklabel gpt 2>&1");
 	}
 	$result = $? >> 8;
 	if ($result != 0) {
@@ -5478,7 +5478,7 @@
 	if ($firmware eq "efi") {
 		$status -= 128;
 	} else {
-		$status --;
+		$status -= 128;
 	}
 	$this->{pDiskSectors} = $status;
 	$kiwi -> loginfo (
openSUSE Build Service is sponsored by