upgrade to runc 1.1.8

Signed-off-by: vegbir <yangjiaqi16@huawei.com>
This commit is contained in:
vegbir 2023-07-21 06:50:39 +00:00
parent f85ad401ea
commit d25c0c7d2a
5 changed files with 21 additions and 15 deletions

View File

@ -5,24 +5,24 @@
# Author: jingrui@huawei.com
# Create: 2019-03-02
pkg=runc-1.1.3
pkg=runc-1.1.8
cwd=$PWD
src=$cwd/$pkg
tar zxvf v1.1.3.tar.gz
tar zxvf v1.1.8.tar.gz
if [ ! -d patch ];then
tar -xzf patch.tar.gz
fi
series=$cwd/series.conf
while IPF= read -r line
do
if [[ "$line" =~ ^patch* ]]; then
echo patch -p1 $cwd/$line
cd $src && patch -p1 < $cwd/$line
fi
done <"$series"
# series=$cwd/series.conf
# while IPF= read -r line
# do
# if [[ "$line" =~ ^patch* ]]; then
# echo patch -p1 $cwd/$line
# cd $src && patch -p1 < $cwd/$line
# fi
# done <"$series"
cd $cwd
cp -rf $src/* .
rm -rf runc-1.1.3
rm -rf runc-1.1.8

View File

@ -1 +1 @@
10d460b661a3a68e9f83784e2bd115d807eda098
402545a2eb494c01126d61f5d478922b32e7e022

View File

@ -2,12 +2,12 @@
%global debug_package %{nil}
Name: docker-runc
Version: 1.1.3
Release: 16
Version: 1.1.8
Release: 1
Summary: runc is a CLI tool for spawning and running containers according to the OCI specification.
License: ASL 2.0
Source0: https://github.com/opencontainers/runc/archive/refs/tags/v1.1.3.tar.gz
Source0: https://github.com/opencontainers/runc/archive/refs/tags/v1.1.8.tar.gz
Source1: apply-patch
Source2: series.conf
Source3: git-commit
@ -58,6 +58,12 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
%{_bindir}/runc
%changelog
* Fri July 21 2023 vegbir<yangjiaqi16@huawei.com> - 1.1.8-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:upgrade to runc 1.1.8
* Wed Jun 21 2023 zhongjiawei<zhongjiawei1@huawei.com> - 1.1.3-16
- Type:bugfix
- CVE:NA

Binary file not shown.

BIN
v1.1.8.tar.gz Normal file

Binary file not shown.