upgpkg: 0.97-15
This commit is contained in:
12
PKGBUILD
12
PKGBUILD
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=grub
|
||||
pkgver=0.97
|
||||
pkgrel=14
|
||||
pkgrel=15
|
||||
pkgdesc="A GNU multiboot boot loader"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
@ -18,7 +18,8 @@ source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz
|
||||
special-devices.patch
|
||||
more-raid.patch
|
||||
intelmac.patch
|
||||
grub-inode-size.patch)
|
||||
grub-inode-size.patch
|
||||
ext4.patch)
|
||||
backup=('boot/grub/menu.lst')
|
||||
install=grub.install
|
||||
md5sums=('cd3f3eb54446be6003156158d51f4884'
|
||||
@ -30,7 +31,8 @@ md5sums=('cd3f3eb54446be6003156158d51f4884'
|
||||
'49f6d4bcced0bc8bbcff273f3254bbfa'
|
||||
'f41f702014a064918d7afc6fc23baa6e'
|
||||
'175dc6b9f4ab94e8056c3afb3e34460a'
|
||||
'ada26cbc681907823cc4ff2a55b97866')
|
||||
'ada26cbc681907823cc4ff2a55b97866'
|
||||
'39e0f9a05b7e04aceb24fc7bc4893e3d')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
@ -38,7 +40,6 @@ build() {
|
||||
#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
|
||||
@ -47,6 +48,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 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
|
||||
|
Reference in New Issue
Block a user