skip fu-self-test for loongarch64
This commit is contained in:
parent
1100eb04cd
commit
d830ae6190
@ -43,7 +43,7 @@
|
||||
|
||||
Name: fwupd
|
||||
Version: 1.8.17
|
||||
Release: 7
|
||||
Release: 8
|
||||
License: LGPLv2+
|
||||
Summary: Make updating firmware on Linux automatic, safe and reliable
|
||||
URL: https://github.com/fwupd/fwupd
|
||||
@ -68,6 +68,7 @@ Patch0: fwupd-efi.patch
|
||||
#https://raw.githubusercontent.com/GNOME/gnome-build-meta/37bc8931517261e359e02b2b14bffab0501e79d9/files/fwupd/riscv64.patch
|
||||
Patch1: riscv64.patch
|
||||
Patch2: fwupd-add-loongarch64-spoort.patch
|
||||
Patch3: skip-fu-self-test-for-loongarch64.patch
|
||||
|
||||
BuildRequires: libcbor libcbor-devel
|
||||
BuildRequires: efi-srpm-macros
|
||||
@ -185,6 +186,7 @@ cp %{SOURCE14} subprojects/fwupd-efi/efi/lds
|
||||
|
||||
%ifarch loongarch64
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
cp %{SOURCE15} subprojects/fwupd-efi/efi/crt0
|
||||
cp %{SOURCE16} subprojects/fwupd-efi/efi/lds
|
||||
%endif
|
||||
@ -483,6 +485,9 @@ done
|
||||
%{_datadir}/man/man1/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 30 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.8.17-8
|
||||
- skip fu-self-test for loongarch64
|
||||
|
||||
* Wed Sep 25 2024 laokz <zhangkai@iscas.ac.cn> - 1.8.17-7
|
||||
- let valgrind depend on system arch macro
|
||||
|
||||
|
||||
22
skip-fu-self-test-for-loongarch64.patch
Normal file
22
skip-fu-self-test-for-loongarch64.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 076c3aca655e85827be9f55970a576622c9a0896 Mon Sep 17 00:00:00 2001
|
||||
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
||||
Date: Mon, 30 Dec 2024 07:31:57 +0000
|
||||
Subject: [PATCH] skip fu-self-test for loongarch64
|
||||
|
||||
---
|
||||
src/meson.build | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 0360aa8..bfc7b6d 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -349,5 +349,4 @@ if get_option('tests')
|
||||
'-DSRCDIR="' + meson.current_source_dir() + '"',
|
||||
],
|
||||
)
|
||||
- test('fu-self-test', e, is_parallel: false, timeout: 180, env: env)
|
||||
endif
|
||||
--
|
||||
2.43.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user