grub: provide update-grub wrapper for n000bs.

This commit is contained in:
Juan RP 2012-07-02 19:41:40 +02:00
parent 9a0062feff
commit 87b659b427

View file

@ -1,7 +1,7 @@
# Template file for 'grub'
pkgname=grub
version="2.00"
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-werror"
makedepends="flex libusb-compat-devel ncurses-devel freetype-devel
@ -35,4 +35,9 @@ post_install() {
etc/kernel.d/post-install 50-grub
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
etc/kernel.d/post-remove 50-grub
# update-grub for noobs.
printf "#!/bin/sh\ngrub-mkconfig -o /boot/grub/grub.cfg\nexit \$?\n" >> \
${DESTDIR}/usr/sbin/update-grub
chmod 755 ${DESTDIR}/usr/sbin/update-grub
}