From 23615e36c39be8569209133c9bcd4a7c9c74183b Mon Sep 17 00:00:00 2001 From: Cryolitia PukNgae Date: Thu, 12 Sep 2024 19:46:18 +0000 Subject: [PATCH] updpatch: grub 2:2.12-3 --- grub/riscv64.patch | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/grub/riscv64.patch b/grub/riscv64.patch index c3657b2b6..71cadaaf8 100644 --- a/grub/riscv64.patch +++ b/grub/riscv64.patch @@ -1,8 +1,6 @@ -Index: PKGBUILD -=================================================================== ---- PKGBUILD (revision 452982) -+++ PKGBUILD (working copy) -@@ -11,9 +11,11 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -11,9 +11,11 @@ _GRUB_EMU_BUILD="0" [[ "${CARCH}" == 'x86_64' ]] && _EFI_ARCH='x86_64' [[ "${CARCH}" == 'i686' ]] && _EFI_ARCH='i386' @@ -14,25 +12,25 @@ Index: PKGBUILD pkgname='grub' pkgdesc='GNU GRand Unified Bootloader (2)' -@@ -232,7 +234,7 @@ - cd "${srcdir}/grub/" +@@ -287,7 +289,7 @@ build() { + cd "${srcdir}/grub/" - echo "Build grub bios stuff..." -- _build_grub-common_and_bios -+ #_build_grub-common_and_bios + echo "Build grub bios stuff..." +- _build_grub-common_and_bios ++ #_build_grub-common_and_bios - echo "Build grub ${_EFI_ARCH} efi stuff..." - _build_grub-efi -@@ -249,10 +251,10 @@ + echo "Build grub ${_EFI_ARCH} efi stuff..." + _build_grub-efi +@@ -304,10 +306,10 @@ build() { } _package_grub-common_and_bios() { -- cd "${srcdir}/grub-bios/" -+ cd "${srcdir}/grub/" +- cd "${srcdir}/grub-bios/" ++ cd "${srcdir}/grub/" - echo "Run make install for bios build..." -- make DESTDIR="${pkgdir}/" bashcompletiondir="/usr/share/bash-completion/completions" install -+ #make DESTDIR="${pkgdir}/" bashcompletiondir="/usr/share/bash-completion/completions" install + echo "Run make install for bios build..." +- make DESTDIR="${pkgdir}/" bashcompletiondir="/usr/share/bash-completion/completions" install ++ #make DESTDIR="${pkgdir}/" bashcompletiondir="/usr/share/bash-completion/completions" install - echo "Remove gdb debugging related files for bios build..." - rm -f "${pkgdir}/usr/lib/grub/i386-pc"/*.module || true + echo "Remove gdb debugging related files for bios build..." + rm -f "${pkgdir}/usr/lib/grub/i386-pc"/*.module || true