From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 20 Jun 2022 08:24:28 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o3Apn-007oM6-7D for lore@lore.pengutronix.de; Mon, 20 Jun 2022 08:24:28 +0200 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 1o3Apn-00015T-TO; Mon, 20 Jun 2022 08:24:27 +0200 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 1o3AlV-0004ei-D1; Mon, 20 Jun 2022 08:20:01 +0200 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 1o3AlT-001ahP-9N; Mon, 20 Jun 2022 08:20:00 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o3AlT-006GRR-Sx; Mon, 20 Jun 2022 08:19:59 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 20 Jun 2022 08:19:59 +0200 Message-Id: <20220620061959.1493126-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220615142217.990960-4-ejo@pengutronix.de> References: <20220615142217.990960-4-ejo@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] RAUC: leverage --disable-create option to shrink size for target RAUC 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 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 c2ad273712cfb89c292dd5a72e8e1ee87a997ab7. Michael [sent from post-receive hook] On Mon, 20 Jun 2022 08:19:59 +0200, Enrico Jorns wrote: > We do not need bundle creation capabilities on the target in most cases, > thus make this optional (and disable by default). > > Signed-off-by: Enrico Jorns > Message-Id: <20220615142217.990960-4-ejo@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/host-rauc.make b/rules/host-rauc.make > index e5190bb8e60a..f0716da042b6 100644 > --- a/rules/host-rauc.make > +++ b/rules/host-rauc.make > @@ -27,6 +27,7 @@ HOST_RAUC_CONF_OPT := \ > --disable-Werror \ > --disable-code-coverage \ > --disable-valgrind \ > + --enable-create \ > --disable-service \ > --enable-create \ > --disable-network \ > diff --git a/rules/rauc.in b/rules/rauc.in > index c6c697df7e9d..fa24fa61d318 100644 > --- a/rules/rauc.in > +++ b/rules/rauc.in > @@ -27,6 +27,15 @@ menuconfig RAUC > > if RAUC > > +config RAUC_CREATE > + bool > + prompt "Enable bundle creation support on target" > + help > + Enables support for creating bundles on target. > + Disabling this will remove functionality required for bundle > + creation which is not required on the target in most cases and thus > + allows to save space. > + > config RAUC_SERVICE > bool > prompt "Enable service (D-Bus) support" > diff --git a/rules/rauc.make b/rules/rauc.make > index 78f6c894b73e..6a2d49343105 100644 > --- a/rules/rauc.make > +++ b/rules/rauc.make > @@ -43,6 +43,7 @@ RAUC_CONF_OPT := \ > --disable-Werror \ > --disable-code-coverage \ > --disable-valgrind \ > + --$(call ptx/endis,PTXCONF_RAUC_CREATE)-create \ > --$(call ptx/endis,PTXCONF_RAUC_SERVICE)-service \ > --disable-create \ > --$(call ptx/endis,PTXCONF_RAUC_NETWORK)-network \