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

Quick and easy way to get this installed on a bare-metal non-container Linux #48

Open
ericcurtin opened this issue Jun 7, 2022 · 1 comment

Comments

@ericcurtin
Copy link

ericcurtin commented Jun 7, 2022

Thanks very much for creating this, I'm curious I want to try this out, but on native bare-metal Linux (with a few user-space tools like an ssh server etc.). Any quick and easy guide? I could read LFS and try and figure it out. Has this been run on bare-metal or just in containers?

@KillingSpark
Copy link
Owner

KillingSpark commented Jun 7, 2022

Uhm, I dont habe a lot of experience with barebones linux. But i'd guess setting up a LFS using rustysd as the service manager could work.

I would advise against using it as the PID1 though. In theory it should work and the happy path likely will, but if anything goes wrong I don't think rustysd handles that well in its current state.

Awkwardly enough, I just merged a PR from githubs dependabot because of a scary sounding CVE and the build is currently broken. Seems like an easy fix tho. I wanted to do that soon anyways. Might as well do it this evening. Edit: done

If you have any more questions please ask, I'd be happy to help you get this running if I can!

Edit: But to answer the question posed in the title: if you compile this against musl-libc it has no further dependencies. So you should be able to just put the binary wherever, point it to your service files and be done... so far the theory. This works in a docker container, so I'd imagine it would work outside of one too.

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