Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpatch: fwupd #2749

Merged
merged 1 commit into from
Jun 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions fwupd/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
diff --git PKGBUILD PKGBUILD
index c69d56f..0deea56 100644
--- PKGBUILD
+++ PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc="Simple daemon to allow session software to update firmware"
arch=(x86_64)
url="https://github.com/fwupd/fwupd"
license=(LGPL)
-depends=(libxmlb efivar python libsmbios libgusb
+depends=(libxmlb efivar python libgusb
polkit shared-mime-info tpm2-tss flashrom
libjcat fwupd-efi gcab hicolor-icon-theme
bluez gnutls
@@ -44,7 +44,9 @@ build() {
arch-meson ${pkgname}-${pkgver} build \
-D b_lto=false \
-D docs=enabled \
- -D plugin_intel_spi=true \
+ -D plugin_intel_spi=false \
+ -D plugin_msr=disabled \
+ -D plugin_dell=disabled \
-D supported_build=enabled \
-D efi_binary=false
meson compile -C build
@@ -62,7 +64,4 @@ package() {
rm -r "${pkgdir}"/usr/share/installed-tests/
mv "${pkgdir}"/usr/bin/{,fwupd-}dbxtool
mv "${pkgdir}"/usr/share/man/man1/{,fwupd-}dbxtool.1
- # Remove msr module-load config as it is built-in
- rm "${pkgdir}"/usr/lib/modules-load.d/fwupd-msr.conf
- rmdir "${pkgdir}"/usr/lib/modules-load.d
}