[lxc-devel] [distrobuilder/master] sources: Fix CentOS 8-Stream rootfs
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Tue Oct 6 13:05:57 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 310 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201006/55d479f6/attachment.bin>
-------------- next part --------------
From 1085380d0f316aa379b06cee78c0321dcff8302f Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 6 Oct 2020 15:05:05 +0200
Subject: [PATCH] sources: Fix CentOS 8-Stream rootfs
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
sources/centos-http.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sources/centos-http.go b/sources/centos-http.go
index e580c92..7a8f052 100644
--- a/sources/centos-http.go
+++ b/sources/centos-http.go
@@ -348,7 +348,7 @@ fi
# Create a minimal rootfs
mkdir /rootfs
-yum ${yum_args} --installroot=/rootfs -y --releasever=%s install basesystem centos-release yum
+yum ${yum_args} --installroot=/rootfs -y --releasever=%s --skip-broken install basesystem centos-release yum
rm -rf /rootfs/var/cache/yum
`, gpgKeysPath, s.majorVersion))
if err != nil {
More information about the lxc-devel
mailing list