Package Details: grub-legacy 0.97-25

Git Clone URL: https://aur.archlinux.org/grub-legacy.git (read-only)
Package Base: grub-legacy
Description: A GNU multiboot boot loader
Upstream URL: http://www.gnu.org/software/grub/
Licenses: GPL
Conflicts: grub
Submitter: pressh
Maintainer: ljmf00
Last Packager: ljmf00
Votes: 84
Popularity: 0.000000
First Submitted: 2012-07-20 09:42
Last Updated: 2018-10-29 22:12

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

bernarcher commented on 2013-06-04 16:38

Is it really necessary to install install-grub in /usr/sbin? It would fit in /usr/bin as well.
There is no /usr/sbin on the default PATH set by the recent /etc/profile changes.

darose commented on 2013-06-04 15:43

simon04 said he'd take it on

buttons commented on 2013-06-04 15:29

Would someone like to adopt and update the pkgbuild for /usr/bin?

divineant commented on 2013-06-04 12:01

No more /bin/ /sbin/ and /usr/sbin:
https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=grub-legacy
_srcname=grub
pkgver=0.97
-pkgrel=24
+pkgrel=25
pkgdesc="A GNU multiboot boot loader"
arch=('i686' 'x86_64')
license=('GPL')
@@ -76,10 +76,12 @@ build() {
patch -Np1 -i ../040_all_grub-0.96-nxstack.patch
# patch from frugalware to make it boot when more than 2GB ram installed
patch -Np1 -i ../05-grub-0.97-initrdaddr.diff
- CFLAGS="-static -fno-strict-aliasing" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \
+ CFLAGS="-static -fno-strict-aliasing" ./configure --prefix=/usr \
+ --bindir=/usr/bin --sbindir=/usr/bin \
--mandir=/usr/share/man --infodir=/usr/share/info
else
- CFLAGS="-fno-strict-aliasing" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \
+ CFLAGS="-fno-strict-aliasing" ./configure --prefix=/usr \
+ --bindir=/usr/bin --sbindir=/usr/bin \
--mandir=/usr/share/man --infodir=/usr/share/info
fi
}
@@ -90,6 +92,6 @@ package() {
CFLAGS= make
make DESTDIR=${pkgdir} install
install -D -m644 ../menu.lst ${pkgdir}/boot/grub/menu.lst
- install -D -m755 ../install-grub ${pkgdir}/sbin/install-grub
+ install -D -m755 ../install-grub ${pkgdir}/usr/bin/install-grub

}

divineant commented on 2013-06-04 11:40

/bin and /sbin has become symlinks

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=grub-legacy
_srcname=grub
pkgver=0.97
-pkgrel=24
+pkgrel=25
pkgdesc="A GNU multiboot boot loader"
arch=('i686' 'x86_64')
license=('GPL')
@@ -76,10 +76,10 @@ build() {
patch -Np1 -i ../040_all_grub-0.96-nxstack.patch
# patch from frugalware to make it boot when more than 2GB ram installed
patch -Np1 -i ../05-grub-0.97-initrdaddr.diff
- CFLAGS="-static -fno-strict-aliasing" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \
+ CFLAGS="-static -fno-strict-aliasing" ./configure --prefix=/usr --exec-prefix=/usr \
--mandir=/usr/share/man --infodir=/usr/share/info
else
- CFLAGS="-fno-strict-aliasing" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \
+ CFLAGS="-fno-strict-aliasing" ./configure --prefix=/usr --exec-prefix=/usr \
--mandir=/usr/share/man --infodir=/usr/share/info
fi
}
@@ -90,6 +90,6 @@ package() {
CFLAGS= make
make DESTDIR=${pkgdir} install
install -D -m644 ../menu.lst ${pkgdir}/boot/grub/menu.lst
- install -D -m755 ../install-grub ${pkgdir}/sbin/install-grub
+ install -D -m755 ../install-grub ${pkgdir}/usr/sbin/install-grub

}

ava1ar commented on 2013-06-04 09:21

You need to enable multilib repo, before building this: https://wiki.archlinux.org/index.php/Multilib

mhellwig commented on 2013-06-04 09:18

this (as well as the alternative PKGBUILD mentioned below) has a build dependency on gcc-multilib. which doesn't exist? I'm confused.

cmb commented on 2013-06-04 04:39

I just built this successfully in a clean chroot on x86_64,
with the adapted PKGBUILD from simon04.
I used multilib-build, from devtools.

Out of curiosity, I'd like to know something about the setups of the
people who are seeing the start_eltorito.S errors.
What architecture are you using, and how are you building the package?

simon04 commented on 2013-06-03 18:46

Here's an adapted PKGBUILD: https://gist.github.com/simon04/5700317

solstice commented on 2013-06-03 14:37

I got this error
gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DHAVE_CONFIG_H -I. -I.. -I../stage1 -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -static -fno-strict-aliasing -MT start_eltorito_exec-start_eltorito.o -MD -MP -MF .deps/start_eltorito_exec-start_eltorito.Tpo -c -o start_eltorito_exec-start_eltorito.o `test -f 'start_eltorito.S' || echo './'`start_eltorito.S
start.S: Assembler messages:
start.S:399: Error: missing ')'
start.S:399: Error: junk at end of line, first unrecognized character is `k'
make[3]: *** [start_exec-start.o] Error 1
make[3]: *** Waiting for unfinished jobs....
start_eltorito.S: Assembler messages:
start_eltorito.S:320: Error: missing ')'
start_eltorito.S:320: Error: junk at end of line, first unrecognized character is `k'
make[3]: *** [start_eltorito_exec-start_eltorito.o] Error 1
make[3]: Leaving directory `/home/solstice/abs/grub-legacy/src/grub-0.97/stage2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/solstice/abs/grub-legacy/src/grub-0.97/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/solstice/abs/grub-legacy/src/grub-0.97'
make: *** [all] Error 2