Open jjcarstens opened 3 months ago
Cool! Thank you. I believe tar_merger is still private so I'll copy over and rename. It has a number of deficiencies that I forgot to tell you about but it's getting close and this will definitely help me.
I added a few more notes. This could probably be split into 2 PRs for the EROFS concern, but after the redact that piece is so small that it could really go either way ¯_(ツ)_/¯
I've tested manually, but probably worth adding some tests if I can think of a good way how
Starts support to allow building firmware from a
rootfs.tar
tarball file more efficiently in Elixir, rather than relying on bash scripts to unsquash, combine, and resquash an FS.The
mix firmware
task was due for a good refactoring, so it looks like a lot. The old way of building is maintained for the typicalrootfs.squashfs
file that systems have traditionally provided.It also adjusts the build process to allow using EROFS instead of squashfs when making the firmware