Commit Graph

277 Commits

Author SHA1 Message Date
Dylan Taylor 72f3423798 Integrate XFCE4 with master 2021-04-08 15:41:08 -04:00
Dylan M. Taylor 84e6db27bb Fix another incorrect comment on XFCE4 profile 2021-04-08 15:40:20 -04:00
m1ten eb7497f2aa Update xfce4.py 2021-04-08 15:40:09 -04:00
m1ten c2c1126254 xfce4 2021-04-08 15:39:44 -04:00
Dylan Taylor dfec4b77fd Integrate cinnamon with changes on master. 2021-04-08 15:35:33 -04:00
Dylan M. Taylor 5ec1e1d4f5 Fix incorrect comment. Cinnamon doesn't have any Wayland support yet. 2021-04-08 15:34:21 -04:00
m1ten 0934f4c3e7 Create cinnamon.py 2021-04-08 15:33:37 -04:00
Dylan Taylor e49f983036 Add sway profile to desktop file 2021-04-08 15:15:44 -04:00
Dylan Taylor 8c9b162049 Implement Sway
Try switching from gdm to sddm as gdm pulls in a lot of GNOME packages

Fix comment
Update sway.py
2021-04-08 15:14:26 -04:00
Dylan M. Taylor d8a2437778 Move from awesome to desktop and add wireless config utilities and smartmontools 2021-04-08 13:33:06 -04:00
Dylan Taylor 25309dcfb8 Disable post-install hooks for now 2021-04-08 09:55:35 -04:00
advaithm db068dfe06 Update kde.py 2021-04-08 09:51:11 -04:00
advaithm 57200d3d93 removed post_install hook 2021-04-08 09:51:11 -04:00
Dylan M. Taylor 608bada172 Clean up comments a bit 2021-04-08 09:51:11 -04:00
Dylan Taylor 8fc91c4f18 Fix issue with prep function 2021-04-08 09:51:11 -04:00
Dylan Taylor ea81759e40 Add minimal profile and implement idea of 'top-level' profiles 2021-04-08 09:51:11 -04:00
Dylan M. Taylor c07d63296b It was pointed out that khelpcenter isn't strictly necessary 2021-04-08 09:51:11 -04:00
Dylan M. Taylor 858585e7d7 Switch from metapackage to a more minimal install 2021-04-08 09:51:11 -04:00
Anton Hvornum b8774236dd Added a forgotten return value of _post_install 2021-04-08 09:51:11 -04:00
advaithm 56df79d647 added egl-wayland and changed prompt 2021-04-08 09:51:11 -04:00
advaithm 130f5729a0 ask user for default session over asking if they want wayland 2021-04-08 09:51:11 -04:00
advaithm 210e53ca3e Update kde.py 2021-04-08 09:51:11 -04:00
advaithm 926906d946 merge kde and kde-wayland 2021-04-08 09:51:11 -04:00
Jatin e4ca6d8328 Remove gnome-todo and gnome-sound-recorder from default installation
gnome todo and gnome sound recorder should not be in default installation, honoring the Arch Linux philosophy. These packages are not even pre installed on other major linux distributions.
2021-04-08 09:20:39 -04:00
Dylan M. Taylor 186f12c5f1 Remove chromium from default awesome install
Promotes a consistent installation experience across DEs.
2021-04-08 09:20:39 -04:00
Dylan M. Taylor 8bc1f0d420 Remove evolution from default installation as suggested
It was pointed out that users can install an email client if they want one.
2021-04-08 09:20:39 -04:00
Dylan M. Taylor a3ace5e36e This comment should no longer apply. This is a fairly sane default for GNOME. 2021-04-08 09:20:39 -04:00
Dylan M. Taylor 9c82bde2fc gnome-sound-recorder is probably also desirable 2021-04-08 09:20:39 -04:00
Dylan M. Taylor 81aa1df82a Fix #183 gnome-extras installs far too much bloat
This keeps some of the most useful packages from the defaults.
2021-04-08 09:20:39 -04:00
advaithm 9d6541aaa6 sway, wayland specific files. drivers has also been split from xorg 2021-04-08 14:06:27 +05:30
Anton Hvornum f8bf2b313a
Merging in master into feature branch. 2021-04-08 08:39:37 +02:00
Anton Hvornum 3ba03f9e73
Merge pull request #232 from advaithm/torxed-v2.2.0
removed post_install hook for kde plasma
2021-04-08 06:24:41 +00:00
advaithm 57de67e5fb Update kde.py 2021-04-08 08:26:57 +05:30
advaithm 78d58eb4b7 removed post_install hook 2021-04-08 07:23:37 +05:30
Dylan M. Taylor bf91c66ba8
Clean up comments a bit 2021-04-07 11:54:10 -04:00
Dylan Taylor 99917807bd Fix issue with prep function 2021-04-07 11:33:01 -04:00
Jatin 7e75ff960b
Remove gnome-todo and gnome-sound-recorder from default installation
gnome todo and gnome sound recorder should not be in default installation, honoring the Arch Linux philosophy. These packages are not even pre installed on other major linux distributions.
2021-04-07 19:18:34 +05:30
Dylan Taylor 9756d9ed2d Add i3 selections to desktop file 2021-04-07 09:23:21 -04:00
Dylan Taylor ac7d980f89 Add minimal profile and implement idea of 'top-level' profiles 2021-04-07 08:37:39 -04:00
Anton Hvornum 42470dcc9a Merging changes from master into feature branch to avoid future conflics. 2021-04-07 11:15:42 +02:00
Anton Hvornum 39e354f395
Merge pull request #207 from dylanmtaylor/patch-12
Fix another incorrect comment on XFCE4 profile
2021-04-06 21:14:14 +00:00
Dylan M. Taylor 0a5a929f5b
Fix another incorrect comment on XFCE4 profile 2021-04-06 16:55:04 -04:00
Dylan M. Taylor c6eb3dfbdf
Fix incorrect comment. Cinnamon doesn't have any Wayland support yet. 2021-04-06 16:53:20 -04:00
Dylan M. Taylor 0a1e0641a9
It was pointed out that khelpcenter isn't strictly necessary 2021-04-06 13:45:08 -04:00
Dylan M. Taylor 87514ab515 Noticed that some KDE instances weren't changed to i3 when copying
Another one
2021-04-06 13:28:07 -04:00
Dylan M. Taylor 3e4c5bdb26
Remove chromium from default awesome install
Promotes a consistent installation experience across DEs.
2021-04-06 12:55:15 -04:00
Dylan M. Taylor ee6cd39fe6
Switch from metapackage to a more minimal install 2021-04-06 12:33:13 -04:00
Anton Hvornum a62debde33
Merge pull request #192 from advaithm/kde-hook
Use _post_install for wayland
2021-04-06 16:27:46 +00:00
Anton Hvornum b968bec771
Added a forgotten return value of _post_install 2021-04-06 18:27:30 +02:00
Dylan M. Taylor aed763b763
Remove evolution from default installation as suggested
It was pointed out that users can install an email client if they want one.
2021-04-06 11:33:50 -04:00
advaithm 29d939cfca added egl-wayland and changed prompt 2021-04-06 18:59:05 +05:30
advaithm 5057035f3e ask user for default session over asking if they want wayland 2021-04-06 18:28:18 +05:30
advaithm aea819af15 Update kde.py 2021-04-06 17:36:20 +05:30
advaithm 4f7fc94ecd merge kde and kde-wayland 2021-04-06 13:37:40 +05:30
Anton Hvornum 610d630863
Merge pull request #190 from advaithm/master
post install hook
2021-04-06 07:57:02 +00:00
Anton Hvornum 0df567286e
Swapped print for log and added return values 2021-04-06 09:54:24 +02:00
Anton Hvornum 2f153d4882
Some language correction and function handling
I more or less copied the language from i3-wm as it was more correct.
Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log.
Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run:
 * https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355
2021-04-06 09:53:28 +02:00
advaithm f0e40f5676 added _post_install hook. 2021-04-06 07:21:11 +05:30
Dylan M. Taylor 688d0eb78e
This comment should no longer apply. This is a fairly sane default for GNOME. 2021-04-05 13:44:16 -04:00
Dylan M. Taylor d28385bd05
gnome-sound-recorder is probably also desirable 2021-04-05 13:42:03 -04:00
Dylan M. Taylor d5da80d770
Fix #183 gnome-extras installs far too much bloat
This keeps some of the most useful packages from the defaults.
2021-04-05 13:40:40 -04:00
Anton Hvornum dc522b74b9
Merge pull request #179 from advaithm/master
i3 and 13-gaps support
2021-04-05 16:21:43 +00:00
advaithm 4c0c95a88c add i3-wm and i3-gaps support 2021-04-05 20:46:09 +05:30
m1ten f72d3039f7
add lightdm-gtk-greeter 2021-04-04 13:49:37 -04:00
m1ten 771087e75b
applications/cinnamon 2021-04-04 13:38:10 -04:00
m1ten 9576486cfa
added cinnamon 2021-04-04 12:58:05 -04:00
m1ten 107c1d6caa
Create cinnamon.py 2021-04-04 12:57:24 -04:00
Rafael Fontenelle 2b5b1ad83d Fix misspellings 2021-04-04 11:28:54 -03:00
m1ten 77c30fcb04
Update xfce4.py 2021-04-03 17:58:25 -04:00
m1ten 1342a1ae75
Update desktop.py 2021-04-03 17:57:19 -04:00
m1ten dcdd66fd29
applications/xfce4 2021-04-03 16:19:23 -04:00
m1ten 6446670ed4
xfce4 2021-04-03 16:17:51 -04:00
Anton Hvornum 65ec50dae5 Merge PR #113 into torxed-v2.2.0 feature branch.
This merge should add BIOS through MBR support and GRUB.
2021-04-02 10:42:26 +02:00
advaithm f4e616cd9e
updated to latest commits 2021-04-02 09:48:41 +05:30
Anton Hvornum 99dd9b1fb7 New feature: Profile() now supports .packages which returns any defined packages for that specific profile, as well as archinstall.__packages__ contain any packages that Installer() is responsible for. This can be used to quickly gather any required packages and dependencies by archinstall. Not all profiles have it yet, so .packages might return None. 2021-03-25 15:07:49 +01:00
Anton Hvornum cbb4629849 Slimmed down awesome further, also removed abandoned community package libu2f-host. 2021-03-21 16:25:56 +01:00
advaithm 850fd2efa8
Started work on BIOS support 2021-03-12 11:30:32 +05:30
Anton Hvornum 30e66e49ec Fixes #86 by properly raising the the correct exceptions. This will happen when required steps are skipped. And the error message is to simply restart the installer. 2021-01-26 10:57:48 +01:00
Anton Hvornum 9a94a632bf
Slimmed the awesome WM profile a bit more. added a TODO to ask the users to select a browser rather than 'forcing' one on them 2021-01-24 23:52:17 +01:00
Anton Hvornum 73191b921e
terminus font has changed name upstream from terminus-font-otb to terminus-font. Which is one (of probably many) fonts that is required for awesome to render text in menu's etc. 2021-01-24 23:38:20 +01:00
Anton Hvornum 5b7af12a91
Safety checks prohibited this from running
The safety mechanism prevents the installation-code under `if __name__` to run when importing to check for the `_prep_function`.
when the import for `_prep_function` check is executed it imports with a bogus `__name__` override. This is to protect anything under if `__name__` from running just to be able to import and run `_prep_function()`.

After that is done and the actual installation begins, it imports with a proper `__name__`,
The namespace is `filename` minus the `.extension` *(.py)*, normally imports of modules with dashes (`-`) in the name is prohibited, but archintall's import mechanism supports this as it's a string-import via `importlib`.

So modified to `if __name__ == 'kde-wayland'` and that worked great : )
2021-01-22 13:53:04 +01:00
advaithm 7c4fc14322
fixed spaces in kde-wayland.py 2021-01-22 17:03:35 +05:30
advaithm f83129728a
fixed spaces in kde-wayland.py 2021-01-22 17:01:34 +05:30
advaithm 43c92b0aad
fixed tabs and spaces problem 2021-01-22 16:22:30 +05:30
advaithm 6fb2e0c129
plasma-wayland installer 2021-01-22 15:16:35 +05:30
Anton Hvornum 5927060133
Merge pull request #85 from j-james/master
Spell "environment" correctly
2021-01-21 19:30:04 +01:00
j-james 627deb7992
Spell "environment" correctly 2021-01-21 06:56:11 -08:00
advaithm fe1be8d278
reworked kde.py to use sddm instead of hacking xinitrc 2021-01-21 18:57:41 +05:30
Anton Hvornum 53a4a082da
Added a profile for alacritty as well as tweaked the awesome profile and application profile. 2021-01-19 23:34:11 +01:00
Anton Hvornum 95c80b7e83 Slimmed the awesome profile a bit. No need to install tons of dependencies just for the desktop environment. 2020-11-11 23:11:11 +00:00
Varun Madiath 5ded22a5d0 Fix some PEP-8 errors. 2020-10-19 23:07:35 -04:00
Varun Madiath e4f363ce7d Fix typo in function parameter
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19 23:04:14 -04:00
Varun Madiath da59378cc4 Fix typos. 2020-10-19 23:04:14 -04:00
Anton Hvornum 3686842587 Spelling error on file 2020-10-18 12:45:10 +02:00
Anton Hvornum c6eb0386db Spelling error on a variable 2020-10-18 12:31:39 +02:00
Anton Hvornum a73f0b0135 Added a session-storag. This is in an attempt to build away some magic functionality that might otherwise be hard to understand/maintain over a long period of time. Using this in profiles/desktop.py as a test. 2020-10-18 12:28:12 +02:00
Anton Hvornum a60a3ca812 Added profile `desktop.py` which helps users select a desktop environment. Also added `archinstall.generic_select` to help with selecting generic things from a list of options. 2020-10-18 10:46:28 +02:00
Anton Hvornum cf3ccb4788 Cleaned up the awesome wm profile. A few things were test purpose-addons that shouldn't be in the default profile. 2020-09-30 20:47:28 +02:00
Anton Hvornum 6b93650bfd Type-o 2020-09-30 19:34:57 +02:00
Anton Hvornum 7448881582 Added KDE profile (untested) 2020-09-30 18:23:27 +02:00
Anton Hvornum c1692a478d __name__ missmatch in gnome profile. 2020-09-30 12:46:34 +00:00
Anton Hvornum 534679e88f Added gnome as a profile (and application for application specific steps). Also tweaked xorg to not be so intrusive when used for anything other than awesome WM. Tweaked awesome WM to accomodate this change. 2020-09-30 12:31:47 +00:00
Anton Hvornum 7f7cb6b89b Forgot to replace the xinitrc data after replacing lines. 2020-09-30 11:52:28 +00:00
Anton Hvornum 6fe4fdfce1 Debug for testing 2020-09-30 11:17:08 +00:00
Anton Hvornum 95cd1beb80 Attempt to enhance the search and replace of default apps in xorg. 2020-09-30 11:09:26 +00:00
Anton Hvornum 4597ea1a21 Fixed some issues with the awesome profile. It should now be properly installed. Still need to tweak it a bit to not be as intrusive while still giving some 'starting points' to stand on as a new user. 2020-09-30 10:54:51 +00:00
Anton Hvornum 54e2161e29 Tweaked the import logic so that the Imported() class returns the actual module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace 2020-09-30 09:56:35 +00:00
Anton Hvornum 85fd06fa8a Finalized magic function _prep_function(). Gets returned when a profile is imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :) 2020-09-30 09:11:36 +00:00
Anton Hvornum 5a4d68e617 Fixing awesome and xorg for first test run. 2020-09-30 08:37:54 +00:00
Anton Hvornum 5ce8c20333 Fixed some selection processes. 2020-09-29 22:26:40 +00:00
Anton Hvornum f896342147 Adding a baseline xorg profile that can be called from other profiles. Such as the awesome profile, and in the future gnome and kde. 2020-09-29 22:09:28 +00:00
Anton Hvornum 6338e7116e Removed AUR support (Moving to a separate project, possibly as an addon layer later) 2020-09-29 21:01:10 +00:00
Anton Hvornum ff1632ebbd Adding a comment. Also testing webhooks 2020-08-21 16:23:15 +00:00
Anton Hvornum 7a09115a70 Corrected API endpoint for automated tests. 2020-08-21 11:44:34 +00:00
Anton Hvornum 2b71ebd699 Added some debug output to the automated test profile. 2020-08-21 11:34:08 +00:00
Anton Hvornum 97696a8d02 Adjusted the automated test build to send the correct status message to the backend API. 2020-08-21 11:08:33 +00:00
Anton Hvornum 71ddbd9e02 Added API for automatic testing status. 2020-08-21 10:01:20 +00:00
Anton Hvornum 63b92f6ea7 Added try/catch for HTTPS POST. 2020-08-21 08:24:10 +00:00
Anton Hvornum 96e8cc4d5b Added a timeout on the HTTPS POST status after a successful install. 2020-08-20 22:16:53 +00:00
Anton Hvornum d449bb4b1f Added the HTTPS POST for a successful build to the unattended test build. 2020-08-20 19:56:58 +00:00
Anton Hvornum f6f5875892 Added a unattended installer. Fixed list_profiles() to not include .py ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly. 2020-08-20 19:47:39 +00:00
Anton Hvornum 056b800c8e Starting to add networking helpers in archinstall. First up is archinstall.getHwAddr(ifname) which returns the mac of a interface name. second is archinstall.list_interfaces() which lists all the local MAC addresses and which interface it is bound to. Also starting to add the unattended installer back step by step. Currently with one MAC profile. The MAC profile filtering/detection has also been added in archinstall.list_profiles() - it will filter out all MAC address-specific profiles when called, unless a MAC matches a profile or filter_irrelevant_macs=False is given. 2020-08-20 17:08:13 +00:00
Anton Hvornum 0b8a3d9540 Removed legacy .json profiles. Not in favor of .py 2020-08-04 14:45:25 +02:00
Anton Hvornum 0cd088572d New feature: application profiles now support .py as well. Also fixed a sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile) 2020-07-22 01:03:14 +00:00
Anton Hvornum aecd333ea3 v2.0.3 prep release. Profile now fully support python scripting instead of JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff 2020-07-08 10:46:52 +00:00
Anton Hvornum 3ed8db5ef0 Added support for .py profiles. Added a simple 'desktop.py' for now that is just a mock to make sure it's working. 2020-07-08 10:22:25 +00:00
Anton Hvornum d723dcf0d7 Renaming deployments to profiles 2020-07-06 22:23:29 +02:00