base-files: export whole disk of fitblk backing partition
authorDaniel Golle <daniel@makrotopia.org>
Mon, 26 Feb 2024 03:56:36 +0000 (03:56 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 26 Feb 2024 04:01:10 +0000 (04:01 +0000)
commit0c18c5679ad3f68f5e02aea20da36aa2d1d759d5
tree0f5801c813951c4511fe475b2ec3e93c9d05048f
parent85f34990d334a450f3fb0d17800af7b8bf7f333d
base-files: export whole disk of fitblk backing partition

After commit ad62247800 ("base-files: improve lib/upgrade/common.sh")
behavior of export_bootdevice has been made consistent in such way that
always the whole disk device is exported (as that was the case already
when matching via UUID) rather than the partition device.
Do the same for the device holding the fitblk backing partition.

Fixes: 5992f976b3 ("base-files: recognize bootdevice on devices using fitblk")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/lib/upgrade/common.sh