-
Notifications
You must be signed in to change notification settings - Fork 66
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
Adding balena into buildroot #80
Comments
Hi @refiktuzakli , DOCKER_GITCOMMIT provides information about the sources at runtime. See: DOCKER_BUILDTAGS is used to strip the binary of things that were not tested/used. Basically, we deactivate the inclusion of some storage drivers. I'm not sure what your question is about We copy/install the mobynit tool too. https://github.com/resin-os/meta-resin/blob/master/meta-resin-common/recipes-containers/balena/balena_git.bb#L115 This tool is meant to be used when the root partition is a docker storage itself. So you can have a root file system as a docker image and use mobynit to mount that image and start an init system from it (for example systemd). |
I mean we create a link with .gopath/src/github.com/docker/docker, why this path related with docker why not .gopath/src/github.com/resin-os/balena because we download this from github/resion-os/balena! Another question is that What if we build without "-ldflags '-extldflags "-static"'", which functionality do we loos? size of balena binary remain same but size of mobynit binary goes down about 1M. How can we use mobynit binary when it build without ldflags? thanks |
|
The Go package infra was updated to use Go modules and now the |
Description
HelloI am trying to add balena into buildroot. I consider balena_git.bb file from meta-resin as cross-compile procedure. I sent a patch in order to add balena I took some feed back from buildroot. I have some question and I need your help in some point.
Questions
You can flow the e-mail from https://patchwork.ozlabs.org/patch/925039
if I am wrong at some point please warn
The text was updated successfully, but these errors were encountered: