9 Nov 2017, 22:16

REMINDER

make sure you read and understand what we expect from testers

So what now?

branch: https://review-subs-test-d1jlnb-archive-review-prod.recalbox.com
Goal: make recalbox like a firmware, make updates much faster, make recalbox more robust
Archs: Pi3 only for now. x86_64 should come shortly

A squashfs file is like a read only image file that can be mounted like any device. Part of it is in memory.

Steps to update and test - Pi3 only for now

  1. Update to the mentionned branch (i mean do update, not juste change the update type)
  2. Once the update is done:
mount -o remount, rw /boot
echo "boot=squashfs" >> /boot/recalbox-boot.conf
/recalbox/scripts/upgrade/recalbox-upgrade.sh upgrade && reboot

From here, Recalbox will download a squashfs, copy it on first reboot with the usual upgrade progress bar, and transparently finish the update on the following reboot.

To make sure everything happened as expected :

  • dmesg | grep irfs should be quite self explanatory
  • mount | grep overlay should return a single line

Expected test cases

There are many cases that need to be tested, here are a few independant scenarios :

  • your Recalbox still boots with NOOBS
  • you have a USB key/hard drive
  • you upgraded from a 4.0.x version to 4.1 (or later)
  • you installed Recalbox with the .img

Please report your environment as I need to make sure all cases are covered, and mostly that the update doesn't break anything.