Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-08 09:55:35 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-08 09:55:35 -0400
commit25309dcfb884927eb3a68ee8abe178b23fdb588c (patch)
tree4b55cd87d679c7d7b0065836a5b49ccc3d03c530
parentdb068dfe06e967308ee55cf7783bd1edc78d505c (diff)
Disable post-install hooks for now
-rw-r--r--archinstall/lib/profiles.py3
-rw-r--r--profiles/kde.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 1948a819..abf10f8e 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -177,7 +177,7 @@ class Profile(Script):
if hasattr(imported, '_prep_function'):
return True
return False
-
+"""
def has_post_install(self):
with open(self.path, 'r') as source:
source_data = source.read()
@@ -193,6 +193,7 @@ class Profile(Script):
with self.load_instructions(namespace=f"{self.namespace}.py") as imported:
if hasattr(imported, '_post_install'):
return True
+"""
def is_top_level_profile(self):
with open(self.path, 'r') as source:
diff --git a/profiles/kde.py b/profiles/kde.py
index d6abe029..6654dfa7 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -22,11 +22,13 @@ def _prep_function(*args, **kwargs):
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
+"""
def _post_install(*args, **kwargs):
if "nvidia" in _gfx_driver_packages:
print("Plasma Wayland has known compatibility issues with the proprietary Nvidia driver")
print("After booting, you can choose between Wayland and Xorg using the drop-down menu")
return True
+"""
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("kde", "/somewhere/kde.py")