mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: ejo@pengutronix.de, Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH v2] rauc: add dependency on 'unsquashfs'
Date: Tue,  4 Apr 2017 09:27:38 +0200	[thread overview]
Message-ID: <1491290858-7955-1-git-send-email-m.tretter@pengutronix.de> (raw)
In-Reply-To: <20170403082340.rg6zwnrheltfzkk6@pengutronix.de>

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 runtime dependency.

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

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


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-04-04  7:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-31 16:39 [ptxdist] [PATCH] " Michael Tretter
2017-04-03  8:23 ` Michael Olbrich
2017-04-04  7:27   ` Michael Tretter [this message]
2017-04-04  8:09     ` [ptxdist] [PATCH v2] " Michael Olbrich

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=1491290858-7955-1-git-send-email-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=ejo@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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