summaryrefslogtreecommitdiff
path: root/libre/grub/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-09 05:21:27 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-09 05:21:27 -0200
commit7a7a0e1cc8ae30e31e771b078cedb06870efd521 (patch)
tree32f32c4cd3addc853e7c75064346edd8f2736ca7 /libre/grub/PKGBUILD
parent6bcdadfb5cdd3f00443919ac19cbb2d432835ce6 (diff)
downloadabslibre-7a7a0e1cc8ae30e31e771b078cedb06870efd521.tar.gz
abslibre-7a7a0e1cc8ae30e31e771b078cedb06870efd521.tar.bz2
abslibre-7a7a0e1cc8ae30e31e771b078cedb06870efd521.zip
grub: add msdos.mod symlink
Diffstat (limited to 'libre/grub/PKGBUILD')
-rw-r--r--libre/grub/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
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() {