Projects
Eulaceura:Factory
deepin-desktop-base
_service:obs_scm:1000-add-riscv64-support.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:1000-add-riscv64-support.patch of Package deepin-desktop-base
From 9a2f64700106bfa3c54c780cdbc2bcab39eaddc2 Mon Sep 17 00:00:00 2001 From: misaka00251 <liuxin@iscas.ac.cn> Date: Fri, 18 Aug 2023 15:13:05 +0800 Subject: [PATCH] Add riscv64 support --- Makefile | 6 +++++- files/desktop-version-riscv64-server.in | 9 +++++++++ files/desktop-version-riscv64.in | 9 +++++++++ files/os-license-riscv64 | 10 ++++++++++ files/os-version-riscv64 | 10 ++++++++++ 5 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 files/desktop-version-riscv64-server.in create mode 100644 files/desktop-version-riscv64.in create mode 100644 files/os-license-riscv64 create mode 100644 files/os-version-riscv64 diff --git a/Makefile b/Makefile index 3f703d1..03e2908 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,11 @@ build: sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-loongarch-server.in > files/desktop-version-server sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-license-loongarch > files/os-license sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-version-loongarch > files/os-version + else ifeq (${ARCH_BUILD}, riscv64) + sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-riscv64.in > files/desktop-version + sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/desktop-version-riscv64-server.in > files/desktop-version-server + sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-license-riscv64 > files/os-license + sed -e "s|@@VERSION@@|$(VERSION)|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/os-version-riscv64 > files/os-version endif sed -e "s|@@VERSION@@|20|g" -e "s|@@RELEASE@@|$(RELEASE)|g" files/lsb-release.in > files/lsb-release @@ -66,7 +71,6 @@ install: install -Dm644 files/i18n_dependent.json ${DESTDIR}/usr/share/i18n/i18n_dependent.json install -Dm644 files/language_info.json ${DESTDIR}/usr/share/i18n/language_info.json install -Dm644 files/desktop-version ${DESTDIR}/usr/lib/deepin/desktop-version - install -Dm644 files/os-license ${DESTDIR}/var/uos/os-license install -Dm644 files/os-version ${DESTDIR}/etc/os-version install -Dm644 files/lsb-release ${DESTDIR}/etc/lsb-release install -Dm644 files/appstore.json ${DESTDIR}/etc/appstore.json diff --git a/files/desktop-version-riscv64-server.in b/files/desktop-version-riscv64-server.in new file mode 100644 index 0000000..e66b575 --- /dev/null +++ b/files/desktop-version-riscv64-server.in @@ -0,0 +1,9 @@ +[Release] +Version=@@VERSION@@ +Type=Server +Type[zh_CN]=服务器版 +Edition=Y2020E0002 +Copyright=Y2020CR002 +[Addition] +Milestone=@@RELEASE@@ +Buildid=build1 diff --git a/files/desktop-version-riscv64.in b/files/desktop-version-riscv64.in new file mode 100644 index 0000000..be95de2 --- /dev/null +++ b/files/desktop-version-riscv64.in @@ -0,0 +1,9 @@ +[Release] +Version=@@VERSION@@ +Type=Desktop +Type[zh_CN]=社区版 +Edition=Y2020E0001 +Copyright=Y2020CR001 +[Addition] +Milestone=@@RELEASE@@ +Buildid=build1 diff --git a/files/os-license-riscv64 b/files/os-license-riscv64 new file mode 100644 index 0000000..f972246 --- /dev/null +++ b/files/os-license-riscv64 @@ -0,0 +1,10 @@ +[UOS-System] +product_id=AAAZAA +product_name=桌面 +instruction_type=RISCV64 +version=20 +minor_version=1030 +build_id=103 +system_cn=专业版 +system_en=Professional +server_sum=ffffffffffffffffffffffffffffffff diff --git a/files/os-version-riscv64 b/files/os-version-riscv64 new file mode 100644 index 0000000..9566c1d --- /dev/null +++ b/files/os-version-riscv64 @@ -0,0 +1,10 @@ +[Version] +SystemName=deepin +SystemName[zh_CN]=深度操作系统 +ProductType=Desktop +ProductType[zh_CN]=桌面 +EditionName=Community +EditionName[zh_CN]=社区版 +MajorVersion=20 +MinorVersion=1030 +OsBuild=11014.103 -- 2.39.2 (Apple Git-143)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2