From f606888533e8b5f92770f318367f63ad0c0f7cd3 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Mon, 12 Jun 2023 23:20:07 +1000 Subject: [PATCH] Allow either gpt or dos partitioning of bootimage --- mkit.sh | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/mkit.sh b/mkit.sh index 3d9d62e..e8dc657 100755 --- a/mkit.sh +++ b/mkit.sh @@ -14,6 +14,7 @@ REPO="deb.devuan.org/merged" SUITE="daedalus" SECTION="main" ARCH="amd64" +MBR=gpt # or dos PKGFILE=${REPO//\//_}_${SUITE}_${SECTION}_binary-${ARCH}_Packages if [ ! -r $PKGFILE ] ; then @@ -153,8 +154,10 @@ echo "# Now pack up that initrd as initrd.gz" rm -f bootimage.raw dd if=/dev/zero of=bootimage.raw bs=32M count=1 -# Prepare a dos partition table with a first partition marked as EFI +# Prepare a gpt/dos partition table with a first partition marked as EFI sfdisk bootimage.raw <