Assembly tests now performed at first boot with QRcode at the end

This commit is contained in:
Vincent-FK
2020-09-16 23:16:51 +00:00
parent a2fd8f654e
commit 9061052e2e
5 changed files with 377 additions and 13 deletions

View File

@@ -148,6 +148,11 @@ format_backing_store_partition () {
# Format the backing store as FAT32
mkfs.vfat /dev/mmcblk0p3 >/dev/null 2>&1 || die 9 "cannot format the backing store partition"
# Add file to force assembly tests
mount /mnt/ || die 9 "Cannot mount /mnt"
touch /mnt/.assembly_tests || die 9 "Cannot create assembly tests run file"
umount /mnt/ || die 9 "Cannot unmount /mnt"
return 0
}