Gentoo Archives: gentoo-catalyst

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-catalyst@l.g.o
Cc: Georgy Yakovlev <gyakovlev@g.o>
Subject: [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support
Date: Sun, 25 Jul 2021 23:51:25
Message-Id: 20210725235113.1256043-1-gyakovlev@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH] targets/support/create-iso.sh: use mkrescue on arm64 by Georgy Yakovlev
1 Signed-off-by: Georgy Yakovlev <gyakovlev@g.o>
2 ---
3 targets/support/create-iso.sh | 7 +++++--
4 1 file changed, 5 insertions(+), 2 deletions(-)
5
6 diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
7 index 70684f78..729f5c15 100755
8 --- a/targets/support/create-iso.sh
9 +++ b/targets/support/create-iso.sh
10 @@ -18,7 +18,7 @@ case ${clst_hostarch} in
11 cdmaker="grub-mkrescue"
12 cdmakerpkg="dev-libs/libisoburn and sys-boot/grub:2"
13 ;;
14 - amd64|ia64|x86)
15 + amd64|arm64|ia64|x86)
16 cdmaker="grub-mkrescue"
17 # grub-mkrescue requires:
18 # xorriso from libisoburn
19 @@ -52,6 +52,9 @@ then
20 arm)
21 clst_iso_volume_id="Gentoo Linux - ARM"
22 ;;
23 + arm64)
24 + clst_iso_volume_id="Gentoo Linux - ARM64"
25 + ;;
26 hppa)
27 clst_iso_volume_id="Gentoo Linux - HPPA"
28 ;;
29 @@ -188,7 +191,7 @@ case ${clst_hostarch} in
30 # o= output image (burnable to CD; readable by fdisk)
31 /usr/bin/sgibootcd c=${cfg} o=${clst_iso}
32 ;;
33 - amd64|ia64|ppc*|powerpc*|sparc*|x86)
34 + amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86)
35 isoroot_checksum
36
37 extra_opts=("-joliet")
38 --
39 2.32.0

Replies