Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=de4e36d674538e48c0bd2b9f4a5f205791607549

commit de4e36d674538e48c0bd2b9f4a5f205791607549
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed Oct 1 23:51:55 2008 +0200

yaboot-1.3.14-3-ppc

add two files which are essential to generate any bootable
yaboot-enabled cd

diff --git a/source/base/yaboot/FrugalBuild b/source/base/yaboot/FrugalBuild
index 0916863..be6754e 100644
--- a/source/base/yaboot/FrugalBuild
+++ b/source/base/yaboot/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=yaboot
pkgver=1.3.14
-pkgrel=2
+pkgrel=3
pkgdesc="Yaboot is an OpenFirmware bootloader for OpenFirmware based machines"
url="http://yaboot.ozlabs.org";
groups=('base')
@@ -11,17 +11,18 @@ depends=('hfsutils' 'hfsplus' 'mac-fdisk' 'powerpc-utils')
backup=('etc/yaboot.conf')
archs=('!i686' '!x86_64' 'ppc')
up2date="Flasttar $url/releases"
-source=($url/releases/yaboot-$pkgver.tar.gz)
-sha1sums=('2bf7594a921075371acf468a46776d0f93e315a6')
-
-# TODO: add some config tool, generating the config file could be done
-# almost automatically
+source=($url/releases/yaboot-$pkgver.tar.gz maps ofboot.b)
+sha1sums=('2bf7594a921075371acf468a46776d0f93e315a6' \
+          '9f9b0823cb2d46886a5e29fbb9353ad94138802f' \
+          '27c3889abd59a0924a2e39830bb1d5dd003032f5')

build()
{
Fpatchall
Fmake PREFIX=/usr
Fmakeinstall ROOT=$Fdestdir PREFIX=/usr
+       Ffile /usr/lib/yaboot/maps
+       Ffile /usr/lib/yaboot/ofboot.b
}

# optimization OK
diff --git a/source/base/yaboot/maps b/source/base/yaboot/maps
new file mode 100644
index 0000000..d46dfe3
--- /dev/null
+++ b/source/base/yaboot/maps
@@ -0,0 +1,11 @@
+# This mapping is needed to successfully boot and to keep macos from
+# treating everything like a text file (ugly!)
+#
+# EXTN   XLate   CREATOR   TYPE     Comment
+.b              Raw     'UNIX'  'tbxi'  "bootstrap"
+yaboot          Raw     'UNIX'  'boot'  "bootstrap"
+linux           Raw     'UNIX'  'boot'  "kernel"
+.conf           Raw     'UNIX'  'conf'  "bootstrap"
+root.bin        Raw     'UNIX'  'root'  "root_image"
+*               Raw     'UNIX'  'UNIX'  "unix"
+
diff --git a/source/base/yaboot/ofboot.b b/source/base/yaboot/ofboot.b
new file mode 100644
index 0000000..483bac7
--- /dev/null
+++ b/source/base/yaboot/ofboot.b
@@ -0,0 +1,13 @@
+<CHRP-BOOT>
+<COMPATIBLE>
+MacRISC MacRISC3 MacRISC4
+</COMPATIBLE>
+<DESCRIPTION>
+Frugalware Linux PPC bootloader
+</DESCRIPTION>
+<BOOT-SCRIPT>
+" screen" output
+load-base release-load-area
+boot cd:,\boot\yaboot\yaboot
+</BOOT-SCRIPT>
+</CHRP-BOOT>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to