rauc: target rauc needs unsquashfs at runtime
PATCH 1/1 rauc: target rauc needs unsquashfs at runtime
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.
--- package/rauc/Config.in | 1 + 1 file changed, 1 insertion(+)
package/rauc/Config.in +1 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_RAUC select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_DBUS # run-time dependency + select BR2_PACKAGE_SQUASHFS # run-time dependency help RAUC is the Robust Auto-Update Controller developed by Pengutronix. It supports updating embedded Linux
Signature · 1 line
2.14.4
PATCH 1/1 rauc: target rauc needs unsquashfs at runtime
Hello,
Quoted 4 lines · Trent Piepho
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.
Quoted 8 lines
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 <[email protected]>--- 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 ?
I'm just trying to figure out if we really want this to be a mandatory dependency, or rather not enforce it, and simply document that it might be needed.
Thanks for your feedback,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 rauc: target rauc needs unsquashfs at runtime
Quoted 11 lines · Thomas Petazzoni
Hello,
Quoted 8 lines · Trent Piepho
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.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Trent Piepho <[email protected]>--- 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.
Thomas Petazzoni
AppliedPATCH 1/1 rauc: target rauc needs unsquashfs at runtime
In reply to Trent PiephoHello,
Quoted 4 lines · Trent Piepho
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.
Quoted 8 lines
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 <[email protected]>--- package/rauc/Config.in | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 rauc: target rauc needs unsquashfs at runtime
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello,
Quoted 8 lines · Trent Piepho
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.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Trent Piepho <[email protected]>---
package/rauc/Config.in | 1 +1 file changed, 1 insertion(+)Applied to master, thanks.
Committed to 2018.02.x and 2018.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard