``` devlinks = [link for link in info['DEVLINKS'] if '/by-uuid' in link] if len(devlinks) == 0 and block_type == 'part': devlinks = [link for link in info['DEVLINKS'] if '/by-partuuid' in link]
return devlinks[0] if len(devlinks) else device_path ``` https://github.com/canonical/curtin/blob/697e83699d493b7491913d822e7f5635d7f10af2/curtin/commands/block_meta.py#L1332 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081256 Title: RISC-V Installation with encrypted LVM boots into emergency mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2081256/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs