You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So currently, to build the recovery partition, we need to know the following:
what is the source of the recovery partition filesystem (i.e. is it a copy of the rootfs, or some slim/minimal filesystem?)
how much free space is available in the recovery partition
how big is the zipped rootfs file? (as it needs to fit in the free space in the recovery filesystem)
how much free space padding is required for the recoveryfs to boot and do stuff (like logging, journal, caches etc)
These values need to be calculated, and the recovery partition and filesystem need to be sized accordingly.
These values can vary wildly depending on how big the zipped rootfs ends up being (depending on it being lite, desktop or full Pi OS etc) and also how much spare space is available on the recovery filesystem.
Currently the code to do this is nasty, and made more difficult by using bash to do the arithmetic
The text was updated successfully, but these errors were encountered:
So currently, to build the recovery partition, we need to know the following:
These values need to be calculated, and the recovery partition and filesystem need to be sized accordingly.
These values can vary wildly depending on how big the zipped rootfs ends up being (depending on it being lite, desktop or full Pi OS etc) and also how much spare space is available on the recovery filesystem.
Currently the code to do this is nasty, and made more difficult by using bash to do the arithmetic
The text was updated successfully, but these errors were encountered: