opengauss-server/0002-add-kylinsec-platform.patch

33 lines
1.1 KiB
Diff
Raw Normal View History

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