Upgrade runc to 1.1.7

As documented at
https://kubernetes.io/blog/2022/12/09/kubernetes-v1-26-release K8s
1.26 will no longer support containerd 1.5 and lower.

Accordingly we are upgrading runc to 1.1.7 to be aligned
with something closer to what the upstream K8s versions are using.

The Debian package for runc comes from "bookworm" and
would require us to bring in a newer glibc and newer python3, which
is not something we want to do at this point.

As a workaround, we are pulling in the prebuilt binaries from
the runc github project, which work fine with our existing
packages.

It's not a compile-time dependency, but these Ansible changes are
needed to actually run K8s 1.26:
https://review.opendev.org/c/starlingx/ansible-playbooks/+/879356

Test Plan:
  PASS: Install with K8s 1.26 on AIO-SX and ensure the system comes up
  normally.

Story: 2010368
Task: 46592

Change-Id: Id9380ef1fc0064c311d8901f1d0f3a043ba6e4d4
Signed-off-by: Saba Touheed Mujawar <sabatouheed.mujawar@windriver.com>
This commit is contained in:
Saba Touheed Mujawar 2023-05-18 09:27:22 -04:00
parent 4c97d94777
commit 1da437b44b
7 changed files with 65 additions and 6 deletions

View File

@ -0,0 +1,5 @@
runc (1.1.7) STABLE; urgency=medium
* Initial release using binaries from upstream runc package
-- Saba Touheed Mujawar <sabatouheed.mujawar@windriver.com> Mon, 29 May 2023 04:08:15 -0400

View File

@ -0,0 +1,16 @@
Source: runc
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13),
dh-exec,
Standards-Version: 4.6.1
Homepage: https://github.com/opencontainers/runc
Package: runc
Architecture: linux-any
Depends: ${misc:Depends},
${shlibs:Depends},
Description: runc is a CLI tool for spawning and running containers
on Linux according to the OCI specification.
This package contains the binaries.

View File

@ -0,0 +1,27 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: runc
Source: https://github.com/opencontainers/runc
Files: *
License: Apache-2
Other files are included from the upstream runc
binary package at
https://github.com/opencontainers/runc/releases/download/v1.1.7/runc.amd64
License: Apache-2.0
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
.
http://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 systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".

View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
%:
dh $@

View File

@ -0,0 +1,2 @@
#!/usr/bin/dh-exec --with=install
runc.amd64 => usr/bin/runc

View File

@ -0,0 +1 @@
1.0

View File

@ -1,11 +1,12 @@
---
debname: runc
debver: 1.0.2+ds1-2
dl_path:
name: runc-debian-1.0.2+ds1-2.tar.gz
url: https://salsa.debian.org/go-team/packages/runc/-/archive/debian/1.0.2+ds1-2/runc-debian-1.0.2+ds1-2.tar.gz
md5sum: b5d8a40e5def530abb66f6555c0f55a7
sha256sum: 7d4d68f2e9f15881fd55de723ee507fbefc396a184ebbeda0cbc560983fd1689
debver: 1.1.7
src_path: null
dl_files:
runc.amd64:
topdir: null
url: https://github.com/opencontainers/runc/releases/download/v1.1.7/runc.amd64
sha256sum: c3aadb419e5872af49504b6de894055251d2e685fddddb981a79703e7f895cbd
revision:
dist: $STX_DIST
GITREVCOUNT: