Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement workaround for low-mem models.
The installer makes a backup (in memory) of itself to /bootfs, but after restore to the new FAT32 partition doesn't remove that memory copy. The 256MB model is so memory constrained that it fails, likely due to an OOM problem. For those models (only), remove the RAM copy and when the new boot partition gets mounted (to /rootfs/boot), make a 'mount --bind' to /bootfs, so for all intend and purposes the rest should still work the same. Signed-off-by: Diederik de Haas <[email protected]>
- Loading branch information