Commit Graph

3051 Commits

Author SHA1 Message Date
Anton Hvornum c93482a8b9
Rework btrfs handling (#1234)
* Restructuring btrfs.py into lib/btrfs/*.py

* Reworking how BTRFS subvolumes get represented, and worked with. Subvolumes are now their own entity which can be used to access it's information, parents or mount location.

* Added BtrfsSubvolume.partition and other stuff.

* Reworking the way luks2().unlock and .format() returns device instances. They should now return BTRFSSubvolume where appropriate.

* Fixed a missing import

* Fixed an issue where mkfs.btrfs wouldn't trigger due to busy disk.

* Fixing subvol mounting without creating a fake instance.

* Added creation of mountpint for btrfs subvolume

* Fixed root detection

* Re-worked mounting into a queue system using frozen mounting calls using lambda

* Removed old mount_subvolume() function

* Removed get_subvolumes_from_findmnt()

* Fixed Partition().subvolumes iteration

* Adding .root to BtrfsSubvolume

* Fixed issue in SysCommandWorker where log output would break and crash execution due to cmd being a string vs list

* Changed return-value from MapperDev.mountpoint to pathlib.Path
2022-05-26 18:46:10 +02:00
Giovanni f1608e7664
Add Italian translation (#1244) 2022-05-26 09:14:51 +02:00
edl2 d38943bbad
Dmenu not needed (#1243)
Qtile comes with simple run prompt already, want to keep as vanilla as possible.
2022-05-26 09:14:21 +02:00
AlperShal 31e545c6f5
Better translation for Turkish (#1238)
* Better translation for Turkish in the meaning of following source text, grammer (tense), vocabulary and meaning. Also left some linux/partitioning terminologies in English with translation given in paranthesis so power-users who decides to use setup in Turkish can also easily understand.

* A few edits on some details and an important change on msgid "" "\n" "\n" "Select a graphics driver or leave blank to install all open-source drivers".

* Better translation for Turkish by both @wiseweb-works and @AlperShal.

Co-authored-by: Alper Şal <34231577+AlperSal@users.noreply.github.com>
2022-05-26 09:12:46 +02:00
edl2 0c7506fe1c
Remove unneeded packages from awesome profile? (#1247)
This profile currently installs a nemo - file manager, gpicview - image viewer, and maim - screenshot taker. all of these items do not typically come with awesome and aren't awesome specific and should be installed by the user. (also not required for the system to work). Especially since these are not even the most popular tools for each use.
2022-05-26 09:11:38 +02:00
Wise da6285e0e7
Turkish language support add (#1231)
* Create base.po

* TR languages files

* Update base.po
2022-05-22 19:34:42 +02:00
Luna 33ce7dbd8b
Don't check for exit code since SysCallError will be raised (#1228) 2022-05-21 17:51:11 +02:00
Alexmelman88 9e7565a9fb
Updated base.pot, added pt_BR locale (#1221)
* Update list_manager.py

* Update base.pot

* Update base.po

* Update base.pot

* Update base.pot

* Update base.po

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update base.po

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Create base.po

* Add files via upload

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-21 10:34:05 +02:00
cain-dev f20e0e97cc
Create pt-BR translation file (#1216)
* início da tradução ptbr

* more things translated

* sp to pt-BR

* More Lines Translated

* Add files via upload

* Rename archinstall/locales/base.pmo to archinstall/locales/pt_BR/LC_MESSAGES/base.pmo

* Delete base.po

* Update base.pmo

* Rename bas to tradução.txt

* Update tradução.txt

* Update tradução.txt

* around 80% complete

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* Update archinstall/locales/pt_BR/LC_MESSAGES/tradução.txt

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>

* finished my half made translation

* Rename tradução.txt to base.po

* typo

Co-authored-by: Alexmelman88 <99257010+Alexmelman88@users.noreply.github.com>
2022-05-21 08:39:44 +02:00
Franco Castillo a0eda01b4d
Update Spanish translation (#1214)
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2022-05-19 23:14:56 +02:00
Didr 21ac931b9b
Clarify info message about profile installation (#1219) 2022-05-19 21:46:55 +02:00
Daniel Girtler 65a5a335aa
Enhance view (#1210)
* Add preview for menu entries

* Fix mypy

* Update

* Update

* Fix mypy

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-18 13:59:49 +02:00
Anton Hvornum 089c46db4a
Added PIN support for FIDO2 devices (#1209)
* Adding support for PIN for FIDO2 unlock

* Added a more clear output since systemd-cryptenroll isn't clear on it's output
2022-05-18 13:57:44 +02:00
Anton Hvornum e154a6809d
Version bump to RC1 for v2.4.3 2022-05-18 12:08:48 +02:00
Anton Hvornum ac8432b97e
Version bump to RC1 for v2.4.3 2022-05-18 12:07:37 +02:00
Anton Hvornum 493cccc18f
Added a HSM menu entry (#1196)
* Added a HSM menu entry, but also a safety check to make sure a FIDO device is connected

* flake8 complaints

* Adding FIDO lookup using cryptenroll listing

* Added systemd-cryptenroll --fido2-device=list

* Removed old _select_hsm call

* Fixed flake8 complaints

* Added support for locking and unlocking with a HSM

* Removed hardcoded paths in favor of PR merge

* Removed hardcoded paths in favor of PR merge

* Fixed mypy complaint

* Flake8 issue

* Added sd-encrypt for HSM and revert back to encrypt when HSM is not used (stability reason)

* Added /etc/vconsole.conf and tweaked fido2_enroll() to use the proper paths

* Spelling error

* Using UUID instead of PARTUUID when using HSM. I can't figure out how to get sd-encrypt to use PARTUUID instead. Added a Partition().part_uuid function. Actually renamed .uuid to .part_uuid and created a .uuid instead.

* Adding missing package libfido2 and removed tpm2-device=auto as it overrides everything and forces password prompt to be used over FIDO2, no matter the order of the options.

* Added some notes to clarify some choices.

* Had to move libfido2 package install to later in the chain, as there's not even a base during mounting :P
2022-05-18 11:28:59 +02:00
Alexmelman88 561ea7e8f5
pl and fr locale fixed (#1208)
* Update list_manager.py

* Update base.pot

* Update base.po

* Update base.pot

* Update base.pot

* Update base.po

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update base.po

* Add files via upload

* Add files via upload
2022-05-17 17:22:25 +02:00
Alexmelman88 008e9d5d50
Fixed base.pot (#1207)
* Update list_manager.py

* Update base.pot

* Update base.po

* Update base.pot

* Update base.pot

* Update base.po

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2022-05-17 14:12:09 +02:00
Dylan M. Taylor ea2b7489e4
Fix since consistency issues with 1195 (#1206) 2022-05-17 13:23:34 +02:00
Daniel Girtler 32432b2fdc
Fix padding calculation (#1205)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-17 12:56:41 +02:00
Daniel Girtler 72a44e34ef
Fix #1162 (#1204)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-17 11:11:45 +02:00
Anton Hvornum 47928b0bcc
Fixing swedish translation (#1202) 2022-05-17 10:42:27 +02:00
Anton Hvornum 3d102854a7
Reworking select_encrypted_partitions() to use the new Menu system, (#1201)
* Reworking select_encrypted_partitions() to use the new Menu system, and allow granularity.

* Listing partitions and enabling a index selection. Also when selecting 'delete all partitions' wipe=True will get set on the blockdevice now. Otherwise the new partitions won't be able to be created without deleting them first.

* flake8 fix

* Removed old select_encrypted_partitions()
2022-05-17 10:06:37 +02:00
Daniel Girtler 4e39bfb563
Fixes #1127 (#1194)
* Fixes #1127

* flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-17 07:48:48 +02:00
Alexmelman88 6bf5949842
Fixed base.pot (#1191)
* Update list_manager.py

* Update base.pot

* Update base.po

* Update base.pot

* Update base.pot

* Update base.po

* Add files via upload
2022-05-16 23:13:28 +02:00
Reza bdf11913d4
Fix lengthy translations in Main Menu (Important) (#1195)
* Fix lengthy translations in Main Menu

* rename 'Additional repositories' to 'Optional repositories'

* rename 'Drives' to 'Drive(s)'

* rename 'Choose keyboard layout' to 'Select keyboard layout'
2022-05-16 23:11:09 +02:00
MicroPanda123 ac609b637c
Transfer commit (#1199) 2022-05-16 23:08:59 +02:00
Anton Hvornum 86eff2a903
Don't assume children exists (#1193) 2022-05-16 13:03:08 +02:00
Anton Hvornum fb867f7d5d
Enabling retry for package downloads (#1188)
* Adding in a re-try on pacstrap calls

* Made pacman -Syy also retry:able
2022-05-16 10:40:48 +02:00
kpcyrd 8d4a62e504
Add network-manager-applet to NetworkManager profile (#1120)
* Add network-manager-applet to NetworkManager profile

* Converted _configuration.is_desktop_profile() into profile.is_desktop_profile

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-16 10:23:15 +02:00
Roxfr 960b48da5e
Update for french language (#1163)
Hello,
Here is the update for the French language.
Regards,
Roxfr

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-16 09:53:09 +02:00
Daniel Girtler 0cc9870838
Remove print (#1172)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-16 09:45:48 +02:00
Gonçalo Candeias Amaro b29c4af770
Internationalized portuguese and made it less formal (#1179) 2022-05-16 09:16:14 +02:00
Anton Hvornum 5eac5df9a8
Adding safe methods for __repr__ to call so that it doesn't break (#1190) 2022-05-16 09:09:51 +02:00
Dylan M. Taylor a748f3fba0
Adds nvidia-open package as an option. (#1176)
* Adds nvidia-open package as an option.

Apologies for making the installation even more confusing for Nvidia users. This adds an option for the new open-source kernel module for Turing or later cards, https://github.com/NVIDIA/open-gpu-kernel-modules. nvidia-open is currently in the testing repository.

* Change description

* Clarify that the other open option is noveau

* Added a check to see if the package we include exists in testing or not, and if it does, we allow that repo and warn about it.

* Forgot to put level= on log output

* Adding __future__ to the top again

* Expose package functions from archinstall.lib.packages to avoid explicit imports.

* Trying to get menu to show additional changes

* Trying a flexible option of setting the menu listings

* Trying a flexible option of setting the menu listings

* Revert "Trying a flexible option of setting the menu listings"

This reverts commit 330080697d.

* Revert "Trying a flexible option of setting the menu listings"

This reverts commit 701b105b1d.

* Revert "Trying to get menu to show additional changes"

This reverts commit b038987561.

* Revert "Expose package functions from archinstall.lib.packages to avoid explicit imports."

This reverts commit 9244c0b190.

* Revert "Adding __future__ to the top again"

This reverts commit 1679f00f2e.

* Revert "Forgot to put level= on log output"

This reverts commit 6561894388.

* Revert "Added a check to see if the package we include exists in testing or not, and if it does, we allow that repo and warn about it."

This reverts commit 652308ee40.

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-14 07:34:41 +02:00
Anton Hvornum 6e3a5a8c2f
Removed dead links 2022-05-13 19:53:43 +02:00
Reza 1ff84d0246
Add how to pass declarative configuration files as arguments to archinstall (#1174) 2022-05-12 14:52:08 +02:00
Daniel Girtler 53b57a3cec
Fix menu selection (#1173)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-12 13:04:05 +02:00
Anton Hvornum 81b7524b53
Made sure remote sourcing works for --creds, --config and --disk-layout. (#1170)
* Made sure remote sourcing works for --creds, --config and --disk-layout.

* Spelling error when moving around source code.
2022-05-12 10:46:33 +02:00
Franco Castillo 08452de09c
Update Spanish translation (#1158)
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2022-05-10 22:12:56 +02:00
Alexmelman88 1b9c8f302b
Updated ru locale and minor fixes (#1157)
* Add files via upload

* Add files via upload

* Update global_menu.py
2022-05-10 21:22:02 +02:00
Daniel Girtler f80144e7c7
Fixes #1048 and translation updates (#1156)
* Remove comments from translation files

* Add german translations

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-10 16:20:53 +02:00
Anton Hvornum 1320057218
Disable UniCyr font for now 2022-05-10 14:38:56 +02:00
Daniel Girtler 2492f571ea
Set the unicode cyrillic font by default (#1153)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-10 07:07:03 +02:00
Roxfr 5bf9382dd6
Update base.po (#1155)
Hi,
Following the update of the .pot file.
I renewed the .po file for the French language.
Regards,
Roxfr
2022-05-09 21:04:23 +02:00
Daniel Girtler 0fa52a5424
Introduce ctrl+c and other bug fixes (#1152)
* Intergrate ctrl+c

* stash

* Update

* Fix profile reset

* flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-09 12:02:48 +02:00
Alexmelman88 20ffebac50
Updated base.pot, added new translation strings from *.py files, updated ru locale (#1146)
* Create base.po

* Add files via upload

* Delete base.po

* Add files via upload

* Delete base.mo

* Add files via upload

* Update base.pot

* Update base.po

* Delete base.mo

* Add files via upload

* Delete base.mo

* Add files via upload

* Update base.po

* Delete base.mo

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update desktop.py

* Update minimal.py

* Update xorg.py

* Update server.py

* Update desktop.py

* Update server.py

* Update guided.py

* Add files via upload

* Add files via upload

* Update guided.py

* Add files via upload

* Add files via upload
2022-05-09 09:58:06 +02:00
Anton Hvornum 80cee500e0
SysCommand now sets working_directory on SysCommandWorker. Also made it so the parent process moves back to the original working directory, leaving the child process in the target working directory. (#1142) 2022-05-08 18:36:32 +02:00
Roxfr 5a1bd83132
Update base.mo (#1141)
* Delete base.mo

* Update base.mo
2022-05-08 14:15:04 +02:00
Roxfr 3e52a7399a
Update base.po (#1140)
Hello,
Here is the update for the French translation.
Regards,
Roxfr
2022-05-08 10:59:27 +02:00