Skip to content

Commit

Permalink
updpatch: grub 2:2.12-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia committed Sep 12, 2024
1 parent 7927c59 commit 23615e3
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions grub/riscv64.patch
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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

0 comments on commit 23615e3

Please sign in to comment.