Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/minimal.py
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 19:28:49 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 19:28:49 -0400
commit75008f3f0e49f3b8ae11a983b04791bc24b0c7bc (patch)
treec58f42e555ac81f8526022e0ba73e175e8025450 /profiles/minimal.py
parentb7891f500350d0069699a5e7e23f81df2eea952c (diff)
parent10649639ac045ae2396265bbbd65af9b78d89a5a (diff)
Merge remote-tracking branch 'dylanmtaylor/minimal-install-profile' into torxed-v2.2.0
Diffstat (limited to 'profiles/minimal.py')
-rw-r--r--profiles/minimal.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/profiles/minimal.py b/profiles/minimal.py
new file mode 100644
index 00000000..79821a89
--- /dev/null
+++ b/profiles/minimal.py
@@ -0,0 +1,20 @@
+# Used to do a minimal install
+
+import archinstall, os
+
+is_top_level_profile = True
+
+def _prep_function(*args, **kwargs):
+ """
+ Magic function called by the importing installer
+ before continuing any further. For minimal install,
+ we don't need to do anything special here, but it
+ needs to exist and return True.
+ """
+ return True # Do nothing and just return True
+
+if __name__ == 'minimal':
+ """
+ This "profile" is a meta-profile.
+ It is used for a custom minimal installation, without any desktop-specific packages.
+ """