tn3399_openwrt/package/base-files/files
Daniel Golle a2b9ec0231
base-files: upgrade: take down loop and LVM before upgrade
Users of devices with large block storage may choose to have an LVM
partition on the same device which is used for booting OpenWrt.
The presents a problem during sysupgrade as the root device is then
still busy and changing partitions will not work as desired,
leading to data corruption in case the newly flashed image is larger
than the currently installed one.
Having loop devices setup causes similar havoc.
Make sure all volume groups are offline and all loop devices have been
released before sysupgrade.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-05-05 13:18:43 +01:00
..
bin treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
etc base-files: fix status display command 2021-04-03 18:56:02 +02:00
lib base-files: upgrade: take down loop and LVM before upgrade 2021-05-05 13:18:43 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: add logging for configuration import 2021-03-21 22:45:20 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00