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
This commit is contained in:
parent
6ffdf8a95a
commit
683556b7fe
@ -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…
Reference in New Issue
Block a user