Commit Graph

2310 Commits

Author SHA1 Message Date
Anton Hvornum a7d2f5ea03
Merge pull request #613 from RustyRaptor/master
fixed the git checkout non-existent branch
2021-09-06 15:48:11 +02:00
Anton Hvornum 355f502d80
Merge pull request #610 from luckspt/patch-2
Typo
2021-09-06 15:45:53 +02:00
Anton Hvornum 000eb14668
Merge pull request #608 from archlinux/deepin-profile
Remove lightdm packages from Deepin profile
2021-09-06 15:43:29 +02:00
Anton Hvornum bf18260510
Merge pull request #605 from CYPT71/patch-1
Update hardware.py
2021-09-06 15:42:15 +02:00
Anton Hvornum 8d7ccde162
Added exception handling to check_output
I tweaked the optimized return of check_output. Worth mentioning that `check_output()` will raise an exception `subprocess.CalledProcessError: Command 'lscpu | grep AMD' returned non-zero exit status 1.`.
2021-09-06 13:40:45 +00:00
Anton Hvornum 5fe752cf72
No need for try/catch any longer.
The old behavior of SysCommand was that exit codes raised an exception, which needed to be handled by each individual caller. We now utilize `.exit_code` instead to manually detect faulty commands and raise exceptions where needed.
2021-09-06 13:22:53 +00:00
Anton Hvornum 0f5e0c0d3f
Merge pull request #603 from j-james/master
Mention GNOME and KDE's soft dependency on NetworkManager in the installation process
2021-09-06 15:01:43 +02:00
Anton Hvornum 48fd68124a
Merge branch 'master' into master 2021-09-06 15:01:37 +02:00
Anton Hvornum 05c923524b
Merge pull request #600 from monosans/comprehension
Replace for loops with comprehensions
2021-09-06 14:26:30 +02:00
Anton Hvornum 025dc83194 Corrected some minor modifications mentioned in #595 as well as merged in latest changes from master. For future PR's do create a patch-branch for upstream patches to avoid changes to your local repo. 2021-09-06 12:22:57 +00:00
Anton Hvornum cc6491f0a5
Merge pull request #578 from l4zy0n3/patch-2
created load_config() to load configuration
2021-09-06 12:11:58 +02:00
Yash Tripathi c461cc49e7
only prompt if _selected_servers is not set 2021-08-20 03:54:23 +05:30
Yash Tripathi 78bbf26c1a
Update guided.py 2021-08-20 03:48:13 +05:30
Yash Tripathi 6d462ac1cc
added servers key 2021-08-20 03:34:50 +05:30
RustyRaptor 71ec22a349
fixed the git checkout non-existent branch
It looks like the `torxed-v2.2.0` branch doesnt exist anymore and I assume its now just `v2.2.0` instead so I changed this command in Using a live ISO
2021-08-17 13:54:26 -06:00
Felix Yan 339e9f8a42
Add back lightdm, be more explicit 2021-08-05 15:23:50 +08:00
Lucas Pinto 64e6b7b456
Typo
Fix a tiny typo
2021-07-28 01:35:26 +01:00
Felix Yan a1667a25f1
Remove lightdm packages from Deepin profile
As of deepin-session-shell 5.4.42-2 (which is in the deepin group), lightdm is added as a dependency because of lightdm-deepin-greeter. A configuration (usr/share/lightdm/lightdm.conf.d/60-deepin.conf) in startdde (also in the deepin group) should override default lightdm configuration to use lightdm-deepin-greeter instead of the gtk greeter. Thus these two packages could be removed from the profile now.

This effectively reverts #441
2021-07-24 20:41:35 +08:00
CYPT71 bbce3aa26a
Update hardware.py
Rewrite some function 

if condition is True then return true else return false, transform in return condition directly 

Also I don't understand why we need a try/except at line 151 and why we not write return condition ??
2021-07-22 11:47:56 +02:00
j-james b0aa5dcbbb Mention GNOME and KDE's soft dependency on NetworkManager in the install 2021-07-19 16:09:44 -07:00
Yash Tripathi a67a2693db fixed profile selection 2021-07-18 22:41:18 +05:30
Yash Tripathi b60e8dfd10 changed dry_run to dry-run 2021-07-18 21:45:24 +05:30
Yash Tripathi b2476313a7 added new key for desktop-environment 2021-07-18 21:40:44 +05:30
Yash Tripathi b1998ddebf fix for #602, running mklabel before formatting 2021-07-18 17:15:01 +05:30
Yash Tripathi e4eadbb5a8
Merge branch 'master' into patch-2 2021-07-18 01:30:16 +05:30
Yash Tripathi d55b1786c5 created load_config() to load configuration 2021-07-18 01:28:41 +05:30
monosans 3d4f58a04e Replace for loops with comprehensions 2021-07-16 10:42:29 +03:00
Hamad Al Marri 51eb05691a Fix encryption + grub both in UEFI and BIOS systems.
We need to have two partitions in BIOS one for boot (grub)
and the other for root (/). The format of the boot partition
is ext2 (so it is added).

If disk is chosen to be encrypted, `then /etc/default/grub` is edited
as the followings: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Configuring_GRUB_2

Issue: https://github.com/archlinux/archinstall/issues/586

This work is done while working on CachyOS which is Arch based and
it is using customized archinstaller.

To test these changes you can try CachyOS installer which supports
encrypted disk with grub (https://wiki.cachyos.org/).

Hamad
2021-07-07 18:38:55 +03:00
Anton Hvornum 3a40764194
Merge pull request #580 from dylanmtaylor/patch-1
Change graphics driver prompt to better indicate default action
2021-06-14 09:37:47 +02:00
Dylan M. Taylor 8617e0c2b7
Change graphics driver prompt to better indicate default action 2021-06-13 21:51:40 -04:00
Anton Hvornum 8489137b87
Merge pull request #577 from chingnux/fix-silent
fix the case when there's --config but --silent is not set
2021-06-13 16:28:12 +02:00
Yash Tripathi d30a22cae3
Setting proper keys in exported config (#557)
* Set the resolved profile path to the actual desktop environment

* split Nvidia driver list into proprietary and open-source

* Updated select_driver to use archinstall.arguments for driver selection

* Adding default value that works with later .get()

* audio will now be prompted irrespective of profile
2021-06-13 14:52:24 +02:00
Dylan M. Taylor 4e17355796
Implement is_desktop_profile helper function (#575)
* Implement is_desktop_profile helper function

* Make ask_for_audio_selection use generic_select

* Fix default value for audio selection

* Leverage list of supported desktops to perform is_desktop_profile check

* is_desktop_profile was missing a default return value

* Store return value for audio server
2021-06-13 14:32:38 +02:00
Iru Cai c4edf34764 fix the case when there's --config but --silent is not set 2021-06-13 16:51:57 +08:00
Anton Hvornum b9af735d85
Merge pull request #569 from dylanmtaylor/patch-1
Add a message when running check_mirror_reachable to let users know it's not frozen
2021-06-10 21:15:53 +02:00
Dylan M. Taylor 2eec8ffd6c
Clarify driver recommendations (#572) 2021-06-10 15:43:50 +02:00
Yash Tripathi fcd0acfef2
added --dry-run flag (#570)
* added --dry-run flag
2021-06-10 15:06:15 +02:00
Dylan M. Taylor 3023e57033
Add a message when running check_mirror_reachable to let users know it is not frozen. 2021-06-10 07:44:23 -04:00
Anton Hvornum 14d0685edc
Merge pull request #552 from l4zy0n3/patch-1
added support for optionally seperating credentials from config
2021-06-10 13:34:59 +02:00
Anton Hvornum 67b1a9395f
Merge pull request #551 from m1ten/patch-1
adds python-sphinx in make dependency and manual
2021-06-10 13:32:39 +02:00
Anton Hvornum 5ae3d11ab2
Merge pull request #537 from archlinux/torxed-fix-517
Introduces the use of HTTP mirrors additionally
2021-06-10 13:31:27 +02:00
Anton Hvornum dc10725bf9
Merge pull request #538 from archlinux/torxed-fix-536
Attempt to fix issue regarding broken output
2021-06-10 13:27:48 +02:00
Anton Hvornum 4668ea235c
Merge pull request #568 from dylanmtaylor/patch-1
Only run publish_pypi when a tag is created on the master branch
2021-06-10 13:20:26 +02:00
Dylan M. Taylor e5e818a52a
Only run publish_pypi when a tag is created on the master branch 2021-06-10 07:14:51 -04:00
Anton Hvornum d3dddcf425
Merge pull request #565 from dylanmtaylor/patch-1
Exit codes are an 8 bit value and could be 0 through 255
2021-06-10 12:54:33 +02:00
Dylan M. Taylor 0563d307e8
Exit codes are an 8 bit value and could be 0 through 255
We also don't need to check the exit code - this message should just be displayed if we are not root
2021-06-10 06:53:05 -04:00
Anton Hvornum 14aeb3b177
Merge pull request #562 from dylanmtaylor/hide-requires-root-if-root
Only print requires root messages if effective user id is not root
2021-06-10 11:53:43 +02:00
Anton Hvornum 4572a41159
Merge pull request #559 from dylanmtaylor/patch-1
Proposal: Split Nvidia so that there are two options for it
2021-06-10 10:02:56 +02:00
Anton Hvornum 50d378c676
Merge pull request #548 from dylanmtaylor/umount-before-mklabel
Try to solve issue with mklabel while partitions are mounted.
2021-06-10 09:59:47 +02:00
Anton Hvornum adcd07930d
Merge pull request #561 from dylanmtaylor/port-workspaces-gitlab-ci
Initial port of GitHub Actions to GitLab CI/CD
2021-06-10 09:57:34 +02:00