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
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
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