Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-28 09:30:35 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-28 09:30:35 +0200
commite993590f5f59ad5cfed5609753cb770aa15796f9 (patch)
treed69c59caf15d97d156b39aa2ffe0531383788a6d /archinstall/lib
parent94bceb2199a16509c744a2f28dcfa19ab8cc5935 (diff)
parenta89f87c14595849e0959e816c23931961cb70617 (diff)
Pulled in latest master changes
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/hardware.py2
-rw-r--r--archinstall/lib/user_interaction.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py
index 7c164096..6a3b166d 100644
--- a/archinstall/lib/hardware.py
+++ b/archinstall/lib/hardware.py
@@ -110,7 +110,7 @@ def cpu_vendor() -> Optional[str]:
def is_vm() -> bool:
try:
# systemd-detect-virt issues a non-zero exit code if it is not on a virtual machine
- if b"".join(SysCommand("systemd-detect-virt")).lower() != b"none":
+ if b"none" not in b"".join(SysCommand("systemd-detect-virt")).lower():
return True
except:
pass
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 0a4cd0f9..79919658 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -579,6 +579,7 @@ def select_profile():
print(' -- The above list is a set of pre-programmed profiles. --')
print(' -- They might make it easier to install things like desktop environments. --')
+ print(' -- The desktop profile will let you select a DE/WM profile, e.g gnome, kde, sway --')
print(' -- (Leave blank and hit enter to skip this step and continue) --')
selected_profile = generic_select(actual_profiles_raw, 'Enter a pre-programmed profile name if you want to install one: ', options_output=False)