sdk-persistent-disk-home-user 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 open a terminal
- Create a file called test under /home/user folder and add some content in the same file
- 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
- 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
- Check that the file called test is present in /home/user/test on the NEW SDK
- Power off the virtual machine
https://developer.apertis.org/latest/sdk-usage.html#preparing-the-persistent-disk-on-the-old-sdk
https://developer.apertis.org/latest/sdk-usage.html#using-the-persistent-disk-on-the-new-sdk
Expected
Changes made in the /home/user folder should get reflected in the new sdk