From f8c414efa1136bb1d3838ad3d26c8b4f059e9f0f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 8 Jun 2022 13:43:18 +0000 Subject: [PATCH] use our package version string in sbat file --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index f8213cc..da67b46 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -279,7 +279,7 @@ _package_grub-efi() { rm -f "${pkgdir}/usr/lib/grub/${_EFI_ARCH}-efi"/*.image || true rm -f "${pkgdir}/usr/lib/grub/${_EFI_ARCH}-efi"/{kernel.exec,gdb_grub,gmodule.pl} || true - sed -e "s/%PKGVER%/${pkgver}/" < "${srcdir}/sbat.csv" > "${pkgdir}/usr/share/grub/sbat.csv" + sed -e "s/%PKGVER%/${epoch}:${pkgver}-${pkgrel}/" < "${srcdir}/sbat.csv" > "${pkgdir}/usr/share/grub/sbat.csv" } _package_grub-emu() {