public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH] targets/support/create-iso.sh: use mkrescue on arm64
@ 2021-07-25  5:16 Georgy Yakovlev
  2021-07-25 23:51 ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support Georgy Yakovlev
  0 siblings, 1 reply; 5+ messages in thread
From: Georgy Yakovlev @ 2021-07-25  5:16 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Georgy Yakovlev

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
---
 targets/support/create-iso.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index 70684f78..88d9870f 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|ia64|x86)
+	amd64|arm64|ia64|x86)
 		cdmaker="grub-mkrescue"
 		# grub-mkrescue requires:
 		#  xorriso from libisoburn
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support
  2021-07-25  5:16 [gentoo-catalyst] [PATCH] targets/support/create-iso.sh: use mkrescue on arm64 Georgy Yakovlev
@ 2021-07-25 23:51 ` Georgy Yakovlev
  2021-07-25 23:51   ` [gentoo-catalyst] [PATCH 2/2] targets/support/create-iso.sh: use app-cdr/cdrtools instead of virtual Georgy Yakovlev
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Georgy Yakovlev @ 2021-07-25 23:51 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Georgy Yakovlev

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
---
 targets/support/create-iso.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index 70684f78..729f5c15 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|ia64|x86)
+	amd64|arm64|ia64|x86)
 		cdmaker="grub-mkrescue"
 		# grub-mkrescue requires:
 		#  xorriso from libisoburn
@@ -52,6 +52,9 @@ then
 				arm)
 					clst_iso_volume_id="Gentoo Linux - ARM"
 				;;
+				arm64)
+					clst_iso_volume_id="Gentoo Linux - ARM64"
+				;;
 				hppa)
 					clst_iso_volume_id="Gentoo Linux - HPPA"
 				;;
@@ -188,7 +191,7 @@ case ${clst_hostarch} in
 		# o=	output image (burnable to CD; readable by fdisk)
 		/usr/bin/sgibootcd c=${cfg} o=${clst_iso}
 	;;
-	amd64|ia64|ppc*|powerpc*|sparc*|x86)
+	amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86)
 		isoroot_checksum
 
 		extra_opts=("-joliet")
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-catalyst] [PATCH 2/2] targets/support/create-iso.sh: use app-cdr/cdrtools instead of virtual
  2021-07-25 23:51 ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support Georgy Yakovlev
@ 2021-07-25 23:51   ` Georgy Yakovlev
  2021-07-26  2:27   ` [gentoo-catalyst] [PATCH] targets/support/bootloader-setup.sh: add arm64 support Georgy Yakovlev
  2021-07-26  5:14   ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: " Matt Turner
  2 siblings, 0 replies; 5+ messages in thread
From: Georgy Yakovlev @ 2021-07-25 23:51 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Georgy Yakovlev

virtual no longer exist

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
---
 targets/support/create-iso.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index 729f5c15..5269b77e 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -24,11 +24,11 @@ case ${clst_hostarch} in
 		#  xorriso from libisoburn
 		#  mkisofs from cdrtools
 		#  mformat from mtools
-		cdmakerpkg="sys-fs/mtools, dev-libs/libisoburn, sys-boot/grub:2, and virtual/cdrtools"
+		cdmakerpkg="sys-fs/mtools, dev-libs/libisoburn, sys-boot/grub:2, and app-cdr/cdrtools"
 		;;
 	*)
 		cdmaker="mkisofs"
-		cdmakerpkg="virtual/cdrtools"
+		cdmakerpkg="app-cdr/cdrtools"
 		;;
 esac
 
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-catalyst] [PATCH] targets/support/bootloader-setup.sh: add arm64 support
  2021-07-25 23:51 ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support Georgy Yakovlev
  2021-07-25 23:51   ` [gentoo-catalyst] [PATCH 2/2] targets/support/create-iso.sh: use app-cdr/cdrtools instead of virtual Georgy Yakovlev
@ 2021-07-26  2:27   ` Georgy Yakovlev
  2021-07-26  5:14   ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: " Matt Turner
  2 siblings, 0 replies; 5+ messages in thread
From: Georgy Yakovlev @ 2021-07-26  2:27 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Georgy Yakovlev

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
---
 targets/support/bootloader-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
index ea18f736..4cfa61eb 100755
--- a/targets/support/bootloader-setup.sh
+++ b/targets/support/bootloader-setup.sh
@@ -87,7 +87,7 @@ case ${clst_hostarch} in
 			echo "--recoverykernel=boot/${x}" >> ${icfg}
 		done
 	;;
-	amd64|ia64|ppc*|powerpc*|sparc*|x86)
+	amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86)
 		kern_subdir=/boot
 		iacfg=$1/boot/grub/grub.cfg
 		mkdir -p $1/boot/grub
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support
  2021-07-25 23:51 ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support Georgy Yakovlev
  2021-07-25 23:51   ` [gentoo-catalyst] [PATCH 2/2] targets/support/create-iso.sh: use app-cdr/cdrtools instead of virtual Georgy Yakovlev
  2021-07-26  2:27   ` [gentoo-catalyst] [PATCH] targets/support/bootloader-setup.sh: add arm64 support Georgy Yakovlev
@ 2021-07-26  5:14   ` Matt Turner
  2 siblings, 0 replies; 5+ messages in thread
From: Matt Turner @ 2021-07-26  5:14 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Georgy Yakovlev

On Sun, Jul 25, 2021 at 4:51 PM Georgy Yakovlev <gyakovlev@gentoo.org> wrote:
>
> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
> ---
>  targets/support/create-iso.sh | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
> index 70684f78..729f5c15 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|ia64|x86)
> +       amd64|arm64|ia64|x86)
>                 cdmaker="grub-mkrescue"
>                 # grub-mkrescue requires:
>                 #  xorriso from libisoburn
> @@ -52,6 +52,9 @@ then
>                                 arm)
>                                         clst_iso_volume_id="Gentoo Linux - ARM"
>                                 ;;
> +                               arm64)
> +                                       clst_iso_volume_id="Gentoo Linux - ARM64"
> +                               ;;
>                                 hppa)
>                                         clst_iso_volume_id="Gentoo Linux - HPPA"
>                                 ;;
> @@ -188,7 +191,7 @@ case ${clst_hostarch} in
>                 # o=    output image (burnable to CD; readable by fdisk)
>                 /usr/bin/sgibootcd c=${cfg} o=${clst_iso}
>         ;;
> -       amd64|ia64|ppc*|powerpc*|sparc*|x86)
> +       amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86)
>                 isoroot_checksum
>
>                 extra_opts=("-joliet")
> --
> 2.32.0

Looks good. I'd just squash "[PATCH]
targets/support/bootloader-setup.sh: add arm64 support" into this one
and change the commit prefix to "targets: ".


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-26  5:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-25  5:16 [gentoo-catalyst] [PATCH] targets/support/create-iso.sh: use mkrescue on arm64 Georgy Yakovlev
2021-07-25 23:51 ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: add arm64 support Georgy Yakovlev
2021-07-25 23:51   ` [gentoo-catalyst] [PATCH 2/2] targets/support/create-iso.sh: use app-cdr/cdrtools instead of virtual Georgy Yakovlev
2021-07-26  2:27   ` [gentoo-catalyst] [PATCH] targets/support/bootloader-setup.sh: add arm64 support Georgy Yakovlev
2021-07-26  5:14   ` [gentoo-catalyst] [PATCH 1/2] targets/support/create-iso.sh: " Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox