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:
authorAnton Hvornum <anton@hvornum.se>2021-04-08 06:10:28 +0000
committerGitHub <noreply@github.com>2021-04-08 06:10:28 +0000
commitb2b9ac2d405698bb259ff338b159f94bdcb0f87d (patch)
treec58f42e555ac81f8526022e0ba73e175e8025450 /profiles/minimal.py
parentb7891f500350d0069699a5e7e23f81df2eea952c (diff)
parent10649639ac045ae2396265bbbd65af9b78d89a5a (diff)
Merge pull request #219 from dylanmtaylor/minimal-install-profile
Add minimal profile and implement idea of 'top-level' profiles
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.
+ """