hi leute
so dank eurer hoch kompetenten hilfe hat es nun funktioniert der link den hydro gepostet hat hat zum erfolg geführt
wie gesagt fall noch jemand vor hat das zu installieren (sieht echt gut aus ) muss wie in meinem letzten beitrag gesagt die PKGBUILD etwas angepasst werden damit es funktioniert
aber ich poste sie vorsichthalber nochmal
nachma besten dank für die hilfe
gru? schleby
# $Id: PKGBUILD,v 1.31 2007/01/22 21:13:29 tpowa Exp $
# Maintainer: judd <jvinet@zeroflux.org>
# Contributor: fancris3 <fancris3 at aol.com>
pkgname=grub-gfxmenu
pkgver=0.97
pkgrel=1
pkgdesc="A GNU multiboot boot loader with gfxmenu patch from openSUSE"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnu.org/software/grub/"
depends=('ncurses')
makedepends=('gfxboot')
conflicts=('grub' 'grub-gfx')
backup=('boot/grub/menu.lst')
install=('grub-gfxmenu.install')
source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
menu.lst.example install-grub \
040_all_grub-0.96-nxstack.patch \
05-grub-0.97-initrdaddr.diff \
i2o.patch special-devices.patch more-raid.patch intelmac.patch \
grub-gfxmenu-v8.diff)
md5sums=('cd3f3eb54446be6003156158d51f4884' 'c6d8017e61e3764b94c57334a7f3d18d'
'3182c4ae4963a16930bc772bba89dacf' 'eb9d69c46af3a0667c1f651817d7f075'
'ccd2d757e79e3a03dc19ede7391ed328' '826fdbf446067f9861baf9f6a69a4583'
'49f6d4bcced0bc8bbcff273f3254bbfa' 'f41f702014a064918d7afc6fc23baa6e'
'175dc6b9f4ab94e8056c3afb3e34460a' '11f281697b7f63f09eed3b1faac07967')
build() {
cd $startdir/src/grub-$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
patch -Np1 -i ../i2o.patch || return 1
patch -Np1 -i ../more-raid.patch || return 1
#add this patch only if you need
#patch -Np1 -i ../intelmac.patch || return 1
#patch from openSUSE for menugfx
patch -Np0 < ../grub-gfxmenu-v8.diff || return 1
#arch64 fixes for static build
if [ "$CARCH" = "x86_64" ]; then
echo "this package has to be build on i686, won't compile on x86_64"
sleep 5
else
if [ "$DESTARCH" = "x86_64" ]; then
# patch from gentoo for fixing a segfault
patch -Np1 -i ../040_all_grub-0.96-nxstack.patch || return 1
# patch from openSUSE 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
else
CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin
fi
fi
CFLAGS= make || return 1
mkdir /home/USERNAME/Desktop/trunk/pkg/boot/ # HIER MUSS DAS MKDIR MIT DEM ENTSPRECHENDEN PFAD EINGEFÜGT WERDEN !!!!
mkdir /home/USERNAME/Desktop/trunk/pkg/boot/grub/ # HIER MUSS DAS MKDIR MIT DEM ENTSPRECHENDEN PFAD EINGEFÜGT WERDEN !!!!
make DESTDIR=$startdir/pkg install
install -D -m644 ../menu.lst.example $startdir/pkg/boot/grub/
install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
# symlink for compatibility with the <=0.7 installer
mkdir -p $startdir/pkg/usr/share
ln -s ../lib/grub $startdir/pkg/usr/share/grub
}