Open
Description
Describe the bug
cryptsetup luksOpen /dev/drive drive
mount /dev/mapper/drive /mnt
swupd repair --picky --root=/mnt
gives
Calling post-update helper scripts
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /mnt
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:58
Out of memory
[FATAL] cbm (../src/bootman/sysconfig.c:L275): sysconfig insane: Missing root device
[FATAL] cbm (../src/bootman/update.c:L127): Cannot install kernel /mnt//usr/lib/kernel/org.clearlinux.native.5.3.2-844
Repair successful
To Reproduce
Install clear linux with encryption, btrfs-convert /dev/drive
from installer media, system does not boot, try to fix with the above command
Expected behavior
fixing boot by checking that filesystem ID has changed during btrfs convertion
Environment (please complete the following information):
swupd-client 3.22.3
Installed version: 31140