Commit Graph

2839 Commits

Author SHA1 Message Date
Daniel Girtler bcd810d2d2
Fix 1117 (#1126)
* Fix 1117

* Update

* flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-05 12:48:01 +02:00
Daniel Girtler 2d37157178
Fix 1091 and other minor fixes (#1103)
* Fix 1091

* Update

* flake8

* Only display btrfs options if there is a filesystem

* Fix 1118

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-02 13:02:21 +02:00
Daniel Girtler f00717ff6f
Fix #1106 (#1119)
* Fix #1106

* flake8

* flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-02 13:01:50 +02:00
Anton Hvornum 48b1001734 Hotfix for plugins, forgot group= 2022-05-01 17:08:05 +02:00
Anton Hvornum c40d27b074
The dict object is deprectrecated, instead .select() is suggested. (#1107)
* The dict object is deprectrecated, instead .select() is suggested.

* removed copy paste issue

* Removed tests, they'll be added in a separate PR
2022-05-01 17:06:23 +02:00
Anton Hvornum 7fc65fad0c
Updated PKGBUILD to handle symlink issues for now 2022-04-29 11:26:34 +02:00
Anton Hvornum 58a734e90e
Version bump to v2.4.2 2022-04-29 11:22:46 +02:00
Anton Hvornum fb76f46b77
unlocked luks2 partitions were missing a BlockDevice parameter. It's technically not the true block device, as the mapper dev belongs to a partition, but in this context blockdev means the harddrive/medium that the partition (unlocked or otherwise) lives on. (#1100) 2022-04-29 11:12:24 +02:00
Daniel Girtler fc08aeef4e
Fix #1096 (#1099)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-29 09:05:50 +02:00
Anton Hvornum 9e942d190a
Version bump to v2.4.1 (due to pypi.org having a yanked 2.4.0) 2022-04-27 23:40:11 +02:00
Anton Hvornum 21da87df5e
Version bump to v2.4.1 (due to pypi.org having a yanked 2.4.0) 2022-04-27 23:39:48 +02:00
Anton Hvornum 621adc9580
Adding pacman-key --init to ISO runner 2022-04-26 22:24:28 +02:00
Anton Hvornum 3b5d7cdb16
--noconfirm to pacman upgrade 2022-04-26 22:19:03 +02:00
Anton Hvornum a9f2e0db2e
pacman-key --ref.. -> pacman -S archlinux-keyring 2022-04-26 22:16:35 +02:00
Anton Hvornum 166cf4a590
archlinux-keyring -> pacman-key 2022-04-26 22:06:22 +02:00
Anton Hvornum 4b00564994
Adding in a refresh of keyring before building ISO 2022-04-26 22:03:45 +02:00
Anton Hvornum a63e8ae7f9
Torxed issue 1083 (#1090)
* Optimized a bunch of partprobe calls. Namely fixed sleep calls, added optional path to the general archinstall.partprobe() call. And fixed some error handling in a few places which should tell us where #1083 might be going wrong.

* Fixed some flake8 complaints

* Fixed sleep having a min() of 0.1 or given value.

* Fixed sleep having a correct range variable.

* Fixed sleep logic to use max() instead of min() as it will never use the higer sleep values otheride

* Added error handling to Partition().partprobe() as it would cause certain issues with USB disks. Also made Partition()._safe_uuid more safe by eliminating exceptions being raised.
2022-04-26 21:57:33 +02:00
Anton Hvornum 59c35df067
Optimized a bunch of partprobe calls. (#1088)
* Optimized a bunch of partprobe calls. Namely fixed sleep calls, added optional path to the general archinstall.partprobe() call. And fixed some error handling in a few places which should tell us where #1083 might be going wrong.

* Fixed some flake8 complaints

* Fixed sleep having a min() of 0.1 or given value.

* Fixed sleep having a correct range variable.

* Fixed sleep logic to use max() instead of min() as it will never use the higer sleep values otheride
2022-04-26 17:13:47 +02:00
Anton Hvornum eafbf49cdc
Adding back 'timedatectl set-ntp true' but with the condition of it being activated. This is because the default NTP value is set to True. And will subsequently never be triggered through the menu system. So we'll have to activate it (again) if set to True before installer starts. 2022-04-26 15:13:29 +02:00
Anton Hvornum 010f6eaf97
Added a NTP status check before processing to installation. (#1086) 2022-04-26 15:07:12 +02:00
Anton Hvornum 9a6e85fb46
Removed NTP by default. Instead, if NTP is selected or de-selected it will activate/de-activate ntp accordingly. 2022-04-26 14:49:03 +02:00
Anton Hvornum c095eb56d8
Added a try-rerun-except block to grub-install (#1085)
* Added a try-rerun-except block to grub-install first with --removable and then without if it fails. I have a sneaky suspicion that it's due to USB drives being the destination medium, but I cannot confirm yet. I've also added peak_output=True and --debug to GRUB so we can catch the issues in the future.

* Fixed flake8 complaint
2022-04-26 14:13:33 +02:00
Anton Hvornum 12b5e2e4e9
Adding compression as an option (#1084)
* Adding compression as an option

* Ignore 'misaligned' ending parenthathese

* Moved the 'mark compressed' logic into the sub block within manual disk operations.

* Fixed flake8 complaints

* Muting a complextion warning on manage_new_and_existing_partitions(). It is too complex, but not something that we'll bother with for v2.4.0. As this whole function could be replaced with a new and improved menu system split into tasks rather than one huge if/else.
2022-04-26 13:17:40 +02:00
Anton Hvornum 1bce561a0c
Bumped up default timout, as 5 seconds is not enough for some platforms. 2022-04-25 10:20:00 +02:00
Anton Hvornum 44727e64ea
Require superuser or root password fixed. (#1082) 2022-04-25 09:58:36 +02:00
Anton Hvornum f10d8abb13
Set a 'default' argument for audio and removed it as a requirement to continue. (#1081) 2022-04-25 09:29:12 +02:00
Werner Llácer a14604a1b6
Created a routine to check if a partition includes a certain mountpoint (#1069)
For a btrfs volume with a subvolume to be mounted on /, we will not generate a keyfile anymore
2022-04-25 08:57:49 +02:00
Werner Llácer 15c594bcba
When using disk_layout files but not config file, we autofill the harddrives argument (#1067) 2022-04-25 08:41:20 +02:00
Werner Llácer 99dfa7368d
We make the last action available beyond the run loop, so we can check why run was exited (#1066) 2022-04-25 08:34:52 +02:00
Daniel bbedc0bb19
Flexible order of menu options (#1078)
* Allow custom ordering of the menu entries

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:24:43 +02:00
Daniel 477b5b120e
Support for multiple network interfaces (#1052)
* Support for multiple network interfaces

* Fix mypy

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:24:12 +02:00
Daniel 2529d6a5f5
Fix blockdevice key error (#1079)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:23:38 +02:00
godalming123 0604ed45c3
fix incorrect use of an (#1071) 2022-04-14 11:45:05 +02:00
Daniel 4f899e3866
Downstream new simple menu feature (#1055)
* Downstream new simple menu feature

* Fix flake8

* Update

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-12 11:46:55 +02:00
Anton Hvornum f644022e0c
This should address and resolve #587 (#1070)
* This should address and resolve #587

* Forgot one line from copying from local test script

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-04-11 22:46:06 +02:00
Werner Llácer 57b16d5468
Partition.boot works now for GPT and MBR disks (issue #1061) (#1063) 2022-04-03 23:17:25 +02:00
j-james 656047163a
Rebase bspwm profile on master (#604) 2022-04-03 12:58:48 +02:00
Anton Hvornum 28c63b2354
Made build version dynamic as pointed out in https://github.com/pypa/build/issues/453 2022-03-29 11:22:36 +02:00
Anton Hvornum 7f0ccbe87e
Reverted mypy runner changes 2022-03-29 10:35:18 +02:00
Anton Hvornum c241d96982
Version bump to v2.4.0 RC2 2022-03-29 10:32:20 +02:00
Anton Hvornum af4b8a7251
Fixed flake8 2022-03-29 10:31:29 +02:00
Werner Llácer e0d723f9a0
Correct exit when no disk is selected and we don't wish to continue (#1049) 2022-03-29 10:25:18 +02:00
Anton Hvornum 02c715e224
Fixed an import of not yet loaded module 2022-03-28 17:04:28 +02:00
Anton Hvornum 77b9826ab1
Fixed an import of not yet loaded module 2022-03-28 17:04:02 +02:00
Anton Hvornum a61db89a7f
moved the ur language due to #1048 2022-03-28 16:55:11 +02:00
Anton Hvornum 34909aea57
Updating language file 2022-03-28 16:49:38 +02:00
Anton Hvornum 5504b9ac6b
Removed GlobalMenu from selection_menu.py as it's moved to it's own file. 2022-03-28 16:48:55 +02:00
Anton Hvornum a1ab6a5f8a
Updated locales 2022-03-28 16:46:23 +02:00
Anton Hvornum 609a380a15
Fixed an import of not yet loaded module 2022-03-28 16:43:11 +02:00
Anton Hvornum 500da432bf
Fixed an import of not yet loaded module 2022-03-28 16:42:09 +02:00