Gentoo Archives: gentoo-catalyst

From: Brian Dolbec <dolsen@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH v2] modify alpha to use genisoimage
Date: Mon, 08 Dec 2014 00:30:59
Message-Id: 20141207163029.2771a11a.dolsen@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH v2] modify alpha to use genisoimage by "Raúl Porcel"
1 On Wed, 3 Dec 2014 11:03:34 +0000
2 Raúl Porcel <armin76@g.o> wrote:
3
4 > alpha needs to use app-cdr/cdrkit's genisoimage with an alpha-specific
5 > option which mkisofs from app-cdr/cdrtools doesn't have
6 > ---
7 > targets/support/create-iso.sh | 8 +++++---
8 > 1 file changed, 5 insertions(+), 3 deletions(-)
9 >
10 > diff --git a/targets/support/create-iso.sh
11 > b/targets/support/create-iso.sh index bf81cba..7454adb 100755
12 > --- a/targets/support/create-iso.sh
13 > +++ b/targets/support/create-iso.sh
14 > @@ -7,6 +7,9 @@ source
15 > ${clst_sharedir}/targets/support/filesystem-functions.sh
16 > # Check for our CD ISO creation tools
17 > case ${clst_hostarch} in
18 > + alpha)
19 > + cdmaker="genisoimage"
20 > + cdmakerpkg="app-cdr/cdrkit"
21 > mips)
22 > cdmaker="sgibootcd"
23 > cdmakerpkg="sys-boot/sgibootcd"
24 > @@ -82,9 +85,8 @@ fi
25 > case ${clst_hostarch} in
26 > alpha)
27 > echo ">> Running mkisofs to create iso image...."
28 > - echo ">> mkisofs -R -l -J ${mkisofs_zisofs_opts} -V
29 > \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
30 > - mkisofs -R -l -J ${mkisofs_zisofs_opts} -V
31 > "${clst_iso_volume_id}" -o ${1} ${clst_target_path} || die "Cannot
32 > make ISO image"
33 > - isomarkboot ${1} /boot/bootlx
34 > + echo ">> genisoimage --alpha-boot=boot/bootlx -R -l
35 > -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1}
36 > ${clst_target_path}"
37 > + genisoimage --alpha-boot=boot/bootlx -R -l -J
38 > ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o ${1}
39 > ${clst_target_path} || die "Cannot make ISO image" ;; arm)
40 > ;;
41
42 merged into 2.X branch and pending branch, pending will be merged into
43 master soon.
44
45 --
46 Brian Dolbec <dolsen>