summaryrefslogtreecommitdiffstats
path: root/tools/ppc/mkINSTALLCD
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-10-20 14:05:54 +0000
committerMystery Man <unknown@mandriva.org>2005-10-20 14:05:54 +0000
commit9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5 (patch)
treef3ef7ada2ce82dafb6d41cc087b0cc7fdfc40a46 /tools/ppc/mkINSTALLCD
parent3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95 (diff)
downloaddrakx-9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5.tar
drakx-9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5.tar.gz
drakx-9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5.tar.bz2
drakx-9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5.tar.xz
drakx-9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5.zip
This commit was manufactured by cvs2svn to create tagV10_34_11_100mdk
'V10_34_11_100mdk'.
Diffstat (limited to 'tools/ppc/mkINSTALLCD')
-rwxr-xr-xtools/ppc/mkINSTALLCD80
1 files changed, 0 insertions, 80 deletions
diff --git a/tools/ppc/mkINSTALLCD b/tools/ppc/mkINSTALLCD
deleted file mode 100755
index 96741c605..000000000
--- a/tools/ppc/mkINSTALLCD
+++ /dev/null
@@ -1,80 +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
-
-ARCH=`uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/'`
-
-if [ "$ARCH" == "ppc" ]; then
- MKHYBRID=mkhybrid-1.12b5.4
-else
- if [ "$ARCH" == "i386" ]; then
- MKHYBRID=mkhybrid-1.12b5.4-x86
- else
- echo "Sorry, no mkhybrid binary for $ARCH..."
- exit
- fi
-fi
-
-#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`
-
-$curPwd/$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' \
--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.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