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

Is it possible to add a private debian repository? #23

Open
JensStaub opened this issue Mar 20, 2024 · 1 comment
Open

Is it possible to add a private debian repository? #23

JensStaub opened this issue Mar 20, 2024 · 1 comment

Comments

@JensStaub
Copy link

We are hosting a private debian repository to store internal software and libraries as deb packages.
Is it possible to add such a debian repository by adding a x.list file to the apt sources.list.d?
Additionally, we use a private server, hosting a rosdep.yaml which makes the matching from ROS package dependencies to the debian packages. Is it possible to add such thing as well?

I tried the custom.sh script to add these, but it is running after rosdep has tried to find the dependencies.

@lreiher
Copy link
Member

lreiher commented Apr 3, 2024

Hi, sorry for the delayed response!

I guess you are right, currently this is not possible via custom.sh and it's not supported as a native feature.

However, it might be quite easy to implement. The dependencies are currently found via rosdep in this line, so you would need to set up everything before that line. A good place might be below this block, since that's where the ROS apt repositories are added.

My suggestion would be to add a custom .list file, if it exists. The file handling logic and how it's brought into the image could be implemented similar to how custom.sh is treated here.

I would be more than happy to review a pull request, if you were to implement this feature yourself. Note that it might make sense to build images locally for testing purposes.

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