Skip to content

mountinfo: support darwin build#85

Merged
kolyshkin merged 1 commit intomoby:masterfrom
ukontainer:add-darwin
Oct 22, 2021
Merged

mountinfo: support darwin build#85
kolyshkin merged 1 commit intomoby:masterfrom
ukontainer:add-darwin

Conversation

@thehajime
Copy link
Copy Markdown
Contributor

@thehajime thehajime commented Oct 9, 2021

This PR allows us to use mountinfo by darwin programs, which is used in this PR (via mount.Lookup() of containerd).

containerd/containerd#5935

Signed-off-by: Hajime Tazaki <[email protected]>
@thehajime
Copy link
Copy Markdown
Contributor Author

I added one more fix to do tests on darwin.

diff --git a/mountinfo/mountinfo_test.go b/mountinfo/mountinfo_test.go
index a584bbf..aec4356 100644
--- a/mountinfo/mountinfo_test.go
+++ b/mountinfo/mountinfo_test.go
@@ -1,4 +1,4 @@
-// +build !windows,!darwin
+// +build !windows
 
 package mountinfo
 

Copy link
Copy Markdown
Collaborator

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming CI is 🍏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants