immortalwrt/package/base-files/files
Sergey Ryazanov 2bb829ee47 base-files: prevent issues w/ overlay on powerloss after sysupgrade
Due to filesystem write caching the old configuration data could stay
out of flash for a long time during a first boot after the sysupgrade.
Power loss during this period could damage the overlay data and even
make device inaccessable via the network.

Fix this by syncing data to a flash as soon as the previous
configuration will be unpacked after the sysupgrade. Also sync the FS
state after the sysupgrade.tgz archive removing to prevent duplicative
extraction of a previous configuration.

Tested with AMD Geode based board.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
2020-10-13 18:39:53 +08:00
..
bin base-files: replace backticks by $(...) 2020-10-13 18:32:40 +08:00
etc base-files: prevent issues w/ overlay on powerloss after sysupgrade 2020-10-13 18:39:53 +08:00
lib base-files: prevent issues w/ overlay on powerloss after sysupgrade 2020-10-13 18:39:53 +08:00
rom fix permission 2019-09-30 14:27:46 +08:00
sbin hostapd: reduce to a single instance per service 2020-04-22 18:09:30 +08:00
usr dropbear: bump to 2019.78 2020-03-22 18:35:41 +08:00