Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
-
None
Description
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