• steersman2484
    link
    fedilink
    arrow-up
    11
    ·
    4 months ago

    Aren’t apps better compareable to something like flatpack and this is the reason why they are updateable during runtime?

    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      4 months ago

      Sure they are, but system apps are still installed in the immutable space initially, which is the important thing, that updates to it can’t go there.

      I don’t know how desktop immutable systems deal with that.

      • flying_sheep@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        You can update the whole base image. Vanilla OS and SteamOS have an A/B partition that holds the currently-in-use image and can also hold a to-be-used image.

        Updating works by adding the to-be-used image, setting a configuration option that tells the system to boot that one, and on the next boot it’ll check if the new one is bootable, then either boot it and mark it as working, or boot into the old one and display an error about how out wasn’t able to boot into the new one.

        There’s smart things going on like maybe hard linking files that didn’t change between the two images and therefore saving space and copying time.

        The result is that you never have a broken system, but you can still frequently update the base image.