-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD support #330
Comments
I had to fix two files in order to build on FreeBSD:
|
After that I get this runtime error:
|
Extracting images without SELinux works fine! I was able to create FreeBSD Jail from alpine image:
Note: skopeo needs patching to work on FreeBSD. See PRs linked to this issue: containers/skopeo#1163 |
The attribute error is almost certainly for the |
How is this handled on macOS? Is it possible to ignore xattrs when OS doesn’t support them? |
To be honest I'm not sure it works under macOS either (unless macOS is missing the setxattr(2) syscalls entirely)? I don't have a macOS machine and our integration tests don't yet run under macOS... We will need to switch CI systems soon (Travis is no longer usable for FOSS projects) so we will need to revisit the macOS testing as well... |
For CI you can try https://cirrus-ci.org/. I think it supports all major platforms. |
The issue is that FreeBSD does support xattrs, just not the particular one we have. Then again, ignoring |
That’s what I meant. :-) We should be able to extract CentOS and Fedora images too. |
Alright, I'll cook up a quick patch for this on Monday. Can you send a patch with the fixes for the files you needed to build on FreeBSD? |
@cyphar This below is quick fix I made in order to unblock build on FreeBSD. Most probably it'll break build on other systems so it requires more work. I can try to do this next week, however I'm not GO expert and I'm not sure how to proceed. :-)
|
That's okay, I can work with that change. We'll need to make a new OS-specific build file for that. |
Hi @cyphar, I went ahead and created a PR for you. Please review it or take it over whatever works best for you. |
Ref opencontainers#330 Signed-off-by: Mateusz Kwiatkowski <[email protected]>
Ref opencontainers#330 Signed-off-by: Mateusz Kwiatkowski <[email protected]>
Ref opencontainers#330 Signed-off-by: Mateusz Kwiatkowski <[email protected]>
Closing this since we now have FreeBSD support, and #364 tracks the issue with unpacking images. |
Now that umoci is supported on MacOS, we should probably also have it build on FreeBSD. The main issue is that Travis-CI doesn't support FreeBSD. So we might have to use some other CI which does...
The text was updated successfully, but these errors were encountered: