Description
A validation test case for upgrading an rpm-ostree based IoT installation from a previous compose to the latest. This testcase can be run on either an image or installation, on hardware or in virtualization.
Setup
Download and boot/install an IoT compose that is the not the current one. IoT images can be found here. You can run the following command to ensure the Fedora IoT deployment that you have booted/installed is the not the current compose:
rpm-ostree status
How to test
Run the command:
rpm-ostree upgrade --reboot
Once rebooted, check to make sure the system is now running the new deployment
rpm-ostree status
Results
1. System is upgraded and reboots into the new deployment by default, with the previous deployment still listed in 'rpm-ostree status'.