From 3fec972a301db7246dd078776c2a2bfb3864c0dc Mon Sep 17 00:00:00 2001 From: hexdump Date: Thu, 9 Mar 2023 14:54:54 +0100 Subject: [PATCH] scripts: revert gpt partition info wipe as it breaks boot blocks this reverts commit 793423b50929fd9b66d7b19585fe1a4ecf276a63 as it seems to break some boot blocks already written before it - proven to be the case for the odroid_u3, but other systems might be affected as well --- scripts/create-image.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/create-image.sh b/scripts/create-image.sh index 128aa545..f30db9fc 100755 --- a/scripts/create-image.sh +++ b/scripts/create-image.sh @@ -166,10 +166,6 @@ if [ "${CROSPARTS}" = "true" ]; then else if [ -f ${DOWNLOAD_DIR}/boot-${1}-${2}.dd ]; then dd if=${DOWNLOAD_DIR}/boot-${1}-${2}.dd of=/dev/loop0 - # clear the partition table and reread it via partprobe in case the boot - # blocks provided contained a gpt partition table which might confuse later - sgdisk -Z /dev/loop0 - partprobe /dev/loop0 fi fi