Commit Graph

3051 Commits

Author SHA1 Message Date
Werner Llácer 7bf0fe3c56
restoring ability to use a predefined installation directory (#1373) 2022-08-01 10:38:22 +02:00
0xShree 94d611d22f
Change regex expression only to match #[multilib] string (#1364)
* Changed regex expression only to match [multilib] string

* Update multilib regex expression

* Update regex expression

Add raw string format
2022-08-01 10:33:38 +02:00
Daniel Girtler 31e6eca3af
Handle no internet connection gracefully (#1361)
* Handle no internet connection gracefully

* Update

* flake8

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01 10:29:58 +02:00
Daniel Girtler 1bd2210e5f
Downstream merged simple menu changes (#1356)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01 10:28:41 +02:00
Werner Llácer 3da03a192e
Solves issue 1343. Could not locate partition after creation (#1355)
* Solves issue 1343. Could not locate partition after creation

* Added some flake fixes.

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-01 10:26:51 +02:00
virtual-meme-machine 956b34905b
- Fix KeyError exceptions (#1354) 2022-08-01 09:56:08 +02:00
Daniel Girtler cfea0d6d1a
Update translations (#1348)
* Show translations in own tongue

* Fix flake8

* Update

* Update

* Update

* Update

* fix mypy

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01 09:44:57 +02:00
Werner Llácer 3bc3922545
Enhacements to list_manager: (#1346)
* Enhacements to list_manager:
method filter_option. To filter options based on selected entry
attrib. last_choice. Which is the last action executed before exiting the loop

* last_choice is now a calculated attribute, therefore readonly

* Added last_choice to selection_menu

* bug at selection_menu handling. Translations can be a problem
2022-08-01 09:44:26 +02:00
Fabian Bornschein d2f58362c9
Remove the hash/number sign at the line-start (#1345)
Currently the helper remove the first character of each line, this can
lead to cases, where important characters are removed. For example if
the locale is already set up. (hash is already removed) in that case the
helper would remove the first character of the locale and lead to a
broken attempt to set the locale later on. This change should avoid that
and only remove the hash.

Co-authored-by: Fabian Bornschein <2440175-fabiscafe@users.noreply.gitlab.com>
2022-08-01 09:42:58 +02:00
Daniel Girtler 9194f6d859
Cleanup partition (#1333)
* Cleanup partition

* Update

* Remove unused method

* Update partitioning

* Update

* Update

* Fix mypy

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-07-26 10:46:50 +02:00
Daniel Girtler 5c3c1312a4
Update list manager (#1331)
* Rework partition management

* Update

* Update list manager

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-14 14:38:39 +02:00
Dylan M. Taylor 86531ef62f
Remove packagekit (#1322)
* Remove packagekit

* Update kde.py
2022-06-09 18:32:01 +02:00
Daniel Girtler 0bdb46f308
Fancy user interface (#1320)
* Display submenus as tables

* Update

* Update

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-09 14:54:12 +02:00
Daniel Girtler aec86eb04e
Fix disk layout display (#1314)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07 12:15:39 +02:00
Franco Castillo c26200d5f1
Update Spanish translation (#1293)
* Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>

* Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2022-06-07 11:01:57 +02:00
Alexmelman88 99a9d3ff37
Updated base.pot, languages.json, global_menu.py, ru locale (#1292)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2022-06-07 11:01:42 +02:00
Daniel Girtler fd131c8fe9
Update blockdevice (#1289)
* Update blockdevice class

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07 11:00:48 +02:00
Daniel Girtler 644b80d0bd
Don't generate any backup locales files (#1313)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07 10:56:15 +02:00
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