diff --git a/debian_pkg_dirs b/debian_pkg_dirs index 32583858c..9a145d75e 100644 --- a/debian_pkg_dirs +++ b/debian_pkg_dirs @@ -55,6 +55,7 @@ kubernetes/crictl kubernetes/docker-distribution kubernetes/etcd kubernetes/helm +kubernetes/k8s-cni-cache-cleanup kubernetes/k8s-pod-recovery kubernetes/kubernetes-1.21.8 kubernetes/kubernetes-1.23.1 diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/changelog b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/changelog new file mode 100644 index 000000000..590d45086 --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +k8s-cni-cache-cleanup (1.0-1) unstable; urgency=medium + + * Initial release + + -- Andre Kantek Wed, 24 May 2022 08:50:58 -0300 diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/control b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/control new file mode 100644 index 000000000..a787c4316 --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/control @@ -0,0 +1,13 @@ +Source: k8s-cni-cache-cleanup +Section: admin +Priority: optional +Maintainer: StarlingX Developers +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.4.1 +Homepage: https://www.starlingx.io + +Package: k8s-cni-cache-cleanup +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: StarlingX k8s-cni-cache-cleanup script + Package with k8s-cni-cache-cleanup script diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/copyright b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/copyright new file mode 100644 index 000000000..90cd8adca --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/copyright @@ -0,0 +1,27 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: k8s-cni-cache-cleanup +Source: https://opendev.org/starlingx/config-files + +Files: * +Copyright: (c) 2013-2022 Wind River Systems, Inc +License: Apache-2 + +Files: debian/* +Copyright: 2022 Wind River Systems, Inc +License: Apache-2 + +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + https://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. \ No newline at end of file diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.dirs b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.dirs new file mode 100644 index 000000000..058d91b05 --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.dirs @@ -0,0 +1 @@ +usr/local/sbin \ No newline at end of file diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.install b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.install new file mode 100644 index 000000000..b1f82841d --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.install @@ -0,0 +1 @@ +usr/local/sbin/k8s-cni-cache-cleanup diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.lintian-overrides b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.lintian-overrides new file mode 100644 index 000000000..184f14509 --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/k8s-cni-cache-cleanup.lintian-overrides @@ -0,0 +1,2 @@ +file-in-usr-local +dir-in-usr-local diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/rules b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/rules new file mode 100644 index 000000000..a8b3801ed --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# Copyright (c) 2022 Wind River Systems, Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +#export DH_VERBOSE = 1 + +DEBIAN_DESTDIR := $(CURDIR)/debian/tmp + +%: + dh $@ + +override_dh_auto_test: + echo + +override_dh_auto_install: + echo + +override_dh_install: + install -d ${DEBIAN_DESTDIR}/usr/local/sbin + install -m 755 k8s-cni-cache-cleanup ${DEBIAN_DESTDIR}/usr/local/sbin/k8s-cni-cache-cleanup + dh_install + +override_dh_usrlocal: + echo diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/source/format b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/kubernetes/k8s-cni-cache-cleanup/debian/meta_data.yaml b/kubernetes/k8s-cni-cache-cleanup/debian/meta_data.yaml new file mode 100644 index 000000000..8e1a4b2cd --- /dev/null +++ b/kubernetes/k8s-cni-cache-cleanup/debian/meta_data.yaml @@ -0,0 +1,7 @@ +--- +debname: k8s-cni-cache-cleanup +debver: 1.0-1 +src_path: centos/files +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true