From: Trent Piepho <tpiepho@impinj.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] rauc: target rauc needs unsquashfs at runtime
Date: Tue, 18 Dec 2018 22:55:00 +0000 [thread overview]
Message-ID: <1545173700.22930.57.camel@impinj.com> (raw)
In-Reply-To: <20181218225020.4ca03af4@windsurf>
On Tue, 2018-12-18 at 22:50 +0100, Thomas Petazzoni wrote:
> Hello,
>
> 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@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
unsquashfs.
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.
next prev parent reply other threads:[~2018-12-18 22:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 22:15 [Buildroot] [PATCH] rauc: target rauc needs unsquashfs at runtime Trent Piepho
2018-12-18 21:50 ` Thomas Petazzoni
2018-12-18 22:55 ` Trent Piepho [this message]
2018-12-30 21:42 ` Thomas Petazzoni
2019-01-23 14:33 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1545173700.22930.57.camel@impinj.com \
--to=tpiepho@impinj.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox