Commit Graph

4394 Commits

Author SHA1 Message Date
Anton Hvornum aabf6ae19e
Bumping version to: 3.0.15 (#4058)
* Bumping version to: 3.0.15

* ruff formatting
2025-12-31 13:02:10 +01:00
justbispo cb6fe6b34b
Add support for rEFInd boot manager (#3707)
* Add support for rEFInd boot manager

* Fix ruff formatting complaints

* Added support for different mountpoints for /efi and /boot

Also fixed issue where if /boot is located in a BTRFS root partition, the initrd path wasn't including the subvol name.

* Fix ruff formatting complaints

* Replace SysCommand with self.arch_chroot call

* Fix ruff formatting complaints

---------

Co-authored-by: Diogo Bispo <gpg.jta36@slmail.me>
2025-12-31 15:24:22 +11:00
Mariya 446d23c59d
feat(applications): add support for power-profiles-daemon/tuned as a power management daemon (#4015)
* fix(profiles): install power-profiles-daemon by default in the desktop
profile

* fix: only install power-profiles-daemon if a battery is detected

* chore: clean up has_battery method

* fix: make power management daemon a configurable application

* fix: make linter happy after merge

* fix: fix merge issues

* fix: give has_battery a return type to make linter happy

* chore: add locale msgids for power management related strings

* fix: changes requested in review

* fix: cache has_battery result

* fix: changes requested in review

* fix: just return none directly

* fix: add selected power management daemon to applications menu preview
2025-12-31 13:22:27 +11:00
HADEON 83c9bf06b2
Modify archinstall language display to be handled like other sections. (#4048)
* Modify archinstall language display to be handled like other sections.
This fixes a bug where language names that were too long would break curses menu.

* Revert types change
2025-12-31 10:46:46 +11:00
HADEON eb5e88f317
Mirrors sort #4046 (#4050)
* Mirrors sort #4046

* Change logic to be just sorted on bitrate
2025-12-30 15:20:45 +01:00
Vincent Dahmen 9f4f29bd29
lib/network: adds symlink to configure systemd-resovled properly (#4052)
* lib/network: adds symlink to configure systemd-resovled properly

* lib/network: adds overwrite mechanism to enforce resolved symlink

---------

Co-authored-by: Vincent Dahmen <wahrwolf@wolfpit.net>
2025-12-30 16:01:01 +11:00
HADEON 2954e4397b
Feat: Zram algorithm config (#4042)
* Add configuration for swap algorithm. Backward compatible implementation

* Fix interaction to default to Yes and show (default)

* Fix mypy error

* Any -> str, str

* feedback Enums

* test file

* line length warning

* Renames

* Fix default values in TUI menu for display

* Address feedback

* More feedback, really appreciate it.

* Adapt to use same | None = None pattern

* Pytests

* Add missing import for Zram
2025-12-30 15:52:35 +11:00
HADEON 747385a883
Lvm2/LUKS fixes/Mirror Logic (#4047)
* Lvm hotfix attempt

* Use --force and --yes flags

* Changed mirror behavior and more lvm testing

* Handle properly LvmOnLuks to only export in one fo the scenarios

* Idek

* Remove dead block

* Use -f flag and wipefs to remove any existing headers avoid "has signatures"

* oops

* Revert mirror change
2025-12-29 17:35:24 +01:00
HADEON ac984b7622
This commit changes the order of the main menu. (#4043)
Since in the next NVIDIA update, the kernel choice will have an impact on profiles.
The order this way makes it more logical: Bootloader => Kernel => Hw drivers
2025-12-28 22:20:17 +11:00
HADEON 4e52dc7493
README clarifications/corrections (#4038)
* A smaller readme tweak to stop answering the same questions :D

* rem
2025-12-28 11:28:40 +11:00
HADEON 79313c4942
Fix mirrors hang when /status endpoint is down (#4031)
* add explicit _fetched_remote bool

* Attempt 2

* Adds about 15 seconds time-out to fetch_data_from_url with 3 retries (4, 5, 6)
Then fallsback to fully local list

* Feedbacks: 20 -> 30
Do not return early
Add debug
Remove new flag
60 second timeout for reflector

* Clean up install logs by hiding mirror scores behind --verbose
2025-12-28 11:10:03 +11:00
HADEON c1eae10e93
Enable IWD to be used as back-end in network selection (#4025)
* feedback

* feedback2

* Refactor for less duplicate code and more conscise logic
Group NM types and handle configurations appropriatly
	- For IWD -> Copy from ISO + Disable standalone and configure back-end
	- For standard -> Install wpa_supplicant
	- For both install applet only when Desktop profile

Added comments for clearer logic

* Rem comments

* Rem copy to ISO

* the one commit to rule them all
2025-12-28 11:09:37 +11:00
Mintsuki 42a4ee8472
Make removable location the default for bootloader installation (#4030)
Also update the option's description to make it clear that it being enabled is the sane default.
2025-12-27 14:38:14 +01:00
Daniel Girtler 6968a33508
Fix kurdish translation files (#4004)
Co-authored-by: Daniel Girtler <dgirtler@atlassian.com>
2025-12-27 12:41:02 +01:00
utuhiro78 4d01d1dbbb
Update Japanese translation (#4040) 2025-12-27 22:37:11 +11:00
Daniel Girtler 7635474772
Explicitly allow selecting any additional repository (#3973)
Co-authored-by: Daniel Girtler <dgirtler@atlassian.com>
2025-12-27 09:25:15 +01:00
HADEON a4ad1b3724
Remove whitespace in timestamp (#4039) 2025-12-27 17:38:03 +11:00
HADEON 5fcea379b9
Fix LVM creation/ info (#4024)
* use pull and udev sync

* 30s -> 5min
2025-12-25 13:07:26 +11:00
HADEON e5ccdb0c1c
Adds a timer to post install screen (#4028)
* Add timer to end screen of guided

* ruff check
2025-12-25 11:06:03 +11:00
HADEON 9e7a5f6931
Do not install base-devel by default (#4022)
* replace base-devel with sudo and add disclaimer texts

* revert basepot and add rem comments
2025-12-25 11:00:34 +11:00
HADEON 9412f97771
Set up Zram dynamically based on best practice (#4027)
* Use the total available RAM / 2 for swap size dynamically.

* ws

* - Systems with 8 GB RAM or less will get 4096 MB zram
- Systems with more than 8 GB RAM will get half their RAM as zram

* Add debug print
2025-12-25 10:59:03 +11:00
Luis Antonio 1faac77c0d
Update Portuguese translations (pt and pt_BR) and metadata. (#4021)
* Revise Portuguese translations in base.po

Updated translations for various messages in Portuguese.

* Update Brazilian Portuguese translations in base.po

Updated translations and metadata in the Brazilian Portuguese locale file.

* Update Last-Translator in Brazilian Portuguese locale
2025-12-22 22:08:02 +11:00
HADEON 1227babd8c
Change LVM /root def to adapt dynamically (#4005)
* Change def size from 20 -> 32
Rest is still calculated from available - root.

* Use the existing process_root_partition_size():
For LVM just like regular disk best-effort.
This is only for single disk layouts.
2025-12-22 22:05:30 +11:00
Mariya ba5f924540
fix: enable the cosmic-greeter service (#4023) 2025-12-22 09:07:47 +11:00
HADEON f639290c20
ly.service -> ly@tty1.service (#4006)
* ly -> ly@tty1

* ly -> ly@tty1 with disable getty

* ws

* ws2

* ws3

* ws4

* conditionally disable and define
2025-12-21 21:37:06 +11:00
Luna Jernberg 043cd68a7c
Update base.po (#4020)
Update Swedish for January 2026 iso
2025-12-21 21:36:02 +11:00
Mariya 9876558f74
chore: cosmic is stable now, don't hide it behind --advanced flag (#4017)
* chore: cosmic is stable now, don't hide it behind --advanced flag

* fix: remove --advanced check in GreeterType

* chore: remove unused import to make linter happy
2025-12-21 14:45:51 +11:00
Mariya d7b559c67e
feat(applications): add CUPS installation support (#4013)
* feat(applications): add CUPS installation support

* fix: use translation for print service preview_action

* fix: incorrect action for print service menu item

* chore: refactor naming, printer -> print service

* fix: commit untracked file

* chore: fix formatting to make linter happy
2025-12-21 14:30:11 +11:00
Mariya cf31148e46
fix: fix fido warning message being spammed (#4016) 2025-12-21 14:16:06 +11:00
Mariya dee2a84057
fix: fix translation for bluetooth preview_action (#4014) 2025-12-21 13:57:29 +11:00
HADEON 17dc001857
Cache property of graphics_devices (#4007)
* On horrible hardware this makes it so that the "Graphics drivers" section loads directly.
By initializing it with launch instead of on the fly.

* Init after logs

* This cache the property of graphics drivers properly.
Instead of trying to hack early init.
2025-12-21 12:22:59 +11:00
renovate[bot] 6f768ea87c
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.10 (#4012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 18:36:04 +11:00
renovate[bot] e2cdf42690
chore(deps): update dependency ruff to v0.14.10 (#4011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 18:35:50 +11:00
Odyssey b579773421
Update catalan locales (#4010) 2025-12-19 15:51:21 +11:00
renovate[bot] d13882fca1
chore(deps): update dependency pre-commit to v4.5.1 (#4003)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:50:37 +11:00
HADEON 6b23eff422
H2T (Host-to-target) installs and prevent host pollution (#3978)
* Add host-to-target (H2T) installation mode detection

- Add running_from_host() function to detect if running from installed system vs ISO
- Function checks for /run/archiso existence (ISO mode) vs host mode
- Add clear logging of installation mode on startup
- Skip keyboard layout changes when running from host system
- Fix Pyright type error in jsonify() by using Any instead of object
- Update README to mention installation from existing system

This enables archinstall to be run from an existing Arch installation
to perform host-to-target installs on other disks/partitions.

* match existing style

* rem debug

* info -> debug
2025-12-16 10:59:04 +11:00
renovate[bot] 810a50e46c
chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.19.1 (#3998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-16 08:26:52 +11:00
renovate[bot] 582c54f4e2
chore(deps): update dependency mypy to v1.19.1 (#3996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 16:54:57 +11:00
CYAXXX bc738a48be
Add Kurdish translation (#3994)
* Add Kurdish translation

* Update base.po
2025-12-15 16:34:12 +11:00
CYAXXX 0a6fd6a07e
Delete archinstall/locales/ku (#3995) 2025-12-15 14:23:48 +11:00
scrypt-kitty 20718ead79
Remove /tmp/archlive before building. Otherwise latest changes are not built. (#3993) 2025-12-15 11:23:01 +11:00
CYAXXX fff783ed93
Add Kurdish language (#3991)
* Add Kurdish language

This pull request introduces full Kurdish language integration into archinstall, allowing Kurdish speaking users to navigate and use the installer entirely in their native language.

* Fix translation for timezone selection prompt
2025-12-15 11:20:51 +11:00
renovate[bot] f65cc5f6c7
chore(deps): update actions/upload-artifact action to v6 (#3985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 11:18:54 +11:00
Jesper Otten cffe47a369
Adding new Dutch translations (#3987) 2025-12-15 11:14:26 +11:00
renovate[bot] 0117205f73
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.14.9 (#3983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 11:12:21 +11:00
renovate[bot] 1f1daf1afc
chore(deps): update dependency ruff to v0.14.9 (#3982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 11:11:46 +11:00
walken c9b0b171b3
Czech localization update (#3980) 2025-12-10 22:46:58 +11:00
HADEON 326232098a
Full disclosure for bootloaders/keymaps (#3979)
* Clarify LUKS2 encryption and keyboard layout context in locales README

* ws

* clarity

* final
2025-12-10 22:46:21 +11:00
HADEON 6b50815eb6
Vconsole.conf KEYMAP= FONT=
_base mkinitcpio.conf v40 error (#3928)

* pr1

* pr2

* pr2-2

* pr2-3

* Revert genfstab and pacstrap command changes

* mistake
2025-12-08 19:25:20 +11:00
renovate[bot] 57bd613679
chore(deps): update dependency pytest to v9.0.2 (#3972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-07 17:07:39 +11:00