Browse Source

Adapted yaboot/boot/boot.in to use boot_cd_*() and to take files for yaboot/boot instead of architecture/powerpc/boot

early
Alejandro Mery 17 years ago
parent
commit
f34af13b4d
  1. 10
      powerpc/yaboot/boot/boot.in

10
powerpc/yaboot/boot/boot.in

@ -13,7 +13,7 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
arch_boot_cd_pre() boot_cd_pre()
{ {
mkdir -p $isofsdir/{boot,etc}/ mkdir -p $isofsdir/{boot,etc}/
@ -22,9 +22,9 @@ arch_boot_cd_pre()
# rs6k b50, but does not work, yet: # rs6k b50, but does not work, yet:
cp $isofsdir/{boot/yaboot.rs6k,install.bin} cp $isofsdir/{boot/yaboot.rs6k,install.bin}
cp -v $base/architecture/powerpc/boot/{boot.msg,ofboot.b} \ cp -v $base/package/$bootloader/boot/{boot.msg,ofboot.b} \
$isofsdir/boot/ $isofsdir/boot/
cp -v $base/architecture/powerpc/boot/mapping $isofsdir/ cp -v $base/package/$bootloader/boot/mapping $isofsdir/
# IBM RS/6000 # IBM RS/6000
echo "device=cdrom:" > $isofsdir/etc/yaboot.conf echo "device=cdrom:" > $isofsdir/etc/yaboot.conf
@ -34,7 +34,7 @@ arch_boot_cd_pre()
echo -e "\nmessage=/boot/boot.msg\n" > $isofsdir/x echo -e "\nmessage=/boot/boot.msg\n" > $isofsdir/x
} }
arch_boot_cd_add() boot_cd_add()
{ {
# unused $3, verbose name # unused $3, verbose name
cat >> $isofsdir/x <<-EOT cat >> $isofsdir/x <<-EOT
@ -46,7 +46,7 @@ image=$4
EOT EOT
} }
arch_boot_cd_post() boot_cd_post()
{ {
# footer # footer
cat $isofsdir/x >> $isofsdir/boot/yaboot.conf cat $isofsdir/x >> $isofsdir/boot/yaboot.conf

Loading…
Cancel
Save