Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-08-14 11:56:24 +0200
committerGitHub <noreply@github.com>2022-08-14 11:56:24 +0200
commit65212a46aa43fadb2b0ee88b46b573765d7be9f9 (patch)
tree53bee1a11fa1d661a62f768a415f79c821691b63
parentb1ab5ba3723ef0d7c04b061189d5ad74cba0de8b (diff)
Fix boot entry containing subvolume definition when no subvolumes were selected (#1424)
* Attempting fix by looking at the subvolume 'name', <FS_TREE> should indicate it's a root block and not a root subvolume
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
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 != '<FS_TREE>':
options_entry = f"rootflags=subvol={subvolume.name} " + options_entry
# Zswap should be disabled when using zram.