Commit Graph

996 Commits

Author SHA1 Message Date
Anton Hvornum b2edfa4ee3
Merge pull request #100 from grazzolini/fix_enable_services
installer: Make sure networkd and resolved are enabled
2021-01-26 14:49:12 +01:00
Anton Hvornum 467878813e This corrects some syntax things for manpages #78. Mainly links are printed out fully rather than wrapping them in a hyper link label. 2021-01-26 14:45:11 +01:00
Giancarlo Razzolini 66293c15f6
installer: Make sure networkd and resolved are enabled
Fixed the logic so systemd-networkd and systemd-resolved will always be enabled when the user
picks the option to copy files from the ISO. The previous behavior was to enable them only if
a wireless network was configured with iwd.
2021-01-26 10:18:56 -03:00
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 2885da3f71
Merge pull request #90 from Reiddragon/master
Added basic F2FS support
2021-01-26 00:02:13 +01:00
Anton Hvornum 6cac9b8610
Merge pull request #95 from Torxed/improved-logging
Tested and verified on a installation. Log file ends up and on errors there's a message printing guiding users to look for it and report issues :)
2021-01-25 23:52:55 +01:00
Anton Hvornum 165d4ebc7f
Synced over the install log to the install medium upon Installer() __exit__. Default storage is /var/log/archinstall/install.log but can be configured in storage.py. This will include crash dumps and a identical copy is found in the ISO as well, in case the users starts looking in /var/log/archinstall in the ISO medium. 2021-01-26 00:44:34 +01:00
Anton Hvornum 65e6b8fe31 Merge branch 'master' of github.com:Torxed/archinstall into improved-logging 2021-01-26 00:33:28 +01:00
Anton Hvornum 190ec7ad42
Merge pull request #96 from Torxed/hardware-n-wifi
Added wifi-configuration support (basic) by copying existing `iwd` configurations. Also added some hardware detection helpers such as `UEFI` detection and wifi hardware as well as detection for three common graphic cards.
2021-01-25 23:32:10 +01:00
Anton Hvornum 3db8e3abbc
Error in copy paste of function name. 2021-01-26 00:22:10 +01:00
Anton Hvornum 5bc878d58c
Added enabling of systemd-networkd and systemd-resolvd in the copying of the ISO network configuration. 2021-01-26 00:13:40 +01:00
Anton Hvornum a3d9ad9f3f
Corrected a error in the installation of iwd. The package was added to base_packages, which is never installed if the installer has already finished installing the base packages before this function was called. copy_ISO_network_config() there for now properly checks if the installation is complete and if so, simply straps in the package. Otherwise adds it to the base packages and waits for the base to roll through. 2021-01-26 00:11:17 +01:00
Anton Hvornum 0c92710c56
Merge pull request #97 from grazzolini/git-pkgbuild
Move PKGBUILD dir to PKGBUILDs dir and create a new PKGBUILD for git
2021-01-25 16:56:07 +01:00
Giancarlo Razzolini db4659a3eb
Move PKGBUILD dir to PKGBUILDs dir and create a new PKGBUILD for git
Create a new PKGBUILD that builds from the current git directory for ease of
testing. Moved the PKGBUILD directory to PKGBUILDs.
2021-01-25 12:06:24 -03:00
Anton Hvornum 405794d53f Adding copy mode for #95 (#82). I wouldn't say this is a hacky way of doing it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over. 2021-01-25 15:39:27 +01:00
Anton Hvornum 1c80a893ac Adding copy mode for #95 (#82). I wouldn't say this is a hacky way of doing it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over. 2021-01-25 15:34:35 +01:00
Anton Hvornum 3a16d156b9 Added an embryo for listing wireless networks. 2021-01-25 12:38:11 +01:00
Anton Hvornum 7358dc5a03 Added some basic/crude graphics checks in hardware.py 2021-01-25 10:42:02 +01:00
Anton Hvornum 68adb3108f Created an embryo for hardware detection. Supports detecting WiFi and UEFI. This fixes #44 and is a start for #82. 2021-01-25 10:31:02 +01:00
Anton Hvornum 5c696c4bc1
Delete test.py 2021-01-25 10:11:51 +01:00
Anton Hvornum 7eaee2cd48
Added a little print out to inform the user about where to find the log file on a crash. 2021-01-25 00:25:15 +01:00
Anton Hvornum 40622265a2
Simplified the code a bit by removing the log file setup. It's not handled by archinstall.output.log(). Also moved two variable setups to the top. 2021-01-25 00:11:34 +01:00
Anton Hvornum 435d2f687e
Added some more fields to the configuration output, as well as added a better fail safe for the logging output. Any exception during the installation will be caught by __exit__ in Installer(), hopefully. 2021-01-25 00:09:34 +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 a58331868e
Added debug output as well as corrected output formatting in log(). 2021-01-24 23:41:45 +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 ca2408a3d2
Mixup with variable name 2021-01-24 23:31:41 +01:00
Anton Hvornum 828a09b9c8
Simpligied installer.log() to wrap output.log() with it's changes. 2021-01-24 22:57:16 +01:00
Anton Hvornum f31d5e34cd Trying to centralize the configuration for logging. Phasing out some parameters which also affects the current ability to create multiple log files for multiple runs. This will be re-introduced when logging is made into a class object in a later version 2021-01-24 22:42:07 +01:00
Anton Hvornum 97b8bbb7d1
Merge pull request #92 from grazzolini/change_arch_site
Change Arch Linux site URL's
2021-01-22 17:41:19 +01:00
Giancarlo Razzolini f48e5d59c6
Change Arch Linux site URL's
Recently Arch Linux shed the www portion of its site. The links still work,
but it's a 301 redirection to archlinux.org. Changed all the URL's still pointing
to www.archlinux.org to avoid the unnecessary redirection, since on browsers the 301
is usually saved and respected, but command line tools line wget or python might not
save this and always go through the redirect.
2021-01-22 13:34:44 -03:00
Reid eb7f44d03d Added basic F2FS support 2021-01-22 16:40:46 +02:00
Anton Hvornum 1013153744
Merge pull request #89 from advaithm/master
plasma wayland and xfs support
2021-01-22 13:54:11 +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 a54c6e3c2f
replced slef.part with self.partition 2021-01-22 17:08:35 +05:30
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 eb35265234
fixex spaces in installer.py 2021-01-22 16:57:33 +05:30
advaithm 43c92b0aad
fixed tabs and spaces problem 2021-01-22 16:22:30 +05:30
advaithm 905f10e9d2
fixed tabs and spaces problem 2021-01-22 16:18:12 +05:30
advaithm 40c6aad0ed
xfs as partition option 2021-01-22 15:32:29 +05:30
advaithm 6fb2e0c129
plasma-wayland installer 2021-01-22 15:16:35 +05:30
Anton Hvornum 89bb819af2
Fixes #88 - ext4 paritions incorrectly labeled 2021-01-21 20:21:31 +01:00
Anton Hvornum 5927060133
Merge pull request #85 from j-james/master
Spell "environment" correctly
2021-01-21 19:30:04 +01:00
Anton Hvornum d54e281249
Merge pull request #87 from grazzolini/fix_networking
examples/guided: Enable systemd-resolved
2021-01-21 19:11:04 +01:00
Giancarlo Razzolini 07ca7f421d
examples/guided: Enable systemd-resolved
If we enable systemd-networkd and do not enable systemd-resolved, the installed system
is left on a state where it has networking, but can resolve any hostnames. It is required
to have systemd-resolved enabled if any .network file has a DNS entry or is using DHCP=yes.

https://wiki.archlinux.org/index.php/Systemd-networkd#Required_services_and_setup
2021-01-21 15:02:33 -03:00
Anton Hvornum 63f04d3110
Added nullrequest to the contributors list. 2021-01-21 17:20:52 +01:00
Anton Hvornum 178bfe9bfe
Merge pull request #84 from advaithm/master
reworked kde.py to use sddm instead of hacking xinitrc
2021-01-21 17:05:37 +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