Gentoo Archives: gentoo-catalyst

From: "Raúl Porcel" <armin76@g.o>
To: gentoo-catalyst@l.g.o
Cc: "Raúl Porcel" <armin76@g.o>
Subject: [gentoo-catalyst] [PATCH] modify alpha to use genisoimage
Date: Wed, 03 Dec 2014 09:33:39
Message-Id: 1417599201-17112-1-git-send-email-armin76@gentoo.org
1 alpha needs to use app-cdr/cdrkit's genisoimage with an alpha-specific
2 option which mkisofs from app-cdr/cdrtools doesn't have
3 ---
4 targets/support/create-iso.sh | 8 +++++---
5 1 file changed, 5 insertions(+), 3 deletions(-)
6
7 diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
8 index bf81cba..2f6bdfd 100755
9 --- a/targets/support/create-iso.sh
10 +++ b/targets/support/create-iso.sh
11 @@ -7,6 +7,9 @@ source ${clst_sharedir}/targets/support/filesystem-functions.sh
12
13 # Check for our CD ISO creation tools
14 case ${clst_hostarch} in
15 + alpha)
16 + cdmaker="genisoimage"
17 + cdmakerpkg="app-cdr/cdrkit"
18 mips)
19 cdmaker="sgibootcd"
20 cdmakerpkg="sys-boot/sgibootcd"
21 @@ -82,9 +85,8 @@ fi
22 case ${clst_hostarch} in
23 alpha)
24 echo ">> Running mkisofs to create iso image...."
25 - echo ">> mkisofs -R -l -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
26 - mkisofs -R -l -J ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o ${1} ${clst_target_path} || die "Cannot make ISO image"
27 - isomarkboot ${1} /boot/bootlx
28 + echo ">> genisoimage --alpha-boot=/boot/bootlx -R -l -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
29 + genisoimage --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"
30 ;;
31 arm)
32 ;;
33 --
34 2.0.4