summaryrefslogtreecommitdiffstats
path: root/tools/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ppc')
-rwxr-xr-xtools/ppc/mkINSTALLCD26
1 files changed, 14 insertions, 12 deletions
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 <CD tree> <output image name>
-#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 <CD tree> <output image name>'
+ echo "Output image $2 exists, please delete"
+ echo "usage: $0 <CD tree> <output image name>"
exit 1
fi
if [ ! -d $1 ] ; then
- echo 'CD tree $1 is not a directory!'
- echo 'usage: mkCD1 <CD tree> <output image name>'
+ echo "CD tree $1 is not a directory!"
+ echo "usage: $0 <CD tree> <output image name>"
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