Debian: add package k8s-cni-cache-cleanup build files

This change adds the package k8s-cni-cache-cleanup to StarlingX's
Debian build

Test Plan:
PASS  build Debian ISO
PASS  install AIO-SX Debian ISO
PASS  Check package k8s-cni-cache-cleanup is present
PASS  Check presence of script /usr/local/sbin/k8s-cni-cache-cleanup

Story: 2009965
Task: 45461

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: I277937ad1be326f75c3b5fc01a30e775a7b9ca0a
This commit is contained in:
Andre Fernando Zanella Kantek 2022-05-24 11:43:55 -03:00
parent fd1d2a5682
commit b23d4c84c2
10 changed files with 83 additions and 0 deletions

View File

@ -53,6 +53,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-unversioned

View File

@ -0,0 +1,5 @@
k8s-cni-cache-cleanup (1.0-1) unstable; urgency=medium
* Initial release
-- Andre Kantek <AndreFernandoZanella.Kantek@windriver.com> Wed, 24 May 2022 08:50:58 -0300

View File

@ -0,0 +1,13 @@
Source: k8s-cni-cache-cleanup
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
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

View File

@ -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'.

View File

@ -0,0 +1 @@
usr/local/sbin

View File

@ -0,0 +1 @@
usr/local/sbin/k8s-cni-cache-cleanup

View File

@ -0,0 +1,2 @@
file-in-usr-local
dir-in-usr-local

View File

@ -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

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,7 @@
---
debname: k8s-cni-cache-cleanup
debver: 1.0-1
src_path: centos/files
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true