anaconda: fix kernel command line building on EFI

In this anconda (or rather blivet) version it is 'device.fstabSpec', not
'device.fstab_spec'.

Fixes 39699e6 "anaconda: use proper subvolume argument when booting from
btrfs (EFI)"
Fixes QubesOS/qubes-issues#1871
release3.2 mm_683556b7
Marek Marczykowski-Górecki 6 years ago
parent 6ffdf8a95a
commit 683556b7fe
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -1854,7 +1854,7 @@ class XenEFI(EFIGRUB):
def write_config_images(self, config):
for image in self.images:
root_args = 'root=' + image.device.fstab_spec
root_args = 'root=' + image.device.fstabSpec
if image.device.type == "btrfs subvolume":
root_args += " rootflags=subvol=%s" % image.device.name
config.write("\n")

Loading…
Cancel
Save