Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1747

Add ability to chose image upgrade mechanism at build time (SOTA, dnf , ...)

XMLWordPrintable

      Use cases:

      • simple image, without any upgrade mechanism
      • image upgradable though rpm only (copy package manually, install rpm package)
      • image upgradable through dnf (remote RPM repo)
      • SOTA image (no RPM db needed)
      • SOTA image (with RPM db for development)

      So we can envision at least 4 upgrade modes. Modes 2 and 3 are envisioned as the main supported modes for AGL. 

       

        Upgrade Mode SOTA enabled * Enable RPM db Enable DNF db
      mode0 Full image required NO No No
      mode1 through RPM only NO Yes No
      mode2 through DNF+RPM NO Yes Yes
      mode3 through SOTA YES No** No***
      mode4 SOTA "devel mode" YES Yes No

       
      * SOTA is enabled by adding agl-sota feature at aglsetup time
      ** after do_rootfs for image, /var/lib/rpm can be removed
      *** after do_rootfs for image, /var/lib/dnf can be removed

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sdesneux Stephane Desneux
            sdesneux Stephane Desneux
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: