Code Monkey home page Code Monkey logo

Comments (4)

mirkobrombin avatar mirkobrombin commented on June 24, 2024 3

The update in Vanilla OS is always automatic and always runs in the background, you can only change the frequency (weekly or monthly). The difference with offline updates is that they are downloaded automatically and in the background but installed only on reboot, here instead they are downloaded and installed immediately in the second root (A<->B transactions).

In Vanilla OS updates are managed with ABRoot, which never changes the system in use but carries out the transaction in the second root, which is set as default on the next boot. Transactions are in turn performed on an OverlayFS which is applied to the second root only when the entire transaction is successful (the concept of atomicity), and then thrown away if it fails.

The purpose of the Smart Update function is to slow down and/or postpone the update if the user is using resources intensively, for example downloading content, playing, watching a movie, etc. or even if the battery level it is not sufficient, in this way we do not risk slowing down its operation.

Offline updates require an extra step, ensuring that the user confirms the update, as well as preventing them from using the device while they are being installed. The great advantage of ABRoot is to allow the user not to worry about transactions, since these are applied on a separate root, allowing them to continue with their work.

from vanilla-system-operator.

noahdotpy avatar noahdotpy commented on June 24, 2024

Would it not be better to do offline updates?

from vanilla-system-operator.

mirkobrombin avatar mirkobrombin commented on June 24, 2024

The purpose of offline updates is to prevent from changing things while the user is operating, ABRoot does transactions which are applied on next boot, so there is no need for an offline update.

from vanilla-system-operator.

noahdotpy avatar noahdotpy commented on June 24, 2024

The purpose of offline updates is to prevent from changing things while the user is operating, ABRoot does transactions which are applied on next boot, so there is no need for an offline update.

So this change will make it so that it will only update next boot when the computer is not being used too heavily. Is this an automatic upgrade functionality? If it is not I do not see the point

from vanilla-system-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.