From 683556b7fe26f1b9fdcab522b2667ce3df2e9b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 16 Sep 2018 14:57:41 +0200 Subject: [PATCH] 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 --- anaconda/pyanaconda/bootloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda/pyanaconda/bootloader.py b/anaconda/pyanaconda/bootloader.py index 03b98e2..2f3f3df 100644 --- a/anaconda/pyanaconda/bootloader.py +++ b/anaconda/pyanaconda/bootloader.py @@ -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")