balena-supervisor/test/data
Felipe Lalanne c04955354a Use write + sync when writing configs to /mnt/boot
This commit updates all backends that write to /mnt/boot to do it
through a new `lib/host-utils` module. Writes are now done using write +
sync as rename is not an atomic operation in vfat.

The change also applies for writes through the `/v1/host-config`
endpoint.

Finally this change includes some improvements on tests.

Change-type: patch
2022-05-03 11:23:00 -04:00
..
docker-states Rename networks to <appUuid>_<networkName> 2022-03-22 19:08:03 -03:00
etc Complete /v1/device/host-config unit tests, modify PATCH route 2021-02-18 12:25:44 +09:00
mnt/boot typos: seperate -> separate 2021-03-17 14:27:53 -04:00
ports/not-ascending tests: Add test case for ascending ports issue 2019-01-02 11:31:25 +00:00
resin-data Add some more unit tests to the multicontainer supervisor 2018-04-30 19:39:01 -07:00
sys/class/net state: Report device MAC address to the API 2020-06-22 10:41:06 +01:00
apps-pin.json Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
apps.json Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
boot0.img added support for configuring ODMDATA 2020-08-29 09:05:27 -04:00
device-api-responses.json Complete POST /v1/purge unit tests 2021-02-18 12:25:44 +09:00
testconfig-apibinder-offline2.json Don't generate config fields in offline mode 2018-05-21 14:45:32 +01:00
testconfig-apibinder-offline.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00
testconfig-apibinder.json Use write + sync when writing configs to /mnt/boot 2022-05-03 11:23:00 -04:00
testconfig.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00