mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] rauc: add dependency on 'unsquashfs'
Date: Mon, 3 Apr 2017 10:23:40 +0200	[thread overview]
Message-ID: <20170403082340.rg6zwnrheltfzkk6@pengutronix.de> (raw)
In-Reply-To: <20170331163924.13714-1-m.tretter@pengutronix.de>

On Fri, Mar 31, 2017 at 06:39:24PM +0200, Michael Tretter wrote:
> 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

You need to select the package symbol as well. And this is a runtime only
dependency, right? So add this before the line above:

	select SQUASHFS_TOOLS	if RUNTIME

Michael

>  	help
>  	  Robust Auto-Update Controller. RAUC controls the update process on embedded linux systems.
>  
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-04-03  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-31 16:39 Michael Tretter
2017-04-03  8:23 ` Michael Olbrich [this message]
2017-04-04  7:27   ` [ptxdist] [PATCH v2] " Michael Tretter
2017-04-04  8:09     ` 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=20170403082340.rg6zwnrheltfzkk6@pengutronix.de \
    --to=m.olbrich@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