Commit Graph

2933 Commits

Author SHA1 Message Date
LittleboyHarry 766176cfe2
Update swiss.py (#1295)
fix bug
2022-06-06 20:07:18 +02:00
Daniel Girtler a7ca037a26
Update the subvolume menu - fix for #1278 (#1297)
* Update subvolume

* Add mypy compliance

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-06-06 17:28:46 +02:00
Daniel Girtler 2d4b262046
Handle cyrillic characters (#1309)
* Handle cyrillic characters

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-06 17:26:27 +02:00
Daniel Girtler f2492ca574
Fix #1304 - Make password validation less intrusive (#1308)
* Make password validation less intrusive

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-06 13:04:50 +02:00
LittleboyHarry 32442ac7f3
Add `packagekit-qt5` for kde (#1300)
fix #1041
2022-06-03 08:50:59 +02:00
Anton Hvornum 7943dd8236
Added more offline functionality, such as skipping package search (#1296)
* Added more offline functionality, such as skipping package search

* Disabled list_mirrors() from going online if --offline is given. Defaults to /etc/pacman.d/mirrorlist instead.

* Forgot import of pathlib

* Made list_mirrors() open /etc/pacman.d/mirrorlist in byte mode to better emulate the result of urllib response reading.

* Forgot variable declaration

* Made list_mirrors include activated server definitions
2022-06-02 13:32:42 +02:00
Roxfr c2be07e7dc
Update for french language (#1291)
Hello,
Here is the update for the French language.
Regards,
Roxfr
2022-05-31 09:00:56 +02:00
toto6038 4448dd2ef4
Divide Chinese locales into 2 variants (#1290) 2022-05-31 08:58:32 +02:00
Anton Hvornum c75e6a1da3
Made sure generate-encryption-key-file is set for supplementary partitions to / (#1281) 2022-05-29 13:59:25 +02:00
Anton Hvornum 7dbea73514
Cleanup and version changes in prep for release 2022-05-29 11:25:28 +02:00
Daniel Girtler 5171458796
Fix subvol selection (#1277)
* Fix subvolume selection

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-29 10:59:55 +02:00
Anton Hvornum 0601956b5b
Moved genfstab() to guided.py instead of __exit__ of Installer(). This is a breaking change. 2022-05-29 09:44:31 +02:00
demostanis 7daf9b32d0
Fix "Unknown device" error when using erofs (#1232) (#1275) 2022-05-29 09:34:32 +02:00
Kian-Meng Ang 2de153003e
Fix typos (#1265) 2022-05-29 09:31:18 +02:00
Dylan M. Taylor b2f85889a7
Don't offer to encrypt /boot, exlude it from the set available to the user (#1273)
* WIP: Don't offer to encrypt /boot

* This filter might work

* Ref: https://github.com/archlinux/archinstall/blob/master/archinstall/lib/storage.py

* Use list comprehension

* I wonder if I can use this filter_ argument that exists already

* flake8 fix

* Show index
2022-05-29 09:25:22 +02:00
walken 121e077b4e
Czech localization update (#1266)
* Updates and corrections for Czech localization

* Updates and corrections for Czech localization
2022-05-28 16:33:25 +02:00
Dylan M. Taylor 2e77393cf8
Fix issue with multiples spaces in additional packages (#1262)
* Try to fix issue 1259

* trim -> strip
2022-05-28 16:29:46 +02:00
Anton Hvornum 486ad7dd6d
Removes btrfs subvolume warnings on incorrect subvolume locations (#1267)
* Adding debug information

* Adding debug information

* Adding debug information

* Removed a 'already-a-subvolume' check as it requires more information.

* Adding debug information

* Adding debug information

* Made sure Partition().subvolumes() only attempts to retrieve btrfs subvolume information if fstype==btrfs.

* Removed debug information
2022-05-28 15:40:36 +02:00
Anton Hvornum 5c9bd235d3
Fixes additional encryption prompt even tho partitions was marked for encryption (#1264)
Corrected the check for partitions marked with `encrypt: true`
2022-05-28 10:06:22 +02:00
Franco Castillo 78449f75bc
Update Spanish translation (#1255)
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2022-05-27 22:02:20 +02:00
tajnymag f1ee17ab51
Czech localization (#1253)
* First czech localization draft

* Minor fixes for czech locale after a brief setup click-through
2022-05-27 22:01:27 +02:00
Anton Hvornum 79fc663e3f
Version bump in prep for release + fixed a variable issue 2022-05-27 21:58:51 +02:00
Anton Hvornum 4d57630c90
Removed usage of deprecated function 2022-05-27 21:44:47 +02:00
Anton Hvornum 3c04a6b196
Fix mixup of mount options and fstype during mount (#1258)
Fixed issue where `options` wasn't passed as `options=options` and got mixed up as fs-type.
2022-05-27 21:37:38 +02:00
Anton Hvornum da8043ede9
Removed debug information 2022-05-27 20:40:43 +02:00
Anton Hvornum 03c1944dae
Removed nemo configuration from awesome profile, after #1247 2022-05-27 20:38:25 +02:00
Anton Hvornum 339469d6ee
Creates partition label on drives with zero partitions before adding partitions (#1256)
* If BlockDevice.partitions is zero, we set a new partition label to ensure new drives are setup correctly

* Added a sleep after mklabel.

* Removed redundant log message.

* Tweaked log message from print() to log().

* Trying PARTUUID in reusage of partitions.

* Debugging.
2022-05-27 20:37:04 +02:00
Alexmelman88 db7ecb6bac
Updated base.pot, ru locale (#1251)
* 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

* Add files via upload

* Add files via upload

* Add files via upload

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-27 17:09:32 +02:00
Anton Hvornum 9b3db344ab
Fix dual-booting (#1250)
# Fixes

 * Optimized partition lookups
 * Fixed re-use of partition UUID's
 * `BlockDevice().get_partition()` now supports looking up both `PARTUUID` and `UUID` for a partition under itself
 * Partitions listed in `--disk-layout` that doesn't have a PARTUUID/UUID should no longer cause an exception, but instead logs a warning and they will simply be ignored
 * `Filesystem().add_partition()` now handles `DiskError` raised by `partition.part_uuid`
 * Fixed issue on normal partitions where the device was not properly frozen in `lambda` calls, meaning two or more mount-points shared the same `device_instance`.
 * Lowered global `DISK_RETRY_ATTEMPTS` to 5, as the timeouts are linear *(`range(DISK_RETRY_ATTEMPTS) * DISK_TIMEOUTS`)*
2022-05-27 12:24:01 +02:00
Daniel Girtler 870da403e7
Rework user management (#1220)
* Rework users

* Update user installation

* Fix config serialization

* Update

* Update schemas and documentation

* Update

* Fix flake8

* Make users mypy compatible

* Fix minor copy

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-26 21:48:29 +02:00
Anton Hvornum 353c05318c
Fix MapperDev.subvolumes (#1249)
* Fixed a silent try/except, and MapperDev.subvolumes should now work.

* MapperDev.subvolumes now properly sends a pathlib.Path.
2022-05-26 19:53:24 +02:00
Anton Hvornum e19ef44630
Forgot to check for HSM while mounting ordered layout 2022-05-26 18:56:15 +02:00
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