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

add qemu-user-static to the list of packages #27

Merged
merged 1 commit into from
Jan 3, 2017
Merged

add qemu-user-static to the list of packages #27

merged 1 commit into from
Jan 3, 2017

Conversation

nlm
Copy link
Contributor

@nlm nlm commented Jan 3, 2017

I added this because I ran into a problem when trying to build busybox:
In the build process, busybox compiles helpers that it uses to do some building tasks, and it fails when building for a different architecture than the hosts, because there is no way for the container to execute these compiled binaries.

With this addition, you can docker run --rm --privileged multiarch/qemu-user-static:register on the host to register qemu-user-static tools in the binfmt_misc facility, then run your crossbuild container. This way, busybox can compile without problems.

@nlm nlm changed the title add qemu-user-static to the list of installed packages add qemu-user-static to the list of packages Jan 3, 2017
Copy link
Member

@moul moul left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

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.

None yet

2 participants