From 0c4ebf657e60ecfc28dc5fd4fdc20dba16d4193e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Thu, 18 May 2017 14:42:14 +0200 Subject: [PATCH] Map partition ID's from sgdisk to lowercase --- kiwi/boot/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiwi/boot/functions.sh b/kiwi/boot/functions.sh index 1856d8b8..3490551c 100644 --- a/kiwi/boot/functions.sh +++ b/kiwi/boot/functions.sh @@ -4498,7 +4498,8 @@ function partedGetPartitionID { local name=$(parted -m -s $1 print | grep ^$2: | cut -f6 -d:) if lookup sgdisk &>/dev/null;then # map to short gdisk code - echo $(sgdisk -p $1 | grep -E "^ $2") | cut -f6 -d ' ' | cut -c-2 + echo $(sgdisk -p $1 | grep -E "^ $2") |\ + cut -f6 -d ' ' | cut -c-2 | tr [:upper:] [:lower:] elif [ "$name" = "lxroot" ];then # map lxroot to MBR type 83 (linux) echo 83