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.tret...@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 via email to