From a8883e7c82677b510938a346189849ed9b080c97 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 6 Feb 2008 12:13:11 -0300 Subject: [PATCH] Moved architecture/sparc/boot/* to package/sparc/silo/boot/ --- sparc/silo/boot/boot.in | 47 +++++++++++++++++++++++++++++++++++++++ sparc/silo/boot/boot.msg | 12 ++++++++++ sparc/silo/boot/silo.conf | 20 +++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 sparc/silo/boot/boot.in create mode 100644 sparc/silo/boot/boot.msg create mode 100644 sparc/silo/boot/silo.conf diff --git a/sparc/silo/boot/boot.in b/sparc/silo/boot/boot.in new file mode 100644 index 000000000..6904ace62 --- /dev/null +++ b/sparc/silo/boot/boot.in @@ -0,0 +1,47 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../silo/boot/boot.in +# Copyright (C) 2008 The OpenSDE Project +# 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 + cp -f $build_root/boot/{second.b,isofs.b} $isofsdir/boot/ + cp -f $base/architecture/sparc/boot/{silo.conf,boot.msg} \ + $isofsdir/boot/ +} + +arch_boot_cd_add() +{ + # unused $2, verbose name + cat >> $isofsdir/boot/silo.conf <<-EOT + +image=$4 + label=$2 + initrd=$5 + ramdisk=8388608 + +EOT +} + +arch_boot_cd_post() +{ + echo_status "Creating isofs_arch.txt file .." + + cat > $build_toolchain/isofs_arch.txt <<- EOT +BOOT -G $isofsdir/boot/isofs.b -B ... +DISK1 $isofsdir/ / +EOT +} + diff --git a/sparc/silo/boot/boot.msg b/sparc/silo/boot/boot.msg new file mode 100644 index 000000000..58eb57ffd --- /dev/null +++ b/sparc/silo/boot/boot.msg @@ -0,0 +1,12 @@ + +T2 SDE - System Development Environment + + http://www.t2-project.org/ + +T2 on SPARC and Ultra SPARC was primarily developed by Rene Rebe - ExactCode. +Based on former work in ROCK Linux by Armijn Hemel, Jan Veninga and Stefan +Koerner! + +If you don't know what to do now, just press enter and start +reading the documentation. + diff --git a/sparc/silo/boot/silo.conf b/sparc/silo/boot/silo.conf new file mode 100644 index 000000000..5d2a127a4 --- /dev/null +++ b/sparc/silo/boot/silo.conf @@ -0,0 +1,20 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../silo/boot/silo.conf +# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2004 - 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 --- + +partition=1 +read-write +timeout=100 +message=/boot/boot.msg +