summaryrefslogtreecommitdiffstats
path: root/tools/ppc/mkINSTALLCD
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-09-01 20:27:41 +0000
committerMystery Man <unknown@mandriva.org>2005-09-01 20:27:41 +0000
commitf027d873e1c6f4b372b541cc351c71820a9063cd (patch)
tree4c1914e76177c18cf0a45829bbdf7eb0a92c2435 /tools/ppc/mkINSTALLCD
parent5d83bfe6f6b331df65d493a78e9ed2f1b30a2464 (diff)
downloaddrakx-backup-do-not-use-f027d873e1c6f4b372b541cc351c71820a9063cd.tar
drakx-backup-do-not-use-f027d873e1c6f4b372b541cc351c71820a9063cd.tar.gz
drakx-backup-do-not-use-f027d873e1c6f4b372b541cc351c71820a9063cd.tar.bz2
drakx-backup-do-not-use-f027d873e1c6f4b372b541cc351c71820a9063cd.tar.xz
drakx-backup-do-not-use-f027d873e1c6f4b372b541cc351c71820a9063cd.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_51mdk
'V10_3_0_51mdk'.
Diffstat (limited to 'tools/ppc/mkINSTALLCD')
-rwxr-xr-xtools/ppc/mkINSTALLCD71
1 files changed, 0 insertions, 71 deletions
diff --git a/tools/ppc/mkINSTALLCD b/tools/ppc/mkINSTALLCD
deleted file mode 100755
index d7686f01d..000000000
--- a/tools/ppc/mkINSTALLCD
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-# shell script to build a bootable hybrid PPC CD
-
-if ! rpm -q hfsutils ; then
- echo 'You need hfsutils installed!!'
- exit 1
-fi
-
-if [ -e $2 ] ; then
- 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: $0 <CD tree> <output image name>"
- exit 1
-fi
-
-# select the appropriate mkhybrid binary depending on if
-# we are on x86 or ppc
-
-MKHYBRID=mkisofs
-
-#Change these when you build the CD..
-ApplicationID="Linux-Mandrake"
-PublisherID="Mandrakesoft"
-PreparerID="sbenedict@mandrakesoft.com"
-SystemID=PPC
-volid=ppc
-hfsVolid=Linux-Mandrake
-curPwd=`pwd`
-
-$MKHYBRID -part -hfs -r -l -J \
--A $ApplicationID \
--P $PublisherID \
--p $PreparerID \
--abstract "README" \
--sysid $SystemID \
--V $volid \
--volset "Update" \
--volset-size 2 \
--volset-seqno 1 \
--hfs-volid $hfsVolid \
--map $curPwd/mapping \
--magic $curPwd/magic \
--m "*.orig" \
--hide '*.MacOS' -hide '*.DOS' \
--hide-joliet '*.Unix' -hide-joliet '*.MacOS' \
--hide-hfs '*.Unix' -hide-hfs '*.DOS' \
--hfs-bless $1/boot \
--hfs-unlock \
--pad \
--o $2 \
-$1
-
-#Bless boot folder so yaboot can boot
-hmount $2
-hattrib -b boot
-hcd boot
-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.4
-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