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

  1. Download the virtual machine image for the latest SDK release from:
  2. https://images.apertis.org/

  3. Make a note of release version e.g v2020dev0
  4. Create a virtual machine, and name it old-sdk or old-basesdk
  5. Create a Full Clone of the virtual machine, and name the clone new-sdk or new-basesdk:
  6. https://www.virtualbox.org/manual/ch01.html#clone

  7. Instructions on how to use the SDK persistent workspace on VirtualBox:
  8. https://developer.apertis.org/latest/sdk-usage.html#persistent-workspace


Execution Steps

  1. The following steps are for the SDK virtual machine named with old
  2. Power on the virtual machine, and open a terminal
  3. Create a file called test under /home/user folder and add some content in the same file
  4. Power off the virtual machine
  5. On VirtualBox add the persistent disk to the SDK virtual machine:
  6. https://developer.apertis.org/latest/sdk-usage.html#virtualbox-adding-the-persistent-disk-to-the-old-sdk

  7. Power on the virtual machine
  8. Use psdk to initialize the empty disk and to configure the SDK to use it:
  9. https://developer.apertis.org/latest/sdk-usage.html#preparing-the-persistent-disk-on-the-old-sdk

  10. 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
  11. Power off the virtual machine
  12. The following steps are for the SDK virtual machine named with new
  13. On VirtualBox add the same persistent disk used on previous steps to the SDK virtual machine:
  14. https://developer.apertis.org/latest/sdk-usage.html#virtualbox-adding-the-persistent-disk-to-the-new-sdk

  15. Power on the virtual machine
  16. Use psdk to configure the SDK to use the persistent disk:
  17. https://developer.apertis.org/latest/sdk-usage.html#using-the-persistent-disk-on-the-new-sdk

  18. 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
  19. Check that the file called test is present in /home/user/test on the NEW SDK
  20. Power off the virtual machine

Expected

Changes made in the /home/user folder should get reflected in the new sdk