Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: Matt Turner <mattst88@g.o>
Subject: [gentoo-catalyst] [PATCH 4/5] targets: Support isoroot checksum on more platforms
Date: Wed, 08 Apr 2020 03:28:20
Message-Id: 20200408032753.105267-4-mattst88@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 1/5] targets: Drop SHA512 isoroot verification support by Matt Turner
1 Signed-off-by: Matt Turner <mattst88@g.o>
2 ---
3 targets/support/create-iso.sh | 4 ++++
4 1 file changed, 4 insertions(+)
5
6 diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
7 index b32c669e..955fedd0 100755
8 --- a/targets/support/create-iso.sh
9 +++ b/targets/support/create-iso.sh
10 @@ -118,6 +118,8 @@ run_mkisofs() {
11 # Here we actually create the ISO images for each architecture
12 case ${clst_hostarch} in
13 alpha)
14 + isoroot_checksum
15 +
16 echo ">> xorriso -as genisofs -alpha-boot boot/bootlx -R -l -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o \"${1}\" \"${clst_target_path}\""
17 xorriso -as genisofs -alpha-boot boot/bootlx -R -l -J ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}" || die "Cannot make ISO image"
18 ;;
19 @@ -219,6 +221,8 @@ case ${clst_hostarch} in
20 esac
21 ;;
22 ppc*|powerpc*|sparc*)
23 + isoroot_checksum
24 +
25 case ${clst_hostarch} in
26 sparc*) extra_opts="--sparc-boot" ;;
27 esac
28 --
29 2.24.1