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

RAE OS build config #44

Open
sskorol opened this issue Oct 20, 2023 · 6 comments
Open

RAE OS build config #44

sskorol opened this issue Oct 20, 2023 · 6 comments

Comments

@sskorol
Copy link
Contributor

sskorol commented Oct 20, 2023

Is the RAE OS build config published somewhere? As far as I understood, it's a custom Yocto build. But I can't find an easy way of installing custom tools there. For instance, I wonder why git is missing. I found it really annoying to scp everything through the host.
And there's no opkg available as well.

@themarpe
Copy link

Hi @sskorol - no at the moment the OS itself is not published.
We recommend utilizing the App approach, which we are also further building out with more functionality (offline as well)

@sskorol
Copy link
Contributor Author

sskorol commented Oct 20, 2023

@themarpe hi, can you elaborate on the App approach?

@sskorol
Copy link
Contributor Author

sskorol commented Oct 20, 2023

I guess you meant RobotHub apps. But it's not related to the original question.
I'm focused on ROS-related stuff. But to effectively work with the recent code, I need to install additional tools I get used to. For instance, I prepared a set of scripts to simplify testing. I pushed them into Git to let everyone access them and to track the changes, of course. But I can't sync my changes with the git repo, as RAE OS has neither Git nor package manager installed. Do you see what I mean? Could you please at least pre-install Git in the following releases? It will significantly simplify the development and testing efforts.

@themarpe
Copy link

@PetrNovota do you mind pointing @sskorol to App related documentation?

Yes - the App approach is a containerized approach, able to carry ROS and other runtimes. This allows the base OS to remain lean, while apps can bring various required dependencies.

We can add git to base as well, not an issue per se - but we try to limit number of overall things/dependencies

@PetrNovota
Copy link

@sskorol documentation is being created, so the general idea here is that you can specify the environment you need in a Dockerfile. In your robotapp.toml you can change it from

[runtime.runs_on]
type = "image"
name = "ghcr.io/some_image"

to

[runtime.runs_on]
type = "custom"
dockerfile = "Dockerfile"

and then in the Dockerfile you can install whatever you want using apt or apt-get

@sskorol
Copy link
Contributor Author

sskorol commented Oct 24, 2023

@PetrNovota thanks, let me check it.

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

3 participants