You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
boot brcm47xx: rename target to bcm47xx 4 years ago
done base-files: prevent issues w/ overlay on powerloss after sysupgrade 4 years ago
gpio_switch base-files: gpio switch: check if direction can be set 6 years ago
led base-files: Fix netdev led trigger 6 years ago
sysctl base-files: fix wrong sysctl parameter order 6 years ago
sysfixtime base-files: sysfixtime: Keep RTC time in UTC timezone 8 years ago
system base-files: coreutil-date breaks setting kernel timezone 5 years ago
umount base-files: supress service restart of umount 5 years ago