diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-19 00:39:53 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-19 00:39:53 (GMT) |
commit | ad0da8e413ec1b1b4d754d70cec8f96cc58f0bb4 (patch) | |
tree | c62d8bf5e6274c79ef5fe1c8343383b12c01a146 /abs/core-testing/grub/PKGBUILD | |
parent | 9b369f597a48f6af9cfcaa2c85f64d8aa3658872 (diff) | |
download | linhes_pkgbuild-ad0da8e413ec1b1b4d754d70cec8f96cc58f0bb4.zip linhes_pkgbuild-ad0da8e413ec1b1b4d754d70cec8f96cc58f0bb4.tar.gz linhes_pkgbuild-ad0da8e413ec1b1b4d754d70cec8f96cc58f0bb4.tar.bz2 |
updated grub with ext4 patches + better xfs.
Diffstat (limited to 'abs/core-testing/grub/PKGBUILD')
-rw-r--r-- | abs/core-testing/grub/PKGBUILD | 40 |
1 files changed, 17 insertions, 23 deletions
diff --git a/abs/core-testing/grub/PKGBUILD b/abs/core-testing/grub/PKGBUILD index 398d782..38c6a28 100644 --- a/abs/core-testing/grub/PKGBUILD +++ b/abs/core-testing/grub/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 22874 2008-12-29 18:25:08Z tpowa $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> pkgname=grub pkgver=0.97 -pkgrel=21 +pkgrel=31 pkgdesc="A GNU multiboot boot loader" arch=('i686' 'x86_64') license=('GPL') @@ -20,27 +20,16 @@ source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz more-raid.patch intelmac.patch grub-inode-size.patch - grub-0.97-gpt.patch) + ext4.patch) backup=('boot/grub/menu.lst') -md5sums=('cd3f3eb54446be6003156158d51f4884' - 'cce52ae9ee1f8686cd700b3c967e78f9' - '3182c4ae4963a16930bc772bba89dacf' - 'eb9d69c46af3a0667c1f651817d7f075' - 'ccd2d757e79e3a03dc19ede7391ed328' - '826fdbf446067f9861baf9f6a69a4583' - '49f6d4bcced0bc8bbcff273f3254bbfa' - 'f41f702014a064918d7afc6fc23baa6e' - '175dc6b9f4ab94e8056c3afb3e34460a' - 'ada26cbc681907823cc4ff2a55b97866' - '52cd09a6966f12961d11f7b3b7e76bd2') +install=grub.install build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver #set destination architecture here DESTARCH="i686" #DESTARCH="x86_64" - # optimizations break the build -- disable them # adding special devices to grub, patches are from fedora patch -Np1 -i ../special-devices.patch || return 1 @@ -49,9 +38,9 @@ build() { patch -Np1 -i ../intelmac.patch || return 1 # Add support for bigger inode size to e2fs_stage1_5 patch -Np1 -i ../grub-inode-size.patch || return 1 - # Add gpt support - # http://bugs.archlinux.org/task/9864 - patch -Np1 -i ../grub-0.97-gpt.patch || return 1 + # Add ext4 support + # http://www.mail-archive.com/bug-grub@gnu.org/msg11458.html + patch -Np1 -i ../ext4.patch || return 1 #arch64 fixes for static build if [ "$CARCH" = "x86_64" ]; then @@ -63,16 +52,21 @@ build() { patch -Np1 -i ../040_all_grub-0.96-nxstack.patch || return 1 # patch from frugalware to make it boot when more than 2GB ram installed patch -Np1 -i ../05-grub-0.97-initrdaddr.diff || return 1 - CFLAGS="-static" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin + CFLAGS="-static" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \ + --mandir=/usr/share/man --infodir=/usr/share/info else - CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin + CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \ + --mandir=/usr/share/man --infodir=/usr/share/info fi fi CFLAGS= make || return 1 - make DESTDIR=$startdir/pkg install + make DESTDIR=$pkgdir install || return 1 install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub + + rm -f $pkgdir/usr/share/info/dir || return 1 + gzip /$pkgdir/usr/share/info/* if [ "$DESTARCH" = "x86_64" ]; then # fool makepkg into building a x86_64 package |