base-files: upgrade: try umount lvm and loop devices
authorDaniel Golle <daniel@makrotopia.org>
Wed, 4 Aug 2021 18:03:16 +0000 (19:03 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 4 Aug 2021 18:12:34 +0000 (19:12 +0100)
commite67865c569c0cbdc452c63b54b02f5c3cc4d247a
tree44d4af55c7fc50dcb4de5b22530f6216638ad65c
parentb37f0dde78656a352914c4d01010979530589103
base-files: upgrade: try umount lvm and loop devices

Try umount on device mapper and loop devices still mounted, so the
subsequent call to disactivate all physical volumes and delete all
loop devices is more likely to succeed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/lib/upgrade/stage2