From 29547317b3b3deb136b63ac63fedaa286788d89d Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Tue, 5 Nov 2002 16:26:13 +0000 Subject: Update PPC boot CD creation. --- tools/ppc/mkINSTALLCD | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'tools/ppc') diff --git a/tools/ppc/mkINSTALLCD b/tools/ppc/mkINSTALLCD index e05ec8b54..96741c605 100755 --- a/tools/ppc/mkINSTALLCD +++ b/tools/ppc/mkINSTALLCD @@ -1,11 +1,5 @@ -# -# quick script to make bootable HFS CD for linux -# -# #!/bin/sh -# -#mkCD1 -#Parameters: +# shell script to build a bootable hybrid PPC CD if ! rpm -q hfsutils ; then echo 'You need hfsutils installed!!' @@ -13,14 +7,14 @@ if ! rpm -q hfsutils ; then fi if [ -e $2 ] ; then - echo 'Output image $2 exists, please delete' - echo 'usage: mkCD1 ' + echo "Output image $2 exists, please delete" + echo "usage: $0 " exit 1 fi if [ ! -d $1 ] ; then - echo 'CD tree $1 is not a directory!' - echo 'usage: mkCD1 ' + echo "CD tree $1 is not a directory!" + echo "usage: $0 " exit 1 fi @@ -74,5 +68,13 @@ $1 hmount $2 hattrib -b boot hcd boot -hattrib -t tbxi yaboot +hattrib -t tbxi -c UNIX ofboot.b +hattrib -t boot -c UNIX yaboot +hattrib -t boot -c UNIX vmlinux +hattrib -t boot -c UNIX vmlinux-2.2 +hattrib -t conf -c UNIX yaboot.conf +hcd +hcd BootX +hrename Mandrake_Linux_Install.sit 'Mandrake Linux Install.sit' +hattrib -t APPL -c STi0 'Mandrake Linux Install.sit' humount -- cgit v1.2.1