fix for correct work with NVME disks #1

Merged
tigro merged 1 commits from samoylikdv/leapp-repository:main into main 5 months ago

@ -42,8 +42,9 @@ class EfiFinalizationFix(Actor):
}
def devparts(dev):
part = next(re.finditer(r'\d+$', dev)).group(0)
part = next(re.finditer(r'p?\d+$', dev)).group(0)
dev = dev[:-len(part)]
part = next(re.finditer(r'\d+$', part)).group(0)
return [dev, part];
with open('/etc/system-release', 'r') as sr:

Loading…
Cancel
Save