opengauss-server/0002-add-kylinsec-platform.patch
ouyanglearnning f93eefc569 add kylinsec platform
(cherry picked from commit 09fba82cd66e031435a20c69f457e89cde8bd090)
2024-04-26 20:59:55 +08:00

33 lines
1.1 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 02f0141586b12ca76582550a22894134e28c7962 Mon Sep 17 00:00:00 2001
From: xiewenhao <xiewenhao@kylinos.com.cn >
Date: Wed, 30 Mar 2022 17:32:43 +0800
Subject: [PATCH 2/2] add kylinsec platform
---
openGauss-server-2.1.0/src/get_PlatForm_str.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/openGauss-server-2.1.0/src/get_PlatForm_str.sh b/openGauss-server-2.1.0/src/get_PlatForm_str.sh
index 9fff29a..3f222cd 100755
--- a/openGauss-server-2.1.0/src/get_PlatForm_str.sh
+++ b/openGauss-server-2.1.0/src/get_PlatForm_str.sh
@@ -135,6 +135,15 @@ then
plat_form_str=kylin_"$cpu_bit"
fi
+##################################################################################
+# kylinsec platform
+# the result form like this: kylinsec_aarch64
+##################################################################################
+if [ "$kernel"x = "kylinsec"x ]
+then
+ plat_form_str=kylinsec_"$cpu_bit"
+fi
+
##################################################################################
# ubuntu platform
# the result form like this: ubuntu_x86_64
--
2.18.1