[Buildroot] [PATCH] rauc: target rauc needs unsquashfs at runtime
tpiepho at impinj.com
Tue Dec 18 22:55:00 UTC 2018
On Tue, 2018-12-18 at 22:50 +0100, Thomas Petazzoni wrote:
> On Mon, 17 Dec 2018 22:15:19 +0000, Trent Piepho wrote:
> > In order to provide info about a bundle file, e.g. running "rauc info
> > bundle.raucb", rauc needs to use the unsquashfs progam from the squashfs
> > package.
> > This was not documented until upstream commit 10c501c12752 ("docs:
> > integration: document need for 'unsquashfs' tool for 'rauc info'"), but
> > is already present in rauc.
> > Signed-off-by: Trent Piepho <tpiepho at impinj.com>
> > ---
> > package/rauc/Config.in | 1 +
> > 1 file changed, 1 insertion(+)
> I am not familiar with rauc, so sorry for what is perhaps a silly
> question: is squashfs needed in all cases, or just for a certain bundle
> format, or certain use cases ?
The only bundle format they support uses squashfs.
To install a bundle on the target, rauc uses a loopback mount and the
kernel's squashfs support to get to the contents of the bundle. But to
query a bundle file's metadata without installing it, it uses
So one could get by without unsquashfs if they were ok with certain
rauc features mysteriously not working. There are no good error
messages when unsquashfs is not present.
Rauc doesn't have a feature to build without info support, so if one
doesn't have unsquashfs it really does build in a broken state. You
can not use the broken parts, but that thinking could apply to just
about any runtime dependency. It seems like pruning out non-optional
features is one of those things that shouldn't be a default.
More information about the buildroot