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 <[email protected]>
> ---
>  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
> [email protected]

-- 
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
[email protected]

Reply via email to