From 3d6a652669f747a6fd54b5937de4ed5167a463fe Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 5 Feb 2021 12:08:29 +0100 Subject: [PATCH] app-emulation/docker-runc: adjust Flatcar patch for 1.0.0-rc93 A Flatcar patch for docker-runc cannot be applied to 1.0.0-rc93. We need to adjust to build docker-runc 1.0.0-rc93. --- ...01-temporarily-disable-selinux.GetEnabled-error-checks.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/files/0001-temporarily-disable-selinux.GetEnabled-error-checks.patch b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/files/0001-temporarily-disable-selinux.GetEnabled-error-checks.patch index 886ab1f635..0f7756cf18 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/files/0001-temporarily-disable-selinux.GetEnabled-error-checks.patch +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/files/0001-temporarily-disable-selinux.GetEnabled-error-checks.patch @@ -18,9 +18,9 @@ index 3b42f301..bace067d 100644 "github.com/opencontainers/runc/libcontainer/configs" "github.com/opencontainers/runc/libcontainer/intelrdt" - selinux "github.com/opencontainers/selinux/go-selinux" + "golang.org/x/sys/unix" ) - type Validator interface { @@ -99,9 +98,6 @@ func (v *ConfigValidator) security(config *configs.Config) error { !config.Namespaces.Contains(configs.NEWNS) { return fmt.Errorf("unable to restrict sys entries without a private MNT namespace")