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#21735 - [grub2] include grub-emu in the grub2 package
Attached to Project:
Arch Linux
Opened by John (graysky) - Wednesday, 17 November 2010, 23:48 GMT
Last edited by Ronald van Haren (pressh) - Friday, 28 January 2011, 22:02 GMT
Opened by John (graysky) - Wednesday, 17 November 2010, 23:48 GMT
Last edited by Ronald van Haren (pressh) - Friday, 28 January 2011, 22:02 GMT
|
DetailsThe grub2 package lists libusb as an optdepends stating:
libusb: /sbin/grub-emu However, the package does not seem to provide /sbin/grub-emu at all nor can I find it in the repos or the AUR. Please include /sbin/grub-emu in the grub2 package. Additional info: * package version(s) 1.98-5 |
This task depends upon
Closed by Ronald van Haren (pressh)
Friday, 28 January 2011, 22:02 GMT
Reason for closing: Won't implement
Additional comments about closing: sorry, I need to set platform=pc. If there is an easy way to add this to the grub 1.99 packages you can re-open this
Friday, 28 January 2011, 22:02 GMT
Reason for closing: Won't implement
Additional comments about closing: sorry, I need to set platform=pc. If there is an easy way to add this to the grub 1.99 packages you can re-open this
pkgname=grub2-emu
pkgver=1.98
pkgrel=1
pkgdesc="The GNU GRand Unified Bootloader"
url="http://www.gnu.org/software/grub/"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('sh' 'lzo2' 'freetype2')
optdepends=('ruby:usr/share/grub/genmk.rb script' 'libusb: /sbin/grub-emu' 'gettext: /sbin/grub-mkconfig')
makedepends=('bdf-unifont' 'ruby')
source=(ftp://alpha.gnu.org/gnu/grub/grub-${pkgver}.tar.gz)
_fake=${srcdir}/fake
build() {
cd $srcdir/grub-${pkgver}
# use /usr/bin/python2 instead
sed -i 's|python|python2|' ${srcdir}/grub-${pkgver}/autogen.sh
# run autogen.sh to create configure files
./autogen.sh
# fix unifont.bdf location
sed -i 's|/usr/src/unifont.bdf|/usr/share/fonts/misc/unifont.bdf|' configure
CFLAGS= ./configure --with-platform=emu --prefix=/usr
CFLAGS= make
}
package() {
cd $srcdir/grub-${pkgver}
if [ -d ${_fake} ]; then
mkdir ${_fake}
fi
make DESTDIR=${_fake} install
mkdir -p ${pkgdir}/usr/sbin
install -m755 ${_fake}/usr/sbin/grub-emu ${pkgdir}/usr/sbin/grub-emu
}
sha256sums=('bef2c1892e052967b65aab6aa62ac702c0e50ef8848506eacf3c0b2f5007c614')