Commit Graph

969 Commits

Author SHA1 Message Date
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
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
Anton Hvornum f152b67536
Merge pull request #79 from grazzolini/installation
Change the documentation now that archinstall is on the official repo…
2021-01-20 23:16:41 +01:00
Giancarlo Razzolini beb6ab1ee5
Change the documentation now that archinstall is on the official repositories
Changed README.md to not use sudo pip anymore and point users to use pacman instead.
We go into more detail on the docs. Changed binary.rst to point to the official repositories
too. Changed python.rst to point to using the official repositories for the installation of
both the archinstall script or for just installing the library (archinstall depends on python-archinstall).
2021-01-20 18:43:58 -03:00
Anton Hvornum 61866e346f
Updated hashsums to latest version: v2.1.0 2021-01-20 01:03:48 +01:00
Anton Hvornum ec638351e8
Version bump. All future releases will now be PGP-signed. 2021-01-20 00:40:08 +01:00
Anton Hvornum c67b1c4006
Expanded a shortening. 2021-01-19 23:59:38 +01:00
Anton Hvornum 1819b591ae
Merge pull request #77 from Torxed/fix_typos
Fix typos
2021-01-19 22:59:02 +01:00
Anton Hvornum b4d92701fd
Expanded a shortening. 2021-01-19 23:57:36 +01:00
Anton Hvornum 0c40aafb2d
Merging in master changes into grazzolini's typo fixes 2021-01-19 23:48:15 +01:00
Anton Hvornum d0a02f39c8
Fixed #76 and created PGP keys. 2021-01-19 23:35:37 +01:00
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 31c3fc0d60
Merge pull request #75 from grazzolini/fix_typos
CONTRIBUTING: Fix typos
2021-01-19 22:56:47 +01:00
Giancarlo Razzolini de248caa0c
CONTRIBUTING: Fix typos
Fixed some typos on the CONTRIBUTING.md document.
2021-01-11 12:26:37 -03:00
Anton Hvornum c5250fbe3e Installer.mount() had accedental hard coded mountpoint. 2020-12-09 10:33:32 +01:00
Anton Hvornum 5cf09c6641 Removing debug output 2020-12-07 20:38:51 +01:00
Anton Hvornum 21cfe5708c Fixing a strip glitch in `sys_command()` causing certain output to get truncated in unwanted places (like fstab) 2020-12-07 20:36:06 +01:00
Anton Hvornum 5c8d24a329 Minor tweaks 2020-12-07 20:33:09 +01:00
Anton Hvornum ada7a0515b More debugging 2020-12-07 20:31:18 +01:00
Anton Hvornum 881d77064c Debug data 2020-12-07 20:27:45 +01:00
Anton Hvornum 5e62b409b4 Type mismatch in genfstab() 2020-12-07 20:21:47 +01:00
Anton Hvornum 0de302c47d Updated fstab to better match the given input 2020-12-07 20:18:47 +01:00
Anton Hvornum ba863c341d fstab incorrectly updated since many version ago
Updated `genfstab()` to approprately generate a correct fstab for mounted filesystems used in `installation.mountpoint`.
2020-12-07 19:56:51 +01:00
Anton Hvornum 7097fb9ce3 Debugging 2020-12-07 19:36:18 +01:00
Anton Hvornum 584219e847 Updated debug log output 2020-12-07 19:28:36 +01:00
Anton Hvornum c3336dcb70 Added some more log output regarding fstab. 2020-12-07 19:22:48 +01:00
Anton Hvornum fb429fc866 Reverted genfstab changes.
But placed genfstab in the Installation() __exit__ as the last action performed.
2020-12-07 16:45:49 +01:00
Anton Hvornum 67ce208d25 Debugging 2020-12-07 16:42:08 +01:00
Anton Hvornum 63c6e0464b Making sure installation.mount() also triggers genfstab.
Since it's a installation specific mount, we need to re-create genfstab. Also corrected genfstab flags as well as added an option to override the >> (append) operator to become a write-over operator.
2020-12-07 16:36:35 +01:00