[arch-commits] Commit in grub/trunk (PKGBUILD grub.install)
Christian Hesse
eworm at gemini.archlinux.org
Mon Aug 29 09:58:32 UTC 2022
Date: Monday, August 29, 2022 @ 09:58:32
Author: eworm
Revision: 454684
upgpkg: grub 2:2.06.r322.gd9b4638c5-3: add an upgrade message
Modified:
grub/trunk/PKGBUILD
grub/trunk/grub.install
--------------+
PKGBUILD | 2 +-
grub.install | 16 +++++++++++++---
2 files changed, 14 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 07:32:13 UTC (rev 454683)
+++ PKGBUILD 2022-08-29 09:58:32 UTC (rev 454684)
@@ -22,7 +22,7 @@
_pkgver=2.06.r322.gd9b4638c5
_unifont_ver='14.0.04'
pkgver=${_pkgver/-/}
-pkgrel=2
+pkgrel=3
url='https://www.gnu.org/software/grub/'
arch=('x86_64')
license=('GPL3')
Modified: grub.install
===================================================================
--- grub.install 2022-08-29 07:32:13 UTC (rev 454683)
+++ grub.install 2022-08-29 09:58:32 UTC (rev 454684)
@@ -7,6 +7,16 @@
mv /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg
fi
+ # Give a hint to update installation and configuration one after another.
+ cat <<EOM
+:: To use the new features provided in this GRUB update, it is recommended
+ to install it to the MBR or UEFI. Due to potential configuration
+ incompatibilities, it is advised to run both, installation and generation
+ of configuration:
+ \$ grub-install ...
+ \$ grub-mkconfig -o /boot/grub/grub.cfg
+EOM
+
# return if old package version greater 2:2.06-0...
(( $(vercmp $2 '2:2.06-0') > 0 )) && return
@@ -21,8 +31,8 @@
post_install() {
cat <<EOM
-:: Generate your bootloader configuration with:
- grub-mkconfig -o /boot/grub/grub.cfg
+:: Install your bootloader and generate configuration with:
+ \$ grub-install ...
+ \$ grub-mkconfig -o /boot/grub/grub.cfg
EOM
}
-
More information about the arch-commits
mailing list