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

Agent build for Raspbian #24

Open
tobru opened this issue Jan 21, 2018 · 2 comments
Open

Agent build for Raspbian #24

tobru opened this issue Jan 21, 2018 · 2 comments

Comments

@tobru
Copy link

tobru commented Jan 21, 2018

It would be fantastic to have a Raspberry Pi compatible build of the amon agent. The armhf build sadly doesn't work.

Arch of Raspberry PI 3: armv7l

@martinrusev
Copy link
Member

martinrusev commented Jan 21, 2018

@tobru Can you help me with this one. I am a little bit lost in the ARM land. The agent can work on any architecture supported by Golang. So far I have the following in the build script:
https://github.com/amonapp/amonagent/blob/master/build.py

    if arch == "armhf":
        arch = 'arm' # (GOARCH=arm)
        additional_env_params.append("GOARM=6")
    if arch == "arm64":
        # GOARCH=arm64
        additional_env_params.append("GOARM=7")

Can you take a look at this page: https://github.com/golang/go/wiki/GoArm and tell me which parameters will work on Raspberry PI 3

@tobru
Copy link
Author

tobru commented Jan 21, 2018

@martinrusev I'll report back once I have a working build.

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

No branches or pull requests

2 participants