Commit Graph

277 Commits

Author SHA1 Message Date
Dylan M. Taylor af3d85dc7d
Add cockpit, depends on #396 2021-04-29 11:41:57 -04:00
Dylan M. Taylor 89bc10ad9a
Add cockpit application package 2021-04-29 11:11:26 -04:00
Dylan Taylor 5e567b6f3b Remove a comment 2021-04-29 10:39:01 -04:00
Dylan Taylor 8b6ee6f303 Merge branch 'master' into patch-1 2021-04-29 10:22:42 -04:00
Dylan M. Taylor 3c5dd7b335 First implementation of server top-level profile 2021-04-29 10:22:33 -04:00
Dylan M. Taylor c3bb503fab
Add SSH Server Application Profile 2021-04-29 08:01:15 -04:00
Anton Hvornum fb56fa3c5f
Merge pull request #390 from dylanmtaylor/patch-9
Add lighttpd application profile
2021-04-29 11:35:39 +00:00
Anton Hvornum a94cea235d
Merge pull request #389 from dylanmtaylor/patch-8
Add Docker Application Profile
2021-04-29 11:35:22 +00:00
Anton Hvornum 6e646ebebf
Merge pull request #388 from dylanmtaylor/patch-7
Add Tomcat application profile
2021-04-29 11:35:09 +00:00
Anton Hvornum c930ff826e
Merge pull request #387 from dylanmtaylor/patch-6
Add Apache HTTPD Application Profile
2021-04-29 11:34:50 +00:00
Anton Hvornum 6b2ea318f3
Merge pull request #385 from dylanmtaylor/patch-4
Add nginx application profile
2021-04-29 11:34:26 +00:00
Dylan M. Taylor f7cb4c8fb9
Add MariaDB Application Profile (#386) 2021-04-29 13:33:46 +02:00
Anton Hvornum 0ebc6be7ae
Added a postgresql application profile. (#383)
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment.

* Fixing top-level-listing of profiles. As well as testing some postgres installation steps.

* Removed dupe functions.

* Added safety check in case a comment mentions the top level profile thing.

* Patching namespace corruption.

* Avoiding runtime collision due to installation not being initiated yet.

* Allow for parameterization of filesystem in guided.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29 13:32:21 +02:00
Dylan M. Taylor 9d5e9333c7
Add lighttpd application profile 2021-04-29 07:18:38 -04:00
Dylan M. Taylor 5cf0419073
Add Docker Application Profile 2021-04-29 07:14:34 -04:00
Dylan M. Taylor 9e8446a96a
Add Tomcat application profile
Using Tomcat 10 as that is the latest release
2021-04-29 07:09:46 -04:00
Dylan M. Taylor 5c6cd59aec
Add Apache HTTPD Application Profile 2021-04-29 07:03:57 -04:00
Dylan M. Taylor eb2174eef9
Add nginx profile 2021-04-29 06:57:52 -04:00
Jatin 16a1a00643
Fixed a typo in the last PR https://github.com/archlinux/archinstall/pull/378
replaced a `.` with a `,` in gnome.py profile.
2021-04-29 15:50:01 +05:30
Anton Hvornum 455dd24614
Merge branch 'master' into packages 2021-04-29 08:23:01 +00:00
Anton Hvornum 2d02e806f2
Cleaning up packages. (#374)
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles.

* Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot.

* Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed.

* Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining.

* Explosion misspelling.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29 10:18:43 +02:00
Dylan Taylor 1238199ed8 egl-wayland is small enough that conditionally installing it doesn't make a lot of sense 2021-04-28 11:49:23 -04:00
Dylan M. Taylor f9f359ab73
This variable wasn't really needed. 2021-04-28 11:30:30 -04:00
Dylan Taylor fd042053be Rework KDE profile package installation 2021-04-28 11:21:24 -04:00
Dylan Taylor 6013e06fb1 Add packages to top of each desktop profile 2021-04-28 11:20:00 -04:00
Dylan Taylor f91c0137d5 Remove refs to application profiles that were removed 2021-04-28 11:14:18 -04:00
Dylan Taylor 23a9e9f69a Change how i3 configurations are installed 2021-04-28 11:13:16 -04:00
Dylan Taylor 2d4326b6c5 Rework how alacritty is installed for awesome 2021-04-28 11:11:36 -04:00
Dylan Taylor 8706b48097 Restore kde.py 2021-04-28 11:10:08 -04:00
Dylan Taylor f319308d37 Remove application profiles that just install additional packages and do not do anything else to customize or configure. 2021-04-28 11:08:50 -04:00
Dylan Taylor e9d5cd1a11 Rework budgie to use package definition 2021-04-28 11:07:18 -04:00
Dylan M. Taylor 3961f252c8
Allow Sway Nvidia override 2021-04-28 07:43:28 -04:00
advaithm 0e89173ddf
Raise a hardware incompatibilty error if someone installs the nvidia prop dirvers with sway 2021-04-28 09:37:22 +05:30
advaithm 8144ac736d
install nvidia-dkms when running linux-zen/lts 2021-04-28 09:35:07 +05:30
Dylan M. Taylor 0fa99cf3cf
Delete i3-gaps.py 2021-04-27 08:03:10 -04:00
Dylan M. Taylor 806e5fa3af
Delete i3-wm.py 2021-04-27 08:02:24 -04:00
advaithm 85e4a85cdb
updated to lastest commit, fixed a conflict 2021-04-24 13:56:35 +05:30
Dylan M. Taylor 91fa98f48d
While somewhat nice to have, archlinux-wallpaper isn't needed in a minimal installation. 2021-04-22 17:49:58 -04:00
advaithm 1188303fb3
fixed another messed up import 2021-04-22 19:16:27 +05:30
advaithm e63eb26388
fixed merge conflicts 2021-04-22 17:03:24 +05:30
advaithm eb1ff72f5b
readded some commits that got removed 2021-04-22 17:00:51 +05:30
advaithm 15d56c2bc7
merged with master 2021-04-22 16:41:47 +05:30
advaithm 7872d5b7fa
rebase clean up 2021-04-20 19:23:18 +05:30
SecondThundeR 1d04c92258 Add sort parameter for generic_select
Updated required features to support these change
2021-04-20 14:45:54 +03:00
Anton Hvornum 2b7face252 Merging in PR #312 - Add Deepin desktop 2021-04-20 10:03:58 +02:00
SecondThundeR d2eacffff8 Update some functions
Here are list of changes:
- Added IP/subnet validation using Python's `ipaddress` module
- Added workaround for network configuration modes where user can enter DHCP or IP without brackets.
- Returned local printing options for some functions to keep `The above list...`
- Moved booleans for `generic_select` below options and text parameters
- Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines.
- Reduced variable name length for simplicity
- Fixed some typos
2021-04-19 20:34:35 +03:00
SecondThundeR a316846121 Replace input with generic_select where necessary
Here are list of changes:
> From now on, `generic_select` will be called "Select function", for clarity

- Slightly updated select function
- Removed options output for some functions, where it's better to do with select function
- Added sorting for all lists passed to select function
- Replaced `dict.values()` with `dict` as options parameter
- Simplified input checking for all functions that use the select function
- Added temporary *(for now)* workaround for passing `?` and `help` inputs
- Merged fix for `partition.format()`
2021-04-17 16:35:21 +03:00
Anton Hvornum 5fba277dda Merging in master to feature branch. 2021-04-17 09:52:09 +02:00
robsonsilv4 fcd07b284e Add Deepin desktop 2021-04-15 23:33:04 -03:00
Dylan M. Taylor 06920652b3
Fix some more awesome installation issues 2021-04-13 21:21:43 -04:00
Dylan M. Taylor 64b0ef8540
Fix awesome profile installation 2021-04-12 08:53:38 -04:00
Anton Hvornum 398f95ee56 Merge branch 'master' into torxed-v2.2.0 2021-04-12 00:09:55 +02:00
Dylan Taylor cf46642037 Implement MATE desktop environment 2021-04-11 10:19:25 -04:00
Anton Hvornum 1292c07796
Fixed PR #273. Moved the graphic drivers into hardware since they are hardware specific, in the long run maybe we move them into 'drivers' or something. And moved the user interaction from gfx_drivers into user_interactions. And removed the import from installer.py to __init__.py since we don't want to import 'global functions' in extension imports. 2021-04-11 10:20:33 +02:00
Dylan Taylor 09f252d031 Make desktop.py line match master. 2021-04-10 13:29:20 -04:00
Dylan Taylor f74dab9a5a Don't want prompt twice 2021-04-10 12:14:17 -04:00
Dylan Taylor 5f46f76bd5 Multiple restructuring changes 2021-04-10 11:58:53 -04:00
Dylan M. Taylor d510ad5b98
Delete wayland.py 2021-04-10 11:37:04 -04:00
Anton Hvornum b344c63f04
Merge pull request #268 from dylanmtaylor/remove-greeter-settings-gui
Remove lightdm-gtk-greeter-settings
2021-04-10 11:38:09 +00:00
Anton Hvornum ef702c2f20
Merge pull request #265 from dylanmtaylor/patch-6
i3-sensible-terminal can't find a terminal on new install
2021-04-10 11:37:23 +00:00
Dylan Taylor 29ecf232d4 Remove lightdm-gtk-greeter-settings 2021-04-10 00:21:15 -04:00
Dylan M. Taylor 40b3a935eb i3-sensible-terminal can't find a terminal on new install
Add urxvt, the most preferred terminal according to https://man.archlinux.org/man/i3-sensible-terminal.1
Update i3.py
Update i3.py
2021-04-09 22:13:52 -04:00
Dylan M. Taylor 4550076432
Try to solve #261 and related issues 2021-04-09 18:05:00 -04:00
Dylan M. Taylor 3eeb49bd44
Forgot to commit adding budgie to desktop profile 2021-04-09 16:02:26 -04:00
Anton Hvornum 495cd0d5cb
Update i3.py 2021-04-09 21:42:37 +02:00
Anton Hvornum 5bc8ca361a
Update i3.py 2021-04-09 21:42:24 +02:00
Anton Hvornum 33ad831709
Merge pull request #258 from dylanmtaylor/patch-3
Further i3 simplification and cleanup
2021-04-09 19:36:07 +00:00
Dylan M. Taylor 40df2d6e80 Further i3 simplification and cleanup 2021-04-09 15:32:01 -04:00
Dylan M. Taylor 8d627d0c09
Add more suggested packages to sway 2021-04-09 14:19:46 -04:00
Anton Hvornum 5543cb9eda
Merge pull request #254 from dylanmtaylor/budgie
Add missing cherry-picked commits and implement Budgie
2021-04-09 13:09:28 +00:00
Dylan Taylor 326b96d808 Add budgie implementation 2021-04-09 08:32:58 -04:00
m1ten b86233d7ba add lightdm-gtk-greeter 2021-04-09 08:26:37 -04:00
m1ten 738e60c059 applications/xfce4 2021-04-09 08:26:30 -04:00
m1ten 5499bcc8b9 applications/cinnamon 2021-04-09 08:26:07 -04:00
Anton Hvornum 4664bcf29d
Merge pull request #252 from dylanmtaylor/patch-4
As pointed out to me, sway doesn't officially support display managers
2021-04-09 11:47:03 +00:00
Dylan M. Taylor 02f4392c22 As pointed out to me, sway doesn't officially support display managers 2021-04-09 06:52:18 -04:00
Dylan M. Taylor d50b26498e Add the sway packages from advaithm's 2.2.0 sway work
Remove sddm
2021-04-09 06:51:43 -04:00
Anton Hvornum 3d659dead8
Merge pull request #251 from advaithm/torxed-v2.2.0
Split drivers from xorg and create a seprate profile for wayland. Remove the use of sddm from sway and raise issues with the nvidia drivers
2021-04-09 08:08:53 +00:00
Anton Hvornum f45429b099
Merge pull request #247 from dylanmtaylor/patch-3
draft: Cherry-Pick i3 Profiles and Make Common i3 Package
2021-04-09 08:05:12 +00:00
advaithm b85514ae5e renamed driver.py to gfx_driver.py. also explictly check if we are using the propritery nvidia drivers 2021-04-09 13:28:12 +05:30
advaithm 349c3ec5b4 Update sway.py 2021-04-09 13:16:39 +05:30
advaithm 8a39bdde4b added information on how to start sway 2021-04-09 12:13:41 +05:30
advaithm 1a760c591f Update sway.py 2021-04-09 12:05:51 +05:30
Dylan Taylor 82c5241946 This might work to make the i3 profiles as small as possible 2021-04-08 21:24:21 -04:00
Dylan Taylor 7e161d187c Remove post-install hooks from i3 profiles 2021-04-08 21:20:00 -04:00
Dylan Taylor 6a6439daa9 Move more logic into common profile 2021-04-08 21:11:33 -04:00
Dylan Taylor a5eb815b3e Move common packages to common i3 profile 2021-04-08 21:00:55 -04:00
Dylan Taylor 37db6b8973 Add is_top_level_profile = False to i3 profiles 2021-04-08 20:58:52 -04:00
Anton Hvornum 8f7d8df89f Swapped print for log and added return values 2021-04-08 20:57:46 -04:00
Dylan M. Taylor e3ea46ce5c Noticed that some KDE instances weren't changed to i3 when copying
Another one
2021-04-08 20:57:12 -04:00
Anton Hvornum 8c5af80c93 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-08 20:57:04 -04:00
advaithm 230c5709cc added _post_install hook. 2021-04-08 20:56:45 -04:00
advaithm 6b5b3180f3 add i3-wm and i3-gaps support 2021-04-08 20:55:54 -04:00
Dylan M. Taylor 6f4b35c4e8
Add i3 profile to desktop.py 2021-04-08 20:54:34 -04:00
Dylan M. Taylor 32c902a4d8
draft: Make i3 package to select i3 configuration 2021-04-08 20:52:47 -04:00
Dylan M. Taylor 8ec18d94bb
Add vim to desktop packages as not everyone likes nano 2021-04-08 18:28:13 -04:00
Dylan M. Taylor 51f533539d
Change xscreensaver to slock 2021-04-08 16:34:17 -04:00
Dylan M. Taylor 9545680459
breeze-icons and oxygen-icons are both needed to not have missing icons 2021-04-08 16:21:46 -04:00
Dylan M. Taylor adb73f5ba6
It was far too minimal to be usable before. 2021-04-08 16:10:33 -04:00
Dylan Taylor 0d194e2606 Initial implementation of LXQt 2021-04-08 15:54:54 -04:00