openwrt/package
Sergey Ryazanov 880c1f0336 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-06-03 16:49:28 +02:00
..
base-files base-files: prevent issues w/ overlay on powerloss after sysupgrade 2020-06-03 16:49:28 +02:00
boot uboot-mxs: bump to v2020.04 2020-06-03 16:49:28 +02:00
devel perf: build with NO_LIBCAP=1 2020-04-26 21:20:47 +02:00
firmware cypress-firmware: add PROVIDES sections 2020-05-28 10:36:27 +02:00
kernel mt76: update to the latest version (adds 7663e, 7663u, 7915 drivers) 2020-05-31 14:23:07 +02:00
libs libubox: update to the latest version 2020-05-26 10:45:44 +02:00
network dnsmasq: add /etc/dnsmasq.d/ to conffiles 2020-06-03 16:49:28 +02:00
system procd: update to git HEAD 2020-05-28 14:29:08 +01:00
utils ugps: nmea: make sure date is valid 2020-05-29 23:59:35 +01:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00