-
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
Add FreeBSD support #357
Add FreeBSD support #357
Conversation
You need to add a NOTE: This is a saved reply. Sorry if it reads as a cookie-cutter response, it was written so that newcomers understand what a "DCO" is and make the process for contributing a little less scary. |
411bebf
to
a5afd68
Compare
@cyphar thank you for a tip. It should be fine now. |
Hey @cyphar, |
@cyphar friendly reminder about this PR. :-) |
Signed-off-by: Mateusz Kwiatkowski <[email protected]>
53eb426
to
92bf36c
Compare
Signed-off-by: Mateusz Kwiatkowski <[email protected]>
92bf36c
to
466a733
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of issues with types and a minor cleanup to avoid duplicating Tarmode
.
@cyphar thank you for your patience. I addressed your feedback again. |
ece7f2b
to
37670ed
Compare
If you can just squish your last three commits into one (so that the mknod changes are all in one commit), and CI passes this should be a good to go. Thanks! :D |
42641b3
to
f845a96
Compare
@cyphar squashed and force-pushed! |
One more commit incomming to fix failed test. |
f845a96
to
1fe9c02
Compare
Ok, this one surprised me:
I think it's from Edit: This |
5a77e6a
to
b158474
Compare
FreeBSD supports 64bit inodes so it requires that dev provided to unix.Mknod is type uint64. This commit creates wrapper for unix.Mknod to fix this issue. Signed-off-by: Mateusz Kwiatkowski <[email protected]>
b158474
to
ea32e1d
Compare
Hi @cyphar, Few more fixes and CI is happy. Changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I will look at adding a CI check to make sure we don't use unix.Mknod
by accident (as well as adding FreeBSD to our CI checks) -- thanks for the PR!
/cc @tych0 |
@cyphar thank you for your time. Is lack of that test a blocker for this PR or can we have it merged and add that test later? |
No, it's not a blocker. I'm waiting for @tych0 to review this since we need two LGTMs. |
FYI: I've just created and pushed freebsd image to Docker Hub: https://hub.docker.com/r/kwiat/freebsd/tags |
LGTM. |
Yup, I think Tycho forgot to hit the merge button. |
@cyphar woohoo! thank you for cooperation and your assistance. :-) |
This PR add support for building umoci on FreeBSD.
Ref. #330