Custom System Image
-
We would like to add a few custom apt packages to be baked into the system image (e.g. telnet). We cannot install the packages after the system image is installed because we do not have internet. Is it possible to "bake" our own system image that's the exact same as a specific version of modal's system image but with a few extra apt installs?
-
@Rowan-Dempster Are you working with voxl1 or voxl2? I assume voxl2 since you mention apt
-
@tom Yes VOXL 2
Read some other posts
https://forum.modalai.com/topic/1191/cloning-system-image
https://forum.modalai.com/topic/2356/how-to-build-a-system-image/8
Looks like modal does not support exactly what I want. Any other work arounds? The main issue is we don't have internet access at any point in our flashing process.
-
@Rowan-Dempster Something I haven't tried personally but should be possible is downloading the apt packages as debians via.
apt-get download $PACKAGE_NAME
(on voxl2) and then pulling that debian into your custom voxl-suite packagesThis would get around the need for a custom system image
-
@tom I tried to download ROS melodic that way and it was quite painful (so many dependencies). I agree it's a work around but I would like it to be more streamlined if possible.
Also I don't know of a way to do the equivalent strategy for pip packages.
-
@tom If modal doesn't plan to support custom system image development in the near future I will continue to explore work arounds like offline-local-downloads, just wanted to check in with Modal first. If modal wants to explore custom system builds with a customers I'd be happy to work with modal on that.
-
@Rowan-Dempster If the packages you're looking to include are small I can look into getting them into our default system image. Otherwise yeah we may have to discuss other avenues for supporting a custom system image (not a decision that I can make personally)
Also most python packages are available via. apt with something like
apt-get install python3-numpy