[Bug 897497] New: kiwi: EFI boot removes EFI partition rather than root partition on lxroot resize
https://bugzilla.novell.com/show_bug.cgi?id=897497 https://bugzilla.novell.com/show_bug.cgi?id=897497#c0 Summary: kiwi: EFI boot removes EFI partition rather than root partition on lxroot resize Classification: openSUSE Product: openSUSE Factory Version: 201409* Platform: aarch64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: ms@suse.com ReportedBy: agraf@suse.com QAContact: ms@suse.com Found By: --- Blocker: --- When kiwi tries to resize its lxroot partition, it always assumes we're looking at partition 1 when we don't have a boot partition. However, this is wrong. In the EFI case, partition 1 is the EFI partition and partition 2 is our root partition, all without any boot partition. I don't quite understand why we're not just always using the RootPart parameter that the generation passed into us, but we should definitely trust it rather than a random 1 when it exists. diff --git a/system/boot/armv7l/oemboot/suse-repart b/system/boot/armv7l/oemboot/suse-repart index 86f03c0..a4045d8 100755 --- a/system/boot/armv7l/oemboot/suse-repart +++ b/system/boot/armv7l/oemboot/suse-repart @@ -165,7 +165,7 @@ function OEMRepartStandard { #====================================== # clean/backup boot partition #-------------------------------------- - if [ "$haveBootPartition" = "yes" ];then + if [ "$kiwi_RootPart" ];then pID=$kiwi_RootPart rootParam=$pID fi -- 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=897497
https://bugzilla.novell.com/show_bug.cgi?id=897497#c1
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=897497
https://bugzilla.novell.com/show_bug.cgi?id=897497#c2
Alexander Graf
https://bugzilla.novell.com/show_bug.cgi?id=897497
https://bugzilla.novell.com/show_bug.cgi?id=897497#c3
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=897497
https://bugzilla.novell.com/show_bug.cgi?id=897497#c4
Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com