that is one way to do it, and it’s a very common one - it’s robust and simple. So I can’t correct you, but thought I would add to it.
In NixOS, they’ve improved it by making sure all your apps are symlinked, and when updating, these symlinks are updated. That way you can start using your newly updated system straight away, without a reboot. When rebooting, you are prompted to which generation you want to boot into, (defaulting to “latest” after a few seconds of no input) making rollbacks a breeze.
(correct me if I’m wrong, I’m also new at this)
There are two partitions. One with the current system, one with the previous system. Updates are applied in a whole batch at once, once in a while.
Current system is cloned into the old one and an update is applied to the clone.
Once the update is complete, system reboots in the clone, and what was the current system becomes the previous one.
If something goes bad, you can reboot into the previous system and fix the clone.
This is how the steam deck works. I think newer android phones do this too.
Yes, it uses an immutable atomic distro. I don’t know about Android phones, but I wouldn’t be surprised.
I believe this is how android has been for as long as i have used it. At least A6 or A7. Could be earlier but I haven’t used those enough
that is one way to do it, and it’s a very common one - it’s robust and simple. So I can’t correct you, but thought I would add to it. In NixOS, they’ve improved it by making sure all your apps are symlinked, and when updating, these symlinks are updated. That way you can start using your newly updated system straight away, without a reboot. When rebooting, you are prompted to which generation you want to boot into, (defaulting to “latest” after a few seconds of no input) making rollbacks a breeze.
That sounds kinda like what any OS should do in the history of OSs…
Should. But didn’t. Until fairly recently.