[grub2] move comments for the hack for upgrading from grub2 < 1.99-4 so they appear in the right place
Peter Jones
pjones at fedoraproject.org
Mon Nov 7 16:45:26 UTC 2011
commit e3760090e5171933e882243165cc9904b6411081
Author: Mads Kiilerich <mads at kiilerich.com>
Date: Thu Oct 27 17:09:01 2011 +0200
move comments for the hack for upgrading from grub2 < 1.99-4 so they appear in the right place
grub2.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index c8552e2..bdfef89 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -232,11 +232,12 @@ if [ "$1" = 1 ]; then
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/grub2-dev.info.gz || :
fi
+%triggerun -- grub2 < 1:1.99-4
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
# from the affected grub2 packages, we first back up the files in triggerun and
# later restore them in triggerpostun.
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
-%triggerun -- grub2 < 1:1.99-4
+
# Back up the files before uninstalling old grub2
mkdir -p /boot/grub2.tmp &&
mv -f /boot/grub2/*.mod \
More information about the scm-commits
mailing list