@ -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: