Browse Source

Moved the rest of architecture/x86/boot to package/x86/grub/boot

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
6e5070d7fa
2 changed files with 0 additions and 69 deletions
  1. +0
    -51
      architecture/x86/boot/boot.in
  2. +0
    -18
      architecture/x86/boot/menu.lst

+ 0
- 51
architecture/x86/boot/boot.in

@ -1,51 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: architecture/x86/boot/boot.in
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
arch_boot_cd_pre()
{
mkdir -p $isofsdir/boot/grub
cp -f $build_root/boot/grub/stage{1,2,2_eltorito} $isofsdir/boot/grub/
cp -f $build_root/boot/opensde-grub-splash.xpm.gz $isofsdir/boot/
# header
sed -n '/CUT/q;p' $base/architecture/x86/boot/menu.lst \
> $1/boot/grub/menu.lst
}
arch_boot_cd_add()
{
cat >> $1/boot/grub/menu.lst <<-EOT
title $3 (Kernel: $2)
kernel (cd)$4
initrd (cd)$5
EOT
}
arch_boot_cd_post()
{
# footer
sed '1,/CUT/d' $base/architecture/x86/boot/menu.lst \
>> $1/boot/grub/menu.lst
echo_status "Creating isofs_arch.txt file .."
cat > $build_toolchain/isofs_arch.txt <<- EOT
BOOT -b boot/grub/stage2_eltorito -no-emul-boot
BOOTx -boot-load-size 4 -boot-info-table
DISK1 $isofsdir/ /
EOT
}

+ 0
- 18
architecture/x86/boot/menu.lst

@ -1,18 +0,0 @@
# T2 Grub configuration "header" - the actual images are inserted
# automatically
timeout 8
default 0
fallback 1
foreground = 000000
background = e4e6e3
splashimage (cd)/boot/opensde-grub-splash.xpm.gz
# CUT #
title Installed OS from HD
root (hd0)
chainloader +1

Loading…
Cancel
Save