From e041e4432c577f4000c88ebe050bde6145cf6fe1 Mon Sep 17 00:00:00 2001 From: fake Date: Sun, 10 Oct 2004 11:37:47 +0000 Subject: [PATCH] fake: livecd/ppc: add some oldworld support stuff indegriends for the ceremonial goat sacrifice needed to boot them... rediff: correct CREATOR and TYPE of .sit's, fix linebreaks in readme [2004092617410931160] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4480 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- target/livecd/powerpc/build.sh | 7 +++++++ target/livecd/powerpc/mapping | 17 ++++++++++++----- target/livecd/powerpc/oldworld-readme.txt | 1 + 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 target/livecd/powerpc/oldworld-readme.txt diff --git a/target/livecd/powerpc/build.sh b/target/livecd/powerpc/build.sh index 1618dca5a..3d814a562 100644 --- a/target/livecd/powerpc/build.sh +++ b/target/livecd/powerpc/build.sh @@ -34,6 +34,12 @@ mv -v initrd.gz boot/ echo_status "Copy more config files." cp -v $base/target/$target/powerpc/mapping . # +echo_status "Copying oldworld pmac support files..." +rm -rf oldworld +mkdir -p oldworld +cp -v $base/download/mirror/B/BootX_1.2.2.sit oldworld/ +cp -v $base/target/$target/powerpc/oldworld-readme.txt oldworld/README.txt +# datadir="build/${ROCKCFG_ID}/ROCK/livecd" cat > ../isofs_arch.txt <<- EOT BOOT -hfs -part -map $datadir/mapping -hfs-volid "ROCK_Linux_CD" @@ -41,6 +47,7 @@ cat > ../isofs_arch.txt <<- EOT BOOTx -prep-boot install.bin DISK1 $datadir/boot/ boot/ DISK1 $datadir/etc/ etc/ + DISK1 $datadir/oldworld/ oldworld/ DISK1 $datadir/install.bin install.bin EOT diff --git a/target/livecd/powerpc/mapping b/target/livecd/powerpc/mapping index 34c898f43..f24e608c6 100644 --- a/target/livecd/powerpc/mapping +++ b/target/livecd/powerpc/mapping @@ -1,10 +1,17 @@ -# Example filename mapping file -# # EXTN XLate CREATOR TYPE Comment -.b Raw 'UNIX' 'tbxi' "bootstrap" +.hqx Ascii 'BnHx' 'TEXT' "BinHex file" +.b Raw 'UNIX' 'tbxi' "bootstrap" +.txt Ascii 'ttxt' 'ttro' "README" yaboot Raw 'UNIX' 'boot' "bootstrap" *linux Raw 'UNIX' 'boot' "kernel" *.conf Raw 'UNIX' 'conf' "bootstrap" -root.bin Raw 'UNIX' 'root' "root_image" +initrd.gz Raw 'UNIX' 'root' "root_image" +.sit Raw 'SITx' 'disk' "StuffIT Archive" +# just a reminder - we want to get rid of the .sit +#App Raw 'BooX' 'APPC' "BootX App" +#CacheSetting Raw '????' 'APPL' "GrabG3CacheSetting" +#MakeMkPlugin Raw '????' 'APPL' "MakeMkPlugin" +#miBoot.img Raw 'ddsk' 'dimg' "miBoot Image" +#System Raw 'MACS' 'zsys' "miBoot System" +# the rest * Raw '????' '????' "Unknown" - diff --git a/target/livecd/powerpc/oldworld-readme.txt b/target/livecd/powerpc/oldworld-readme.txt new file mode 100644 index 000000000..a2fdef20e --- /dev/null +++ b/target/livecd/powerpc/oldworld-readme.txt @@ -0,0 +1 @@ +For booting the ROCK Linux LiveCD on oldworld macs, currentlyonly BootX is support. Extract BootX-1.2.2.sit, and copy/boot/vmlinuxas kernel to load into the "Linux Kernels" Folder, and tell it to use/boot/initrd.gzas ramdisk to load (paths relative to the CD).You also need to add additional parameters to pass to the kernel:init=/linuxrc rwHave fun!