grub: provide update-grub wrapper for n000bs.
This commit is contained in:
parent
9a0062feff
commit
87b659b427
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'grub'
|
# Template file for 'grub'
|
||||||
pkgname=grub
|
pkgname=grub
|
||||||
version="2.00"
|
version="2.00"
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-werror"
|
configure_args="--disable-werror"
|
||||||
makedepends="flex libusb-compat-devel ncurses-devel freetype-devel
|
makedepends="flex libusb-compat-devel ncurses-devel freetype-devel
|
||||||
|
@ -35,4 +35,9 @@ post_install() {
|
||||||
etc/kernel.d/post-install 50-grub
|
etc/kernel.d/post-install 50-grub
|
||||||
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
|
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
|
||||||
etc/kernel.d/post-remove 50-grub
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue