sdk-persistent-disk manual
critical
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- compatibility
Description
Tests that persistent disk can be used when upgrading the SDK.
Pre Conditions
- Download the virtual machine image for the latest SDK release from:
- Make a note of release version e.g v2020dev0
- Create a virtual machine, and name it old-sdk or old-basesdk
- Create a Full Clone of the virtual machine, and name the clone new-sdk or new-basesdk:
- Instructions on how to use the SDK persistent workspace on VirtualBox:
https://www.virtualbox.org/manual/ch01.html#clone
https://developer.apertis.org/latest/sdk-usage.html#persistent-workspace
Execution Steps
- The following steps are for the SDK virtual machine named with old:
- Power on the virtual machine, and run on a terminal:
- Power off the virtual machine
- On VirtualBox add the persistent disk to the SDK virtual machine:
- Power on the virtual machine
- Use psdk to initialize the empty disk and to configure the SDK to use it:
- The SDK will reboot when the configuration is completed. After the reboot click on psdk icon again to confirm that the persistent disk is in use
- Run on a terminal:
- Power off the virtual machine
- The following steps are for the SDK virtual machine named with new:
- On VirtualBox add the same persistent disk used on previous steps to the SDK virtual machine:
- Power on the virtual machine
- Use psdk to configure the SDK to use the persistent disk:
- The SDK will reboot when the configuration is completed. After the reboot click on psdk icon again to confirm that the persistent disk is in use
- Run on a terminal:
- Power off the virtual machine
$ ade sysroot install --release <release version>
https://developer.apertis.org/latest/sdk-usage.html#preparing-the-persistent-disk-on-the-old-sdk
$ ade sysroot update --release <release version>
https://developer.apertis.org/latest/sdk-usage.html#using-the-persistent-disk-on-the-new-sdk
$ ade sysroot update --release <release version>
Expected
When attempting to confirm if the SDK is using the persistent disk psdk should indicate that 'This SDK is currently using the persistent disk'
'ade sysroot update' should indicate that the installed version is already up-to-date.