1. 24 Aug, 2019 1 commit
  2. 13 Dec, 2018 1 commit
  3. 24 Sep, 2018 1 commit
  4. 21 Sep, 2018 2 commits
  5. 19 Sep, 2018 1 commit
  6. 18 Sep, 2018 1 commit
  7. 20 Aug, 2018 3 commits
  8. 31 Jul, 2018 1 commit
    • rgaudin's avatar
      Loop device permission (mode) change on Linux · 7f65944e
      rgaudin authored
      On Linux, loop-device setup, mount, unmount and removal is done in userspace thanks to udisks2.
      Now that we format the third partition on the host (before copying large files into it),
      we need to have the permission to mkfs on the loop device.
      
      At this step, the following now applies:
      
      	check wether we can write on loop device (Sys requirements advises user to be member of the `disk` group)
      	change mode if we can't (requesting elevation)
      	restore mode after we've formatted (requesting elevation – usually before previous elevation expiration)
      
      Additionaly, to prevent unexpected request for elevation at the format step (usually 30-90mn into the process), on startup:
      	attempt to guess loop device path on start. This might fail or be wrong (another app uses the guessed loop before the format step) but that should be rare.
      	change mode of guessed loop device (along with SD card, so a single request right on startup)
      	restore mode at end of process (along with SD card)
      
      	if we could not properly guess, elevation will be requested at format step.
      
      Also enforcing usage of logger everywhere (subprocess calls for mount) as missing logger leads to painful diagnostics
      7f65944e
  9. 24 Jul, 2018 1 commit
    • rgaudin's avatar
      Format data partition on host · 3798d765
      rgaudin authored
      	To prevent inconsistency in data partition mounting on host:
      		1. backup /data on /home/data_part.tar after reconfigure (very small)
      		2. mkfs data partition on host
      		3. copy large content onto data partition
      		4. restore data_part.tar in qemu
      3798d765
  10. 13 Jul, 2018 1 commit
  11. 02 Jul, 2018 1 commit