From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <15aea096a6b8e1a533d9d8069118889fb2dd5d81.camel@pengutronix.de> Subject: Re: [RAUC] Create bundles from command line outside of yocto? From: Enrico =?ISO-8859-1?Q?J=F6rns?= Date: Thu, 17 Jun 2021 12:20:48 +0200 In-Reply-To: References: <592943eab0a32f9e1b892960e84e0524a6f56c14.camel@pengutronix.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: Brian Hutchinson Cc: rauc@pengutronix.de, Jan =?ISO-8859-1?Q?L=FCbbe?= List-ID: Hi Brian, Am Mittwoch, dem 16.06.2021 um 08:45 -0400 schrieb Brian Hutchinson: > > If you have a separate shared data partition, then I would recommend to > > configure RAUC to use this for its status file (which cannot be located > > inside > > the slot anymore when having "ro by design"): > > > >   [system] > >   ... > >   statusfile=/path/to/datapart/rauc.status > > > > See https://rauc.readthedocs.io/en/latest/reference.html#statusfile > > > > > I'll check that out.  I'm using u-boot so I "thought" all the status stuff was > being done with u-boot environment variables via fw_setenv/fw_printenv. u-boot is used for the partition/slot switching only. This is sufficient for basic functionality of of RAUC. In the status file we store some additional information, like when and how often a slot was updated, or which bundle version it is running. You get this for example when running "rauc status --detailed". > Was it my imagination or did RAUC populate my rootfs during the update faster > than when I just mount and manually untar my rootfs?  How is it you guys are > faster? Sounds interesting, but I cannot tell because I don't know what you did to untar ;) But actually there is no magic. We simply call 'tar' to unpack. Maybe you've used a slower (de)compression algorithm when testing manually? Best regards, Enrico > Thanks again! > > Regards, > > Brian -- Pengutronix e.K.                           | Enrico Jörns                | Embedded Linux Consulting & Support        | https://www.pengutronix.de/ | Steuerwalder Str. 21                       | Phone: +49-5121-206917-180  | 31137 Hildesheim, Germany                  | Fax:   +49-5121-206917-9    |