The --enable-gpt switch was introduced in RAUC v1.4.
Signed-off-by: Enrico Jorns <[email protected]>
---
rules/rauc.in | 11 +++++++++++
rules/rauc.make | 1 +
2 files changed, 12 insertions(+)
diff --git a/rules/rauc.in b/rules/rauc.in
index 744bc95d9..373aca244 100644
--- a/rules/rauc.in
+++ b/rules/rauc.in
@@ -14,6 +14,7 @@ menuconfig RAUC
select DBUS if RAUC_SERVICE
select LIBCURL if RAUC_NETWORK
select JSON_GLIB if RAUC_JSON
+ select UTIL_LINUX_NG_LIBFDISK if RAUC_GPT
select SQUASHFS_TOOLS if RUNTIME
select SQUASHFS_TOOLS_UNSQUASHFS if RUNTIME
select DT_UTILS if RUNTIME && RAUC_BAREBOX
@@ -50,6 +51,16 @@ config RAUC_JSON
Enables JSON output format for 'rauc info' and 'rauc status'.
Output format can be selected via '--output-format=<json/json-pretty>'
+config RAUC_GPT
+ bool
+ prompt "Support atomic EFI/bootloader partition updates (GPT)"
+ help
+ Enables support for atomic bootloader updates on first GPT (EFI)
+ partition (slot type 'boot-gpt-switch').
+ For details, see
+
https://rauc.readthedocs.io/en/latest/advanced.html#update-boot-partition-in-gpt
+
+
config RAUC_CONFIGURATION
bool
prompt "Install RAUC configuration in /etc/rauc"
diff --git a/rules/rauc.make b/rules/rauc.make
index 08df6336a..f74f6b62c 100644
--- a/rules/rauc.make
+++ b/rules/rauc.make
@@ -44,6 +44,7 @@ RAUC_CONF_OPT := \
--$(call ptx/endis,PTXCONF_RAUC_SERVICE)-service \
--$(call ptx/endis,PTXCONF_RAUC_NETWORK)-network \
--$(call ptx/endis,PTXCONF_RAUC_JSON)-json \
+ --$(call ptx/endis,PTXCONF_RAUC_GPT)-gpt \
--with-systemdunitdir=/usr/lib/systemd/system \
--with-dbuspolicydir=/usr/share/dbus-1/system.d \
--with-dbussystemservicedir=/usr/share/dbus-1/system-services
--
2.30.2
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]