From b5db9fe3eabba6df4e8939518d1a60f80d36e272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20K=C3=B6hl?= Date: Sun, 26 Nov 2023 20:24:14 +0100 Subject: [PATCH] docs: mention `--keep-overlay` option --- www/docs/guide/over-the-air-updates.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/docs/guide/over-the-air-updates.md b/www/docs/guide/over-the-air-updates.md index 83d9efc..db380c0 100644 --- a/www/docs/guide/over-the-air-updates.md +++ b/www/docs/guide/over-the-air-updates.md @@ -61,6 +61,10 @@ When using the `--no-reboot` flag, a reboot to the cold spare can later be trigg rugpi-ctrl system reboot --spare ``` +Note that a persistent overlay that may exist for the spare partition is deleted prior to installing the update (see [State Management](./state-management.md)). +To avoid the overlay from being discarded, use the `--keep-overlay` option when installing the update. +Please be aware that this may lead to incompatibilities between the overlay and the freshly installed system. + [^2]: How this happens is outside the scope of Rugpi's core functionality. ### Committing an Update