On Mon, 2021-05-24 at 22:54 -0400, Brian Hutchinson wrote: Hi, I've been looking at Leon Anavi's RAUC Rpi4 example. He's got his own meta-rauc layer where bundles are created in Yocto recipe ... but I need to create bundles with command line outside of Yocto system.
I've basically got tar files for kernel image/dtb, rootfs and appfs. Want to make a bundle of these three tar files that go to slots that look like: RAUC slot A: /dev/mmcblk2gp0p1 (kernel/dtb) /dev/mmcblk2gp0p2 (rootfs) /dev/mmcblk2p1 (appfs) RAUC slot B: /dev/mmcblk2gp1p1 (kernel/dtb) /dev/mmcblk2gp1p2 (rootfs) /dev/mmcblk2p2 (appfs) This is not fully correct. Each of these is a slot. Are there any examples on how to do this via command line? The on-target-side (system.conf) ist the same as with yocto. To create the bundle, you need to write the manifest you self and place it together with your filesystem archives. The relevant documentation is https://rauc.readthedocs.io/en/latest/using.html#creating-bundles and the example & reference linked from there. So your manifest might look like: [update] compatible=rauc-example version=2021.05-1 [bundle] format=verity [image.kernel] filename=kernel.img [image.rootfs] filename=rootfs.tar [image.appfs] filename=appfs.tar Best regards, Jan -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ RAUC mailing list
