summaryrefslogtreecommitdiffstats
path: root/tools/ppc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-05 04:09:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-05 04:09:57 +0000
commitb1d9fec7b7ecdce88ff72cab3bc349f6aa341539 (patch)
tree71347ef3e292956d0f025b32f9f72b024826b418 /tools/ppc
parente95c7e15a388c5cef80305dec1a9ed2cbe367c7d (diff)
downloaddrakx-b1d9fec7b7ecdce88ff72cab3bc349f6aa341539.tar
drakx-b1d9fec7b7ecdce88ff72cab3bc349f6aa341539.tar.gz
drakx-b1d9fec7b7ecdce88ff72cab3bc349f6aa341539.tar.bz2
drakx-b1d9fec7b7ecdce88ff72cab3bc349f6aa341539.tar.xz
drakx-b1d9fec7b7ecdce88ff72cab3bc349f6aa341539.zip
update (Christiaan Welvaart)
Diffstat (limited to 'tools/ppc')
-rwxr-xr-xtools/ppc/mkINSTALLCD19
1 files changed, 5 insertions, 14 deletions
diff --git a/tools/ppc/mkINSTALLCD b/tools/ppc/mkINSTALLCD
index 2f81fa5e9..d7686f01d 100755
--- a/tools/ppc/mkINSTALLCD
+++ b/tools/ppc/mkINSTALLCD
@@ -21,18 +21,7 @@ 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
+MKHYBRID=mkisofs
#Change these when you build the CD..
ApplicationID="Linux-Mandrake"
@@ -43,7 +32,7 @@ volid=ppc
hfsVolid=Linux-Mandrake
curPwd=`pwd`
-$curPwd/$MKHYBRID -part -hfs -r -l -J \
+$MKHYBRID -part -hfs -r -l -J \
-A $ApplicationID \
-P $PublisherID \
-p $PreparerID \
@@ -60,6 +49,8 @@ $curPwd/$MKHYBRID -part -hfs -r -l -J \
-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
@@ -71,7 +62,7 @@ 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 boot -c UNIX vmlinux-2.4
hattrib -t conf -c UNIX yaboot.conf
hcd
hcd BootX