!10 解决podman pull postgres:alpine报错问题,issue: I2BF99

From: @writings-of-prince-huainan
Reviewed-by: @jing-rui
Signed-off-by: @jing-rui
This commit is contained in:
openeuler-ci-bot 2021-01-13 17:43:58 +08:00 committed by Gitee
commit fea214c895
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From a4a9c1a934651bc526a3227903b884d7f3327fe3 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Wed, 13 Jan 2021 17:13:58 +0800
Subject: [PATCH] podman patch for local search
---
libpod.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/libpod.conf b/libpod.conf
index 2976cec..4001d21 100644
--- a/libpod.conf
+++ b/libpod.conf
@@ -7,6 +7,7 @@ image_default_transport = "docker://"
# Paths to look for a valid OCI runtime (runc, runv, etc)
runtime_path = [
"/usr/bin/runc",
+ "/usr/local/bin/runc",
"/usr/sbin/runc",
"/sbin/runc",
"/bin/runc",
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: podman
Version: 0.10.1
Release: 3
Release: 4
Summary: A daemonless container engine for managing Containers
Epoch: 1
License: ASL 2.0
@ -108,6 +108,8 @@ Provides: bundled(golang(k8s.io/client-go)) = 7cd1d3291b7d9b1e2d54d4b69eb65995ea
Provides: bundled(golang(k8s.io/kube-openapi)) = 275e2ce91dec4c05a4094a7b1daee5560b555ac9
Provides: bundled(golang(k8s.io/utils)) = 258e2a2fa64568210fbd6267cf1d8fd87c3cb86e
Patch1: 0001-podman-patch-for-local-search.patch
%description
Podman manages the entire container ecosystem which includes pods,
containers, container images, and container volumes using the libpod library.
@ -209,6 +211,9 @@ install -Dp -m644 libpod.conf %{buildroot}%{_datadir}/containers/libpod.conf
%{_mandir}/man5/*.5*
%changelog
* Wed Jan 13 2021 Shengjing Wei <weishengjing1@huawei.com> - 1:0.10.1-4
- Fix podman pull failed with issue I2BF99
* Thu Mar 12 2020 Ling Yang <lingyang2@huawei.com> - 1:0.10.1-3
- Fixed install fail