diff options
author | Stew Benedict <stewb@mandriva.org> | 2001-03-20 21:36:09 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2001-03-20 21:36:09 +0000 |
commit | 52d7a2de5518ccb7eef3225383bad2711a3695bb (patch) | |
tree | f13a0493716ad2d2616dfef1c9d3f8bc86025f4f /make_boot_img | |
parent | c0d16c54372f940ca9cde3dbfd9d57a0d70b8d79 (diff) | |
download | drakx-backup-do-not-use-52d7a2de5518ccb7eef3225383bad2711a3695bb.tar drakx-backup-do-not-use-52d7a2de5518ccb7eef3225383bad2711a3695bb.tar.gz drakx-backup-do-not-use-52d7a2de5518ccb7eef3225383bad2711a3695bb.tar.bz2 drakx-backup-do-not-use-52d7a2de5518ccb7eef3225383bad2711a3695bb.tar.xz drakx-backup-do-not-use-52d7a2de5518ccb7eef3225383bad2711a3695bb.zip |
make_boot_img: add routine for - PPC
any.pm: double "Append" entry in expert mode for yaboot.conf - PPC
install_steps_interactive: setup dmasound - PPC
modules.pm: load Mac hardware modules - PPC
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/make_boot_img b/make_boot_img index 52a432e19..0900801b4 100755 --- a/make_boot_img +++ b/make_boot_img @@ -320,9 +320,57 @@ image=/vmlinux$I.gz sub boot_img_ppc { my ($mnt, $img) = @_; - # Here's a quick hack... just to give the script somethign to do. :) - # We do not yet have a set way of making bootable images. - _ "cp $type.rdz $img"; + my $dir = "/export"; + my $boot = "boot"; #- non-absolute pathname only! + _ "mkdir -p $dir/$boot"; + _ "cp -f vmlinux $dir/$boot/vmlinux"; + _ "cp -f all.rdz $dir/boot/all.gz"; + _ "cp -f tools/ppc/yaboot $dir/boot/yaboot"; + + output("$dir/$boot/yaboot.conf", " +init-message = \"\\nWelcome to Mandrake Linux PPC!\\nHit <TAB> for boot options.\\n\\n\" +timeout = 150 +default = install-novideo + +image = cd:,\\\\\\\\vmlinux + label = install-novideo + initrd = cd:,\\\\\\\\all.gz + initrd-size = 32000 + append = \" video=ofonly\" + +image = cd:,\\\\\\\\vmlinux + label = install-atyfb + initrd = cd:,\\\\\\\\all.gz + initrd-size = 32000 + append = \" video=atyfb:vmode:17\" + +image = cd:,\\\\\\\\vmlinux + label = install-aty128fb + initrd = cd:,\\\\\\\\all.gz + initrd-size = 32000 + append = \" video=aty128fb:vmode:17\" + +image = cd:,\\\\\\\\vmlinux + label = install-text + initrd = cd:,\\\\\\\\all.gz + initrd-size = 32000 + append = \" text\" + +image = cd:,\\\\\\\\vmlinux + label = rescue + initrd = cd:,\\\\\\\\all.gz + initrd-size = 32000 + append = \" rescue\" +"); + #- seem to need 2 yaboot.conf, one in the root, and one in boot + _ "cp -f $dir/boot/yaboot.conf $dir/yaboot.conf"; + + output("$dir/$boot/README", " +To Build a Bootable CD-ROM, do: +cd /tools/ppc +./mkINSTALLCD /export ppc-cd.img +"); + } sub output { |