public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH v2] modify alpha to use genisoimage
@ 2014-12-03 11:03 Raúl Porcel
  2014-12-08  0:30 ` Brian Dolbec
  0 siblings, 1 reply; 2+ messages in thread
From: Raúl Porcel @ 2014-12-03 11:03 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Raúl Porcel

alpha needs to use app-cdr/cdrkit's genisoimage with an alpha-specific
option which mkisofs from app-cdr/cdrtools doesn't have
---
 targets/support/create-iso.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index bf81cba..7454adb 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -7,6 +7,9 @@ source ${clst_sharedir}/targets/support/filesystem-functions.sh
 
 # Check for our CD ISO creation tools
 case ${clst_hostarch} in
+	alpha)
+		cdmaker="genisoimage"
+		cdmakerpkg="app-cdr/cdrkit"
 	mips)
    		cdmaker="sgibootcd"
 		cdmakerpkg="sys-boot/sgibootcd"
@@ -82,9 +85,8 @@ fi
 case ${clst_hostarch} in
 	alpha)
 		echo ">> Running mkisofs to create iso image...."
-		echo ">> mkisofs -R -l -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
-		mkisofs -R -l -J ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o ${1} ${clst_target_path} || die "Cannot make ISO image"
-		isomarkboot ${1} /boot/bootlx
+		echo ">> genisoimage --alpha-boot=boot/bootlx -R -l -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
+		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"
 	;;
 	arm)
 	;;
-- 
2.0.4

Previous patch had a mistake


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

* Re: [gentoo-catalyst] [PATCH v2] modify alpha to use genisoimage
  2014-12-03 11:03 [gentoo-catalyst] [PATCH v2] modify alpha to use genisoimage Raúl Porcel
@ 2014-12-08  0:30 ` Brian Dolbec
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2014-12-08  0:30 UTC (permalink / raw
  To: gentoo-catalyst

On Wed,  3 Dec 2014 11:03:34 +0000
Raúl Porcel <armin76@gentoo.org> wrote:

> alpha needs to use app-cdr/cdrkit's genisoimage with an alpha-specific
> option which mkisofs from app-cdr/cdrtools doesn't have
> ---
>  targets/support/create-iso.sh | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/targets/support/create-iso.sh
> b/targets/support/create-iso.sh index bf81cba..7454adb 100755
> --- a/targets/support/create-iso.sh
> +++ b/targets/support/create-iso.sh
> @@ -7,6 +7,9 @@ source
> ${clst_sharedir}/targets/support/filesystem-functions.sh 
>  # Check for our CD ISO creation tools
>  case ${clst_hostarch} in
> +	alpha)
> +		cdmaker="genisoimage"
> +		cdmakerpkg="app-cdr/cdrkit"
>  	mips)
>     		cdmaker="sgibootcd"
>  		cdmakerpkg="sys-boot/sgibootcd"
> @@ -82,9 +85,8 @@ fi
>  case ${clst_hostarch} in
>  	alpha)
>  		echo ">> Running mkisofs to create iso image...."
> -		echo ">> mkisofs -R -l -J ${mkisofs_zisofs_opts} -V
> \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
> -		mkisofs -R -l -J ${mkisofs_zisofs_opts} -V
> "${clst_iso_volume_id}" -o ${1} ${clst_target_path} || die "Cannot
> make ISO image"
> -		isomarkboot ${1} /boot/bootlx
> +		echo ">> genisoimage --alpha-boot=boot/bootlx -R -l
> -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1}
> ${clst_target_path}"
> +		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" ;; arm)
>  	;;

merged into 2.X branch and pending branch, pending will be merged into
master soon.

-- 
Brian Dolbec <dolsen>



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

end of thread, other threads:[~2014-12-08  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 11:03 [gentoo-catalyst] [PATCH v2] modify alpha to use genisoimage Raúl Porcel
2014-12-08  0:30 ` Brian Dolbec

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