commit: 9a6437ff3d824fc630323531e8724f0f6fb7db6c
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 15 13:37:38 2026 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Feb 15 13:37:38 2026 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9a6437ff
Prepare for loong and riscv ISO files
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
targets/support/create-iso.sh | 10 ++++++++--
targets/support/iso-bootloader-setup.sh | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index c0e682f4..95a4f60b 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -18,7 +18,7 @@ case ${clst_hostarch} in
cdmaker="grub-mkrescue"
cdmakerpkg="dev-libs/libisoburn and sys-boot/grub:2"
;;
- amd64|arm64|ia64|x86|i?86)
+ amd64|arm64|ia64|loong*|riscv*|x86|i?86)
cdmaker="grub-mkrescue"
# grub-mkrescue requires:
# xorriso from libisoburn
@@ -61,6 +61,9 @@ then
ia64)
clst_iso_volume_id="Gentoo Linux - IA64"
;;
+ loong*)
+ clst_iso_volume_id="Gentoo Linux -
LoongArch"
+ ;;
m68k)
clst_iso_volume_id="Gentoo Linux - M68K"
;;
@@ -70,6 +73,9 @@ then
ppc*|powerpc*)
clst_iso_volume_id="Gentoo Linux -
PowerPC"
;;
+ riscv*)
+ clst_iso_volume_id="Gentoo Linux -
RISC-V"
+ ;;
s390)
clst_iso_volume_id="Gentoo Linux - S390"
;;
@@ -191,7 +197,7 @@ case ${clst_hostarch} in
# o= output image (burnable to CD; readable by fdisk)
/usr/bin/sgibootcd c=${cfg} o=${clst_iso}
;;
- amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86|i?86)
+ amd64|arm64|ia64|loong*|ppc*|powerpc*|riscv*|sparc*|x86|i?86)
isoroot_checksum
extra_opts=("-joliet" "-iso-level" "3")
diff --git a/targets/support/iso-bootloader-setup.sh
b/targets/support/iso-bootloader-setup.sh
index 3b32d583..70e9afd6 100755
--- a/targets/support/iso-bootloader-setup.sh
+++ b/targets/support/iso-bootloader-setup.sh
@@ -105,7 +105,7 @@ case ${clst_hostarch} in
echo "--recoverykernel=boot/${x}" >> ${icfg}
done
;;
- amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86|i?86)
+ amd64|arm64|ia64|loong*|ppc*|powerpc*|riscv*|sparc*|x86|i?86)
kern_subdir=/boot
iacfg=$1/boot/grub/grub.cfg
mkdir -p $1/boot/grub