Make new composefs option configurable in menu.

Changelog: https://github.com/rauc/rauc/releases/tag/v1.14

License section in README.rst has updated year.

Signed-off-by: Bruno Thomsen <[email protected]>
---
v1-v2:
License hash changed after year bump.
Add missing composefs dependency.

 rules/rauc.in   | 8 ++++++++
 rules/rauc.make | 7 ++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/rules/rauc.in b/rules/rauc.in
index ee9c3f955..ed951db02 100644
--- a/rules/rauc.in
+++ b/rules/rauc.in
@@ -12,6 +12,7 @@ menuconfig RAUC
        select BUSYBOX_FEATURE_TAR_LONG_OPTIONS if BUSYBOX_TAR
        select BUSYBOX_FEATURE_TAR_AUTODETECT   if BUSYBOX_TAR
        select BUSYBOX_FEATURE_SEAMLESS_GZ      if BUSYBOX_TAR
+       select COMPOSEFS                        if RAUC_COMPOSEFS
        select DBUS                             if RAUC_SERVICE
        select LIBCURL                          if RAUC_NETWORK
        select LIBNL3                           if RAUC_STREAMING
@@ -80,6 +81,13 @@ config RAUC_GPT
          For details, see
          
https://rauc.readthedocs.io/en/latest/advanced.html#update-boot-partition-in-gpt
 
+config RAUC_COMPOSEFS
+       bool
+       prompt "Enable composefs support"
+       help
+         Enables support for creating composefs artifact repository.
+         For details, see
+         https://rauc.readthedocs.io/en/latest/integration.html#repository-type
 
 config RAUC_CONFIGURATION
        bool
diff --git a/rules/rauc.make b/rules/rauc.make
index 9a8671c32..a3a5071e5 100644
--- a/rules/rauc.make
+++ b/rules/rauc.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_RAUC) += rauc
 #
 # Paths and names
 #
-RAUC_VERSION           := 1.13
-RAUC_MD5               := cb740d131e2e831810407f2d39d373dd
+RAUC_VERSION           := 1.14
+RAUC_MD5               := a99bac2e1a6bf26d75c6427b5e994e7f
 RAUC                   := rauc-$(RAUC_VERSION)
 RAUC_SUFFIX            := tar.xz
 RAUC_URL               := 
https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)/$(RAUC).$(RAUC_SUFFIX)
@@ -23,7 +23,7 @@ RAUC_SOURCE           := $(SRCDIR)/$(RAUC).$(RAUC_SUFFIX)
 RAUC_DIR               := $(BUILDDIR)/$(RAUC)
 RAUC_LICENSE           := LGPL-2.1-or-later
 RAUC_LICENSE_FILES     := \
-       
file://README.rst;startline=281;endline=294;md5=a0262c76b558b6a450c56cae990d129a
 \
+       
file://README.rst;startline=281;endline=294;md5=340a79569c116c7f0439677b0a9fd6c3
 \
        file://COPYING;md5=4fbd65380cdd255951079008b364516c
 
 # ----------------------------------------------------------------------------
@@ -43,6 +43,7 @@ RAUC_CONF_OPT := \
        -Dsystemdcatalogdir=/usr/lib/systemd/catalog \
        -Dfuzzing=false \
        -Dgpt=$(call ptx/endis,PTXCONF_RAUC_GPT)d \
+       -Dcomposefs=$(call ptx/endis,PTXCONF_RAUC_COMPOSEFS)d \
        -Dhtmldocs=false \
        -Djson=$(call ptx/endis,PTXCONF_RAUC_JSON)d \
        -Dnetwork=$(call ptx/truefalse,PTXCONF_RAUC_NETWORK) \
-- 
2.50.0


Reply via email to