summaryrefslogtreecommitdiffstats
path: root/tools/ppc/mkINSTALLCD
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2002-11-05 16:26:13 +0000
committerStew Benedict <stewb@mandriva.org>2002-11-05 16:26:13 +0000
commit29547317b3b3deb136b63ac63fedaa286788d89d (patch)
tree4e0557050b8b066521010a2122a72156767ff0cc /tools/ppc/mkINSTALLCD
parentd58ca93dc979f583bd9fbcd2f0b360036d275274 (diff)
downloaddrakx-backup-do-not-use-29547317b3b3deb136b63ac63fedaa286788d89d.tar
drakx-backup-do-not-use-29547317b3b3deb136b63ac63fedaa286788d89d.tar.gz
drakx-backup-do-not-use-29547317b3b3deb136b63ac63fedaa286788d89d.tar.bz2
drakx-backup-do-not-use-29547317b3b3deb136b63ac63fedaa286788d89d.tar.xz
drakx-backup-do-not-use-29547317b3b3deb136b63ac63fedaa286788d89d.zip
Update PPC boot CD creation.
Diffstat (limited to 'tools/ppc/mkINSTALLCD')
-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