Verified Commit 16126faa authored by Max Rees's avatar Max Rees
Browse files

user/grub: move trigger to easy-boot.d

parent 4d512ba8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=grub pkgname=grub
pkgver=2.04 pkgver=2.04
pkgrel=3 pkgrel=4
pkgdesc="Bootloader with support for Linux, Multiboot and more" pkgdesc="Bootloader with support for Linux, Multiboot and more"
url="https://www.gnu.org/software/grub/" url="https://www.gnu.org/software/grub/"
arch="all !s390x" arch="all !s390x"
...@@ -31,7 +31,6 @@ for f in $flavors; do ...@@ -31,7 +31,6 @@ for f in $flavors; do
done done
install="$pkgname.post-upgrade" install="$pkgname.post-upgrade"
triggers="$pkgname.trigger=/boot"
source="https://ftp.gnu.org/gnu/grub/grub-$pkgver.tar.xz source="https://ftp.gnu.org/gnu/grub/grub-$pkgver.tar.xz
adelie-branding.patch adelie-branding.patch
...@@ -134,6 +133,10 @@ package() { ...@@ -134,6 +133,10 @@ package() {
install -Dm755 "$i" \ install -Dm755 "$i" \
"$pkgdir"/etc/grub-quirks.d/"${i##"$srcdir"/quirk-}" "$pkgdir"/etc/grub-quirks.d/"${i##"$srcdir"/quirk-}"
done done
mkdir -p "$pkgdir"/etc/easy-boot.d
ln -s ../../usr/sbin/update-grub \
"$pkgdir"/etc/easy-boot.d/50-grub
} }
bios() { bios() {
......
#!/bin/sh -e
exec update-grub
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment