commit:     3e2dab32f332e4685dfe7fd935199f20ad020fa6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  2 11:10:01 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Aug  2 11:10:01 2025 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3e2dab32

Revert "Try to force parted to make the qcow2 root partition"

Doesn't work yet.
This reverts commit 30230600e89cceb64fc4815cbc8304b64602f036.

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 targets/support/create-qcow2.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/create-qcow2.sh b/targets/support/create-qcow2.sh
index 9a2ff1fc..96c15345 100755
--- a/targets/support/create-qcow2.sh
+++ b/targets/support/create-qcow2.sh
@@ -168,7 +168,7 @@ if [[ "${clst_qcow2_enable_efi}" == "1" ]] ; then
 fi
 
 echo "Creating the root partition, number ${mynextpart}, start ${mynextsector}"
-parted -s -f ${mydevice} -- mkpart gentooroot ${clst_qcow2_roottype} 
${mynextsector}s -1MiB || qcow2die "Cannot create root partition"
+parted -s ${mydevice} -- mkpart gentooroot ${clst_qcow2_roottype} 
${mynextsector}s -1s || qcow2die "Cannot create root partition"
 # mark it as generic linux filesystem partition
 parted -s ${mydevice} -- type ${mynextpart} 
0FC63DAF-8483-4772-8E79-3D69D8477DE4 || qcow2die "Cannot set root partition 
UUID"
 # note down name

Reply via email to