diff options
author | Mystery Man <unknown@mandriva.org> | 2002-08-01 17:20:30 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-08-01 17:20:30 +0000 |
commit | 10e8a05be15a93ecb30d80420a7df79a41df0b6f (patch) | |
tree | 0fe3a8fe9665e857dcea7c8d35b539ab0295a6fa /tools/ppc/mkINSTALLCD | |
parent | 20bc98cdccfed607ee0c3050a3a3bd196c0a1d38 (diff) | |
download | drakx-10e8a05be15a93ecb30d80420a7df79a41df0b6f.tar drakx-10e8a05be15a93ecb30d80420a7df79a41df0b6f.tar.gz drakx-10e8a05be15a93ecb30d80420a7df79a41df0b6f.tar.bz2 drakx-10e8a05be15a93ecb30d80420a7df79a41df0b6f.tar.xz drakx-10e8a05be15a93ecb30d80420a7df79a41df0b6f.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_9_1mdk'.V1_1_9_1mdk
Diffstat (limited to 'tools/ppc/mkINSTALLCD')
-rwxr-xr-x | tools/ppc/mkINSTALLCD | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/tools/ppc/mkINSTALLCD b/tools/ppc/mkINSTALLCD deleted file mode 100755 index e05ec8b54..000000000 --- a/tools/ppc/mkINSTALLCD +++ /dev/null @@ -1,78 +0,0 @@ -# -# quick script to make bootable HFS CD for linux -# -# -#!/bin/sh -# -#mkCD1 <CD tree> <output image name> -#Parameters: - -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: mkCD1 <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>' - 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 yaboot -humount |