From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Nov 2021 15:35:44 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mqcKG-0004CH-0P for lore@lore.pengutronix.de; Fri, 26 Nov 2021 15:35:44 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mqcKF-0006Y4-Bp; Fri, 26 Nov 2021 15:35:43 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqcJi-0005Nl-Df; Fri, 26 Nov 2021 15:35:10 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1mqcJh-001BvM-VC; Fri, 26 Nov 2021 15:35:09 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1mqcJg-0054Gd-DW; Fri, 26 Nov 2021 15:35:08 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 26 Nov 2021 15:35:08 +0100 Message-Id: <20211126143508.1208000-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211110170853.4090399-1-ejo@pengutronix.de> References: <20211110170853.4090399-1-ejo@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] rauc: add option to enable GPT bootloader partition update support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Enrico Jorns Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 18421a8862ab7c198be2ee6765c677bb5c23581f. Michael [sent from post-receive hook] On Fri, 26 Nov 2021 15:35:08 +0100, Enrico Jorns wrote: > The --enable-gpt switch was introduced in RAUC v1.4. > > Signed-off-by: Enrico Jorns > Message-Id: <20211110170853.4090399-1-ejo@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/rauc.in b/rules/rauc.in > index 744bc95d9d6d..373aca2445c4 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=' > > +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 08df6336a7cd..f74f6b62c0cb 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 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de