!13 Init riscv64 support
From: @misaka00251 Reviewed-by: @HelloWorld_lvcongqing Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
commit
ed79d2c125
22
Init-riscv64-support.patch
Normal file
22
Init-riscv64-support.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 821b79c7043e225d6dc0be756c352c5f1683b94c Mon Sep 17 00:00:00 2001
|
||||
From: misaka00251 <liuxin@iscas.ac.cn>
|
||||
Date: Thu, 11 Apr 2024 16:47:01 +0800
|
||||
Subject: [PATCH] Init riscv64 support
|
||||
|
||||
|
||||
diff --git a/app/src/fixboot/bootdoctor.cpp b/app/src/fixboot/bootdoctor.cpp
|
||||
index d2e3fe8..67bc0a3 100644
|
||||
--- a/app/src/fixboot/bootdoctor.cpp
|
||||
+++ b/app/src/fixboot/bootdoctor.cpp
|
||||
@@ -103,6 +103,8 @@ bool BootDoctor::fix(const QString &partDevice)
|
||||
"ppc64"
|
||||
#elif defined(HOST_ARCH_ppc64le)
|
||||
"ppc64le"
|
||||
+ #elif defined(HOST_ARCH_riscv64)
|
||||
+ "riscv64"
|
||||
#else
|
||||
"unknow"
|
||||
#endif
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@ -1,11 +1,15 @@
|
||||
Name: deepin-clone
|
||||
Version: 5.0.11
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Disk and partition backup/restore tool
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/deepin-clone
|
||||
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
%ifarch riscv64
|
||||
Patch1000: Init-riscv64-support.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -23,7 +27,7 @@ Requires: partclone
|
||||
Requires: jfsutils
|
||||
Requires: ntfs-3g
|
||||
Requires: xfsprogs
|
||||
ExclusiveArch: x86_64 %{ix86} aarch64
|
||||
ExclusiveArch: x86_64 %{ix86} aarch64 riscv64
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -60,6 +64,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||
#%{_libdir}/dde-file-manager/plugins/controllers/libdfm-plugin-dim-file.so
|
||||
|
||||
%changelog
|
||||
* Mon May 27 2024 misaka00251 <liuxin@iscas.ac.cn> - 5.0.11-3
|
||||
- Init riscv64 support
|
||||
|
||||
* Tue Aug 22 2023 leeffo <liweiganga@uniontech.com> - 5.0.11-2
|
||||
- fix compile error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user