Skip to content
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

util: add binfmt_misc binary detection #840

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

tonistiigi
Copy link
Member

@AkihiroSuda @tiborvass

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

@tiborvass
Copy link
Collaborator

Looks good overall, but didn't test

@tonistiigi tonistiigi force-pushed the qemu-detection branch 2 times, most recently from e239db7 to fec983c Compare February 27, 2019 19:33
@tonistiigi tonistiigi force-pushed the qemu-detection branch 3 times, most recently from 7d41a90 to 28b5d4a Compare February 27, 2019 21:36
defer f.Close()
buf := &bytes.Buffer{}

gz, err := gzip.NewWriterLevel(newHexStringWriter(buf), gzip.BestCompression)
Copy link
Member

Choose a reason for hiding this comment

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

is it worth gzipping?

Copy link
Member Author

Choose a reason for hiding this comment

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

It saves a little bit in binary size. They seem to compress quite well.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
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