Compare commits
10 Commits
44a72a79e5
...
eeec8ae7ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eeec8ae7ab | ||
|
|
c79e962ac9 | ||
|
|
f38a3dcba1 | ||
|
|
6ee85c95d8 | ||
|
|
db38840da5 | ||
|
|
579a59f93c | ||
|
|
b1ad885037 | ||
|
|
3907126fe0 | ||
|
|
c5cb31e82d | ||
|
|
69cc390fc9 |
29
0001-add-loongarch64-support.patch
Normal file
29
0001-add-loongarch64-support.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From ecd6f4d20ab403dd4203f6f79735fb036e3224b4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: zhangxianting <zhangxianting@uniontech.com>
|
||||||
|
Date: Fri, 28 Jun 2024 18:06:45 +0800
|
||||||
|
Subject: [PATCH] add loongarch64 support
|
||||||
|
|
||||||
|
---
|
||||||
|
vendor/go.etcd.io/bbolt/bolt_loong64.go | 10 ++++++++++
|
||||||
|
1 file changed, 10 insertions(+)
|
||||||
|
create mode 100644 vendor/go.etcd.io/bbolt/bolt_loong64.go
|
||||||
|
|
||||||
|
diff --git a/vendor/go.etcd.io/bbolt/bolt_loongarch64.go b/vendor/go.etcd.io/bbolt/bolt_loongarch64.go
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..29bf04c
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/vendor/go.etcd.io/bbolt/bolt_loong64.go
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+//go:build loong64
|
||||||
|
+// +build loong64
|
||||||
|
+
|
||||||
|
+package bbolt
|
||||||
|
+
|
||||||
|
+// maxMapSize represents the largest mmap size supported by Bolt.
|
||||||
|
+const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
||||||
|
+
|
||||||
|
+// maxAllocSize is the size used when creating array pointers.
|
||||||
|
+const maxAllocSize = 0x7FFFFFFF
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
Binary file not shown.
27
kubekey.spec
27
kubekey.spec
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
Name: kubekey
|
Name: kubekey
|
||||||
Summary: Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
|
Summary: Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
|
||||||
Version: v2.2.2
|
Version: v3.0.7
|
||||||
Release: 1
|
Release: 3
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/kubesphere/kubekey
|
URL: https://github.com/kubesphere/kubekey
|
||||||
|
|
||||||
Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz
|
Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz
|
||||||
|
Patch0: 0001-add-loongarch64-support.patch
|
||||||
BuildRequires: git go
|
BuildRequires: git go
|
||||||
Requires: socat
|
Requires: socat
|
||||||
Requires: conntrack
|
Requires: conntrack
|
||||||
@ -19,20 +19,35 @@ Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related clo
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
bash -x build.sh -p
|
make kk
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
|
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
|
||||||
cp output/kk $RPM_BUILD_ROOT/usr/local/bin
|
cp bin/kk $RPM_BUILD_ROOT/usr/local/bin
|
||||||
|
|
||||||
%files
|
%files
|
||||||
/usr/local/bin/kk
|
/usr/local/bin/kk
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 28 2024 zhangxianting <zhangxianting@uniontech.com> v3.0.7-3
|
||||||
|
- Add loongarch64 support
|
||||||
|
|
||||||
|
* Tue Mar 14 2023 guofeng <guofeng@yunify.com> v3.0.7-2
|
||||||
|
- Add secure compilation parameters
|
||||||
|
|
||||||
|
* Mon Mar 13 2023 guofeng <guofeng@yunify.com> v3.0.7-1
|
||||||
|
- update to latest version v3.0.7
|
||||||
|
|
||||||
|
* Fri Jan 06 2023 chenmaodong <chenmaodong@xfusion.com> v2.2.2-3
|
||||||
|
- fix: delete k3s cluster with kubenetes version
|
||||||
|
|
||||||
|
* Thu Dec 29 2022 chenmaodong <chenmaodong@xfusion.com> v2.2.2-2
|
||||||
|
- fix invalid syntax of /etc/sysctl.conf after executing init os script
|
||||||
|
|
||||||
* Mon Aug 8 2022 guofeng <guofeng@yunify.com> v2.2.2-1
|
* Mon Aug 8 2022 guofeng <guofeng@yunify.com> v2.2.2-1
|
||||||
- update to latest version v2.2.2
|
- update to latest version v2.2.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user