Date: Tuesday, April 21, 2020 @ 20:39:09
  Author: dvzrv
Revision: 380688

upgpkg: edk2 202002-5: Setting a proper post_install() message in 
edk2-ovmf.install for users of ovmf.

Modified:
  edk2/trunk/PKGBUILD
  edk2/trunk/edk2-ovmf.install

-------------------+
 PKGBUILD          |    2 +-
 edk2-ovmf.install |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-04-21 18:44:23 UTC (rev 380687)
+++ PKGBUILD    2020-04-21 20:39:09 UTC (rev 380688)
@@ -5,7 +5,7 @@
 pkgbase=edk2
 pkgname=('edk2-shell' 'edk2-ovmf')
 pkgver=202002
-pkgrel=4
+pkgrel=5
 pkgdesc="Modern, feature-rich firmware development environment for the UEFI 
specifications"
 arch=('any')
 url="https://github.com/tianocore/edk2";

Modified: edk2-ovmf.install
===================================================================
--- edk2-ovmf.install   2020-04-21 18:44:23 UTC (rev 380687)
+++ edk2-ovmf.install   2020-04-21 20:39:09 UTC (rev 380688)
@@ -1,5 +1,6 @@
-post_upgrade() {
-  if [ "$(vercmp "$2" 202002-1)" -le 0 ]; then
-    echo -e "The firmware location has changed to /usr/share/edk2-ovmf/.\n 
Symlinks were created for backwards compatibility.\n To update the paths run 
'virsh edit' on the virtual machines that use OVMF."
+post_install() {
+  # note for users of ovmf
+  if [ "$(vercmp "$1" '202002-5')" -le 0 ]; then
+    echo -e "The firmware location has changed to /usr/share/edk2-ovmf/. 
Symlinks were created for backwards compatibility.\nNOTE: To update the paths 
run 'virsh edit' on virtual machines that use OVMF."
   fi
 }

Reply via email to