commit:     bb218ff3cac70bbb74c1e4ef0befcac069d5ece4
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 21:46:36 2026 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 21:46:36 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=bb218ff3

Fix partition size to 10G

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

 targets/support/create-iso.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index aa07f58d..a36d0129 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -200,10 +200,11 @@ case ${clst_hostarch} in
                esac
 
                # Second argument will specify size in kilobytes
+               # for the moment we hardwire 10Gbyte
 #              if [[ ${2} =~ ^[0-9]+$ ]]; then
                        extrapart=${1%.*}-extra.img
                        rm -f "${extrapart}"
-                       dd if=/dev/zero of="${extrapart}" bs=1k count=10240
+                       dd if=/dev/zero of="${extrapart}" bs=1k count=10485760
                        # TODO: allow setting different fs type
                        mkfs.xfs "${extrapart}"
                        # 1=ESP, 2=HFS+, so 3 is first available partition

Reply via email to