Linutronix / elbe

Embedded Linux Build Environment
https://elbe-rfs.org
GNU General Public License v3.0
163 stars 59 forks source link

add squashfs options #316

Closed FedericoVaga closed 2 years ago

FedericoVaga commented 2 years ago

Hello,

it would be nice to have the <options></options> tag for <squashfs> (like with <tar>).

In my use-case I'm creating a network live image, where vmlinuz and initrd are published on a tftp server, while the rest of the root filesystem is on a web server in a squashfs image. Therefore, I need to create two <package>:

For the first one I can use <options>, hence I can filter what ends up in there. For the second one I can't, hence the squashfs image contains files that do not need to be there. However, mksquashfs has options to exclude paths, so it would be nice to use it.

This was for my use-case, but mksquashfs has other options that people may want to use