From 7a7a0e1cc8ae30e31e771b078cedb06870efd521 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 9 Dec 2013 05:21:27 -0200 Subject: grub: add msdos.mod symlink --- libre/grub/PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libre/grub/PKGBUILD') diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD index c501a35c4..a4a17b4c8 100644 --- a/libre/grub/PKGBUILD +++ b/libre/grub/PKGBUILD @@ -15,7 +15,7 @@ _GRUB_GIT_COMMIT="5ae5c54c7e5cb048cdd78a53181cee0da698a953" pkgname="grub" pkgdesc="GNU GRand Unified Bootloader (2), (Parabola rebranded)" pkgver=2.00.1282.g5ae5c54 -pkgrel=1.2 +pkgrel=1.3 epoch="1" url="https://www.gnu.org/software/grub/" arch=('x86_64' 'i686') @@ -250,6 +250,9 @@ _package_grub-common_and_bios() { msg "Install /etc/default/grub (used by grub-mkconfig)" install -D -m0644 "${srcdir}/grub.default" "${pkgdir}/etc/default/grub" + msg "Add msdos.mod symlink" + ln -s "msdospart.mod" "${pkgdir}/usr/lib/grub/i386-pc/msdos.mod" || true + } _package_grub-efi() { @@ -265,6 +268,9 @@ _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 + msg "Add msdos.mod symlink" + ln -s "msdospart.mod" "${pkgdir}/usr/lib/grub/${_EFI_ARCH}-efi/msdos.mod" || true + } package() { -- cgit v1.2.3