openwrt/package/base-files/files/lib
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
..
functions treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
preinit base-files: add support for restoring config from tmpfs 2021-02-28 00:09:09 +00:00
upgrade base-files: upgrade: take down loop and LVM before upgrade 2021-05-05 13:18:43 +01:00
functions.sh base-files: functions: introduce new helper functions 2021-03-31 16:53:39 +01:00