Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rpi_boot: use chroot to run flash-kernel, ditch double rebo…
…ot strategy (#318) This PR introduces one-step firmware install strategy to rpi_boot to deprecate the previously used double steps firmware update strategy. It also includes some internal refinements in rpi_boot. * New features 1. support flash-kernel directly in post-update phase with chroot to standby slot. 2. now if system-boot partition is not mounted, rpi_boot will try to mount it. 3. rpi_boot now allows extra partitions after partition ID 3. * Other changes 1. otaclient_common.linux: implement new subprocess_run_wrapper, which supports chroot. 2. otaclient.boot_control.common: implement a plain version of mount.
- Loading branch information