mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rauc: add dependency on 'unsquashfs'
@ 2017-03-31 16:39 Michael Tretter
  2017-04-03  8:23 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tretter @ 2017-03-31 16:39 UTC (permalink / raw)
  To: ptxdist; +Cc: ejo, Michael Tretter

rauc uses unsquashfs to extract the data from the bundle. If unsquashfs
is not installed, for example 'rauc info' fails with the following error
message:

	(rauc:302): rauc-WARNING **: Failed to start unsquashfs: Failed to execute child process "unsquashfs" (No such file or directory)

Therefore, rauc should pull unsquashfs as a dependency.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/rauc.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/rauc.in b/rules/rauc.in
index 263a67bf1..892cb730a 100644
--- a/rules/rauc.in
+++ b/rules/rauc.in
@@ -7,6 +7,7 @@ menuconfig RAUC
 	select GLIB
 	select LIBCURL		if RAUC_NETWORK
 	select JSON_GLIB	if RAUC_JSON
+	select SQUASHFS_TOOLS_UNSQUASHFS
 	help
 	  Robust Auto-Update Controller. RAUC controls the update process on embedded linux systems.
 
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-04  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 16:39 [ptxdist] [PATCH] rauc: add dependency on 'unsquashfs' Michael Tretter
2017-04-03  8:23 ` Michael Olbrich
2017-04-04  7:27   ` [ptxdist] [PATCH v2] " Michael Tretter
2017-04-04  8:09     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox