ublue-os / toolboxes

Centralized repository of containers designed for Toolbox/Distrobox
Apache License 2.0
42 stars 10 forks source link

fix: patch distrobox-init for startup without internet #75

Closed evanphilip closed 2 months ago

evanphilip commented 2 months ago

https://github.com/ublue-os/toolboxes/pull/74, which was introduced to resolve https://github.com/ublue-os/toolboxes/issues/73 broke the ability to start bluefin-cli without internet.

The bluefin-cli image does not have the packages man and pinentry, which is listed as a dependency for every distrobox container in distrobox-init (see here). This causes all packages to be reinstalled when the container is started, which requires internet. Hence, if there is no internet, the container fails to start.

This pull request patches distrobox-init to make the dependency list empty. An alternative fix would be to include all the dependencies listed by distrobox-init in the bluefin-cli image.