Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1990 - grub to have arch logo
Attached to Project:
Arch Linux
Opened by Nikos Kouremenos (zeppelin) - Friday, 07 January 2005, 13:24 GMT
Last edited by Judd Vinet (judd) - Friday, 07 January 2005, 18:50 GMT
Opened by Nikos Kouremenos (zeppelin) - Friday, 07 January 2005, 13:24 GMT
Last edited by Judd Vinet (judd) - Friday, 07 January 2005, 18:50 GMT
|
This task depends upon
Closed by James Rayner (iphitus)
Sunday, 15 October 2006, 10:55 GMT
Reason for closing: Won't implement
Sunday, 15 October 2006, 10:55 GMT
Reason for closing: Won't implement
- built new grub with graphics patch and splash.xpm.gz
- added splashimage line to menu.lst
- copied new grub stage files into /boot/grub/
- re-installed the bootloader with install-grub
- rebooted
Nada. :(
Some people tell me that it worked if change the splashimage path from /grub/splash.xpm.gz to /boot/grub/splash.xpm.gz
Check if your system has the splash support. Download this script http://ruslug.rutgers.edu/~mcgrof/grub-images/checksplash.sh and execute it, it will check your grub images and tell you if bootsplash support is included or not.
----------------------------
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
pkgname=grub
pkgver=0.95
pkgrel=4
pkgdesc="A GNU multiboot boot loader"
url="http://www.gnu.org/software/grub/"
depends=('ncurses')
source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
menu.lst install-grub grub-0.95-graphics.patch)
backup=('boot/grub/menu.lst')
md5sums=('4ca8e4363d5f1980f2c63b7f5cdbe0d1' '5802ecfcac64057a770947be7e26c045'\
'3b108306c5e76968de9dc01216ba1ef7' '869ec0321f79fa7a84a7d7656c220ef1')
build() {
cd $startdir/src/$pkgname-$pkgver
# add graphic background support
patch -p1 < $startdir/grub-0.95-graphics.patch
# Reconfigure due to patch new files
autoreconf --install --force
# optimizations break the build -- disable them
CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin
CFLAGS= make || return 1
make prefix=$startdir/pkg/usr bindir=$startdir/pkg/bin \
sbindir=$startdir/pkg/sbin install
mkdir -p $startdir/pkg/boot/grub
cp ../menu.lst $startdir/pkg/boot/grub
cp $startdir/splash.xpm.gz $startdir/pkg/boot/grub
install -m755 -D ../install-grub $startdir/pkg/sbin/install-grub
}
--------------------------------------
In order to the patch be fully applied, a autoreconf must be performed. That was missing in the previous package post.
#------------------------PKGBUILD-------------------------
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
pkgname=grub
pkgver=0.95
pkgrel=4
pkgdesc="A GNU multiboot boot loader"
url="http://www.gnu.org/software/grub/"
depends=('ncurses')
source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
menu.lst install-grub grub-0.95-graphics.patch)
backup=('boot/grub/menu.lst')
md5sums=('4ca8e4363d5f1980f2c63b7f5cdbe0d1' '5802ecfcac64057a770947be7e26c045'\
'3b108306c5e76968de9dc01216ba1ef7' '869ec0321f79fa7a84a7d7656c220ef1')
build() {
cd $startdir/src/$pkgname-$pkgver
# add graphic background support
patch -p1 < ../grub-0.95-graphics.patch
# optimizations break the build -- disable them
autoreconf --install --force
CFLAGS="-Os -g" ; export CFLAGS
mkdir -p $startdir/pkg/{boot/grub,usr,bin,sbin}
./configure --prefix=$startdir/pkg/usr --bindir=$startdir/pkg/bin \
--sbindir=$startdir/pkg/sbin --disable-auto-linux-mem-opt
make || return 1
make install || return 1
cp ../menu.lst $startdir/pkg/boot/grub
cp ../../splash.xpm.gz $startdir/pkg/boot/grub
install -m755 -D ../install-grub $startdir/pkg/sbin/install-grub
}
#------------------------PKGBUILD-------------------------
#--------------------CUT AFTER THIS-------------------------
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
pkgname=grub
pkgver=0.96
pkgrel=2
pkgdesc="A GNU multiboot boot loader"
url="http://www.gnu.org/software/grub/"
depends=('ncurses')
makedepends=('gzip')
source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
menu.lst install-grub grub-0.96-graphics.patch splash.xpm.gz)
backup=('boot/grub/menu.lst')
md5sums=('47c228c88f848873288ad1cd04cc93f0' '5802ecfcac64057a770947be7e26c045'\
'8c9cdb9b38cb158f762cac8fc7eabb28' '85a7a4fd93f48e9a4c1c311db297f97d'\
'894e82424f2d1cf4a76613e546645255')
build() {
cd $startdir/src/$pkgname-$pkgver
# add graphic background support
patch -p1 < ../grub-0.96-graphics.patch || return -1
# optimizations break the build -- disable them
autoreconf --install --force
CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin
CFLAGS= make || return 1
make DESTDIR=$startdir/pkg install
gzip ../splash.xpm
install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst
install -D -m644 ../splash.xpm.gz $startdir/pkg/boot/grub/splash.xpm.gz
install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
}
#--------------------UP TO PREVIOUS LINE-------------------------
The only problem found is that if the splash is included with the other files on the file list and md5sum list, then makepkg will decompress the splash image when extracting the source files. That's why I included gzip to recompress the splash again. I dunno if the splash can be used without compression, or a file can be bypassed from the uncompress stage.
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
pkgname=grub
pkgver=0.96
pkgrel=3
pkgdesc="A GNU multiboot boot loader"
url="http://www.gnu.org/software/grub/"
depends=('ncurses')
makedepends=('')
source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
menu.lst install-grub grub-0.96-graphics.patch splash.xpm.gz)
backup=('boot/grub/menu.lst')
md5sums=('47c228c88f848873288ad1cd04cc93f0' '5802ecfcac64057a770947be7e26c045'\
'8c9cdb9b38cb158f762cac8fc7eabb28' '85a7a4fd93f48e9a4c1c311db297f97d'\
'894e82424f2d1cf4a76613e546645255')
build() {
cd $startdir/src/$pkgname-$pkgver
# add graphic background support
patch -p1 < ../grub-0.96-graphics.patch || return -1
# optimizations break the build -- disable them
autoreconf --install --force
CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin
CFLAGS= make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst
install -D -m644 $startdir/splash.xpm.gz $startdir/pkg/boot/grub/splash.xpm.gz
install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
}
Other distributions bypass that problem by making the following symlink on /boot: ln -s . boot
I added the instruction to perform the symlink on the PKGBUILD. Hopefully there will be no more issues with the package.
#----------------PKGBUILD below---------------------------------
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
pkgname=grub
pkgver=0.96
pkgrel=4
pkgdesc="A GNU multiboot boot loader"
url="http://www.gnu.org/software/grub/"
depends=('ncurses')
makedepends=('')
source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
menu.lst install-grub grub-0.96-graphics.patch splash.xpm.gz)
backup=('boot/grub/menu.lst')
md5sums=('47c228c88f848873288ad1cd04cc93f0' '5802ecfcac64057a770947be7e26c045'\
'8c9cdb9b38cb158f762cac8fc7eabb28' '85a7a4fd93f48e9a4c1c311db297f97d'\
'894e82424f2d1cf4a76613e546645255')
build() {
cd $startdir/src/$pkgname-$pkgver
# add graphic background support
patch -p1 < ../grub-0.96-graphics.patch || return -1
# optimizations break the build -- disable them
autoreconf --install --force
CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin
CFLAGS= make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst
install -D -m644 $startdir/splash.xpm.gz $startdir/pkg/boot/grub/splash.xpm.gz
install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
# make symlink to fix path issues with splashimage
ln -sf . $startdir/pkg/boot/boot
}
http://bbs.archlinux.org/viewtopic.php?t=9081
I can't wait..!