Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Add support for Centos-8 - #126

Closed
arkodg wants to merge 1 commit into
docker:masterfrom
arkodg:support-centos-8
Closed

Add support for Centos-8#126
arkodg wants to merge 1 commit into
docker:masterfrom
arkodg:support-centos-8

Conversation

@arkodg

@arkodgarkodg commented Jan 16, 2020

Copy link
Copy Markdown

No description provided.

Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
@StefanScherer

Copy link
Copy Markdown
Member

Build is failing

+ make VERSION=0.20200115.190524~b8797016 REVISION=b8797016bb34650f4c6dbec36e8407cc650147ec PACKAGE=containerd.io bin/containerd
+ bin/containerd
# github.com/containerd/containerd/vendor/github.com/containerd/btrfs
vendor/github.com/containerd/btrfs/btrfs.go:38:10: fatal error: btrfs/ioctl.h: No such file or directory
#include <btrfs/ioctl.h>
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:193: bin/containerd] Error 2

The Btrfs file system has been removed in Red Hat Enterprise Linux 8. This probably applies to CentOS 8, too.

@StefanScherer

StefanScherer commented Jan 17, 2020

Copy link
Copy Markdown
Member

Maybe something like this https://github.com/docker/containerd-packaging/blob/master/dockerfiles/rpm.dockerfile#L31 might help, but only for centos-8, not for centos-7.

@thaJeztah

Copy link
Copy Markdown
Member

Yes, looks like changes for RHEL8 were made in 4946024 (#83)

We should make the same changes for centos-8

@thaJeztah

Copy link
Copy Markdown
Member

Someone should probably check if #102 is needed as well for CentOS 8

@thaJeztah

Copy link
Copy Markdown
Member

superseded by #148

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@arkodg@StefanScherer@thaJeztah