From 65212a46aa43fadb2b0ee88b46b573765d7be9f9 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 14 Aug 2022 11:56:24 +0200 Subject: Fix boot entry containing subvolume definition when no subvolumes were selected (#1424) * Attempting fix by looking at the subvolume 'name', should indicate it's a root block and not a root subvolume --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/installer.py') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 08896289..0f298eba 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -866,7 +866,7 @@ class Installer: options_entry = f'rw intel_pstate=no_hwp {" ".join(self.KERNEL_PARAMS)}\n' for subvolume in root_partition.subvolumes: - if subvolume.root is True: + if subvolume.root is True and subvolume.name != '': options_entry = f"rootflags=subvol={subvolume.name} " + options_entry # Zswap should be disabled when using zram. -- cgit v1.2.3-54-g00ecf