rauc: select host-squashfs as a host dependency
authorAndrey Yurovsky <yurovsky@gmail.com>
Tue, 28 Nov 2017 03:27:22 +0000 (19:27 -0800)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 29 Nov 2017 21:11:53 +0000 (22:11 +0100)
The rauc host tool (used to generate update bundles) runs mksquashfs so
host-squashfs is required for it to work at runtime.

Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rauc/Config.in.host
package/rauc/rauc.mk

index a58685a2e6587eea23873df5340bb495b82902a2..1bd9a7935a911aa4882b4aaf5e48d77298b7b5a7 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_HOST_RAUC
        bool "host rauc"
+       select BR2_PACKAGE_HOST_SQUASHFS # run-time dependency
        help
          RAUC is the Robust Auto-Update Controller developed by
          Pengutronix. Enable this option to build the rauc
index 479a583206bf53b518919086b07e2363fa2557ca..67ef1556e7380f1544befd920e3bb32d2f18790f 100644 (file)
@@ -29,7 +29,7 @@ ifeq ($(BR2_PACKAGE_SYSTEMD),y)
 RAUC_DEPENDENCIES += systemd
 endif
 
-HOST_RAUC_DEPENDENCIES = host-pkgconf host-openssl host-libglib2
+HOST_RAUC_DEPENDENCIES = host-pkgconf host-openssl host-libglib2 host-squashfs
 HOST_RAUC_CONF_OPTS += --disable-network --disable-json --disable-service
 
 $(eval $(autotools-package))