Commit Graph

197 Commits

Author SHA1 Message Date
HADEON 46072132a1
Readme Tweak (#3929)
* pr1

* pr2

* pr3

* pr3-2

* pr3-3

* pr3-4

* pr4

* Revert hardware.py to original state on snapshots branch

* readme

* Revert installer.py to original state on readme branch

* match base branch

* Revert genfstab and pacstrap command changes

* readme tweaks2
2025-11-17 08:50:35 +11:00
Daniel Girtler 663e46f86e
Remove unattended script (#3733) 2025-08-27 10:27:25 +02:00
Daniel Girtler c2443e8902
Reference guided.py script instead of symlink from README (#3543) 2025-05-30 07:31:54 +02:00
Daniel Girtler 3359779594
Fix 3626 (#3536) 2025-05-29 13:52:34 +02:00
Daniel Girtler 3e2f792280
Fix qemu command to boot image (#3491) 2025-05-22 11:25:29 +02:00
Daniel Girtler fae210dfea
Add optional file encryption for user credentials configuration (#3391)
* Optional encryption of user credentials configuration file

* Update README

* Update

* Update
2025-04-26 20:25:43 +10:00
Melroy van den Berg 7202d964dd
Make libera.chat irc link clickable (#3099)
Fix libera.chat link in markdown
2025-01-12 11:27:30 +11:00
Melroy van den Berg a575ac2c47
Use Matrix channel invite link (#3098) 2025-01-11 15:40:13 +11:00
Anton Hvornum d3fa738bdd
Changed the invitation link to discord to go from #general to #help channel, as it's not always given how discord works (#2870) 2024-11-19 07:51:33 +11:00
Daniel Girtler 6553967be6
Add FAQ entry for keyring out-of-date (#2746)
* Add FAQ for keyring out-of-date

* Update

* Update
2024-11-04 12:42:36 +01:00
fortifiedhill 0e8d7aac16
Update resize root partition ArchWiki link (#2385) 2024-03-07 15:09:57 +01:00
aidanthewiz 1bf68311c2
Improve the README (#2174)
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2024-03-07 13:47:45 +01:00
Yaron Shahrabani fbc005d2f1
Added Hebrew translation. (#2348)
* Added Hebrew translation.

* Updated README with simpler instructions

* cd instruction restored

Restored the required instruction.

---------

Co-authored-by: Yaron Shahrabani <yaron.shahrabrani@axonius.com>
2024-03-07 12:58:19 +01:00
Anton Hvornum 4955b64a8c
Added --skip-ntp to docs (#2273) 2023-11-29 13:04:56 +01:00
Daniel Girtler 1e296b2637
Fix 2118 (#2119)
* Update locales generation

* Update README

* Disable translation check

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-28 08:44:18 +10:00
codefiles 072519ad11
Simplify command in `README.md` example (#2122) 2023-09-27 17:20:13 +02:00
Daniel Girtler 877e34de63
Fix line break (#2101)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-24 09:36:32 +02:00
Niko Hoffrén f078c74692
Fix small typo in README.md (#2095) 2023-09-24 08:48:09 +10:00
Daniel Girtler 0e93d5b468
Update instructions to run archinstall from ISO (#2076)
Update instructions to run archinstall from ISO
2023-09-21 18:34:11 +10:00
Daniel Girtler f6acdf5b5e
Update README with instructions (#2066)
* Update README with instructions

* Update

* Update

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-19 06:47:24 +10:00
yenaras 9e079020b1
fix instructions for Using a Live ISO Images (#2021)
replaced `--break-operating-system` with the correct flag
`--break-system-packages` and also added the flag as required for
`pip uninstall --break-system-packages`
2023-09-14 21:49:46 +10:00
Ikko Eltociear Ashimine 2252dcf9bb
Fix typo in README.md (#2050)
interative -> interactive
2023-09-14 20:03:59 +10:00
uranderu 64fc585fa7
Update README.md (#1755)
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-06-30 20:37:39 +02:00
Anton Hvornum 5b102b0228
Adding python-simple-term-menu to the dependency list (#1901)
* Adding python-simple-term-menu to the dependency list

* Added dependencies to all binaries we call, such as 'ps' and 'mkfs' etc

* Sorted the depends list - just for peace of mind

* Bumped version in prep for release of rc1, also updated README a bit

* Removed older python versions from classifiers
2023-06-28 14:22:07 +02:00
Rodrigo Broggi 82a5320764
Document new pip install flag (#1897)
See [this thead](https://github.com/archlinux/archinstall/issues/1734#issuecomment-1605709792) 

Including `--break-operating-system` flag in `pip install` instructions in doc.
2023-06-25 11:06:52 +02:00
Daniel Girtler 03d228fee8
Update contributing doc (#1873)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-06-21 09:45:17 +02:00
Hegert Taresalu 7af5490fef
Add Estonian translation (#1827)
* create et locale and added 56 translations

* add more et translations(55-67)

* add et translations

* add translated_lang

* update readme language list

* Fixed merge conflicts

---------

Co-authored-by: Hegert Taresalu <htaresalu@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-06-05 10:16:37 +02:00
Pedro Dutra d65359896a
simple fix in README.md (#1813) 2023-05-12 20:32:11 +02:00
Daniel Girtler 89cefb9a1c
Cleanup imports and unused code (#1801)
* Cleanup imports and unused code

* Update build check

* Keep deprecation exception

* Simplify logging

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-11 18:30:09 +02:00
Daemon Coder 02af5fb6b2
Fix README.md links (#1768) 2023-04-27 17:16:05 +02:00
Daniel Girtler 00b0ae7ba4
PyParted and a large rewrite of the underlying partitioning (#1604)
* Invert mypy files

* Add optional pre-commit hooks

* New profile structure

* Serialize profiles

* Use profile instead of classmethod

* Custom profile setup

* Separator between back

* Support profile import via url

* Move profiles module

* Refactor files

* Remove symlink

* Add user to docker group

* Update schema description

* Handle list services

* mypy fixes

* mypy fixes

* Rename profilesv2 to profiles

* flake8

* mypy again

* Support selecting DM

* Fix mypy

* Cleanup

* Update greeter setting

* Update schema

* Revert toml changes

* Poc external dependencies

* Dependency support

* New encryption menu

* flake8

* Mypy and flake8

* Unify lsblk command

* Update bootloader configuration

* Git hooks

* Fix import

* Pyparted

* Remove custom font setting

* flake8

* Remove default preview

* Manual partitioning menu

* Update structure

* Disk configuration

* Update filesystem

* luks2 encryption

* Everything works until installation

* Btrfsutil

* Btrfs handling

* Update btrfs

* Save encryption config

* Fix pipewire issue

* Update mypy version

* Update all pre-commit

* Update package versions

* Revert audio/pipewire

* Merge master PRs

* Add master changes

* Merge master changes

* Small renaming

* Pull master changes

* Reset disk enc after disk config change

* Generate locals

* Update naming

* Fix imports

* Fix broken sync

* Fix pre selection on table menu

* Profile menu

* Update profile

* Fix post_install

* Added python-pyparted to PKGBUILD, this requires [testing] to be enabled in order to run makepkg. Package still works via python -m build etc.

* Swaped around some setuptools logic in pyproject

Since we define `package-data` and `packages` there should be no need for:
```
[tool.setuptools.packages.find]
where = ["archinstall", "archinstall.*"]
```

* Removed pyproject collisions. Duplicate definitions.

* Made sure pyproject.toml includes languages

* Add example and update README

* Fix pyproject issues

* Generate locale

* Refactor imports

* Simplify imports

* Add profile description and package examples

* Align code

* Fix mypy

* Simplify imports

* Fix saving config

* Fix wrong luks merge

* Refactor installation

* Fix cdrom device loading

* Fix wrongly merged code

* Fix imports and greeter

* Don't terminate on partprobe error

* Use specific path on partprobe from luks

* Update archinstall/lib/disk/device_model.py

Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>

* Update archinstall/lib/disk/device_model.py

Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>

* Update github workflow to test archinstall installation

* Update sway merge

* Generate locales

* Update workflow

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
2023-04-19 12:55:42 +02:00
laymoth c3e3ac67c6
Update id translation (#1700) 2023-03-30 12:55:14 +02:00
Steven Deobald 8f6cc07062
The Live ISO image does not have 'python-setuptools' installed (#1533) 2023-03-10 15:08:24 +01:00
Jucgshu 5c8eb7144d
Fix typo (#1501)
* Fix typo

* Fix typo
2022-10-06 18:59:28 +02:00
codefiles 977976f88e
Add hostname and locales as parameters to `minimal_installation()` (#1458) 2022-10-03 16:42:10 +02:00
Nahuel Pastorale bd3c278ccd
Fix languages and delete whitespace (#1494)
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-10-03 16:17:24 +02:00
Arnau b69775abe6
Fixed typo (#1499)
española -> español
2022-10-03 16:09:36 +02:00
Ali e83a41f3f5
Add Indonesian translation (#1468)
* Add Indonesian translation

* Update README

* Update id translation
2022-09-11 21:35:05 +02:00
Wise 24d478d037
Fix Turkish local typos (#1459)
* Update languages.json

Little typo fix

* Update README.md

Little typo fix
2022-09-06 08:28:46 +02:00
Alexmelman88 fa53ce9ab8
Update ru locale (#1455)
* Update languages.json

* Update base.po

* Add files via upload

* Update README.md
2022-09-05 13:32:29 +02:00
K.B.Dharun Krishna dba30fdcf0
locales: AddTamil translation (#1454) 2022-09-05 12:20:08 +02:00
Orestis Ousoultzoglou 883a8b692e
Add Greek translation (#1427)
* Add el translation: 50%

* Add el translation: 50%

* Add el translation: 100%

* Add el translation: add .mo file

* Add el translation: fixes

* Add el translation: include Greek in README
2022-09-02 12:36:53 +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
Kian-Meng Ang 2de153003e
Fix typos (#1265) 2022-05-29 09:31:18 +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 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
Garvit Joshi 6cd20c7ffb
Fixed Readme.md with Absolute Path (#1015) 2022-02-28 19:18:15 +01:00
Anton Hvornum 86a21711b5
removed note about EFI being required 2022-02-22 11:24:52 +01:00
Anton Hvornum d3b6832345
Change usage `lsblk` to `blkid` where possible. And general improvements to disk handling. (#949)
* Renamed all_disks() to all_blockdevices() as it's technically a bit more correct. As it would return partitions as well. And it now distinguishes between BlockDevice() and Partition() when returning values. Also lsblk has been replaced with blkid and glob.glob() on /sys/class/block/

* Added handling of loop devices

* Added device information enrichment

* Removed old code

* Updated the usage of blockdevice.info['type'] to 'DEVTYPE' as per returned by blkid instead of lsblk

* Created a MapperDev() and DMCryptDev() 'disk' classes. This should help differentiate between BlockDevice(), Partition() and crypt-specific devices. Due to some new helper functions (mentioned later) BlockDevice().device_or_backfile has been simplified thanks to the information being pre-existing instead of having to call losetup. BlockDevice().mountpoint has been added as a dummy function. archinstall.enrich_blockdevice_information() has been added to enrich information extracted from blkid. archinstall.uevent() has been created to parse blkdid data when in -o export format, also eats up /sys/class/x/y/uevent data which is of the same format. all_blockdevices() now returns mapper devices found under /dev/mapper/ and properly returns the different types, not just BlockDevice() for everything. archinstall.get_parent_of_partition() has been added, which can translate /dev/sda1 to /dev/sda via strings by using /sys/class/block/ - note here tho that it has to be a blockdevice. Other parents won't return properly. archinstall.find_mountpoint() was created to be able to find mountpoints for a device, rather than the other way around which get_mount_info() handles. find_mountpoint() will convert /dev/sda1 -> /boot for instance, whereas get_mount_info('/boot') will convert /boot -> /dev/sda1. archinstall.get_partitions_in_use() will now properly traverse the entire structure, not just one level deep. This called for the creation of get_all_targets() which will take a dictionary structure and look for 'target': '/path' and return all '/path' values, recursively without being trapped in get_partitions_in_use() which has recursive targets. get_partitions_in_use() now returns a dictionary instead of a list, as it also returns the mountpoint and associated device. It will also prioritize MapperDev over DMCryptDev (as MapperDev is a child of DMCryptDev and can be resolved, other way around is 'trickier').

* Reverted Installer().partitions to return only the partitions. It's a slight speed defecit by not returning the mountpoints directly as {mntpoint: partition}, because the partition.mountpoint is a bit slow. But it avoids breaking legacy code :)

* Fixed a few imports, and added MapperDev.filesystem

* Fixed so that Installer().detect_encryption() uses the new separated logic of MapperDev/DMCryptDev/Partition

* Fixing a translation issue on hostname

* Added DMCryptDev.filesystem

* Added back archinstall.all_disks() for legacy reasons.

* Added a deprecation warning to archinstall.all_disks()

* Added a enrichment check for dm-crypt specific devices, which in turn sets DMCRYPT_NAME on the device information, making it easier to detect and target DMCryptDev when needed. This should avoid issues with loopdevices being detected as DMCryptDev. Also some minor tweaks to variable names on unencrypted setups

* Made debug output hidden without --verbose. Also added get_subvolume_info() which takes a path and returns any 'btrfs subvol show' information on the path

* Partition().subvolumes has been added. Which generates an iterator over potential subvolumes based on mountpoint. Partition().mount_information is now a list of mount-destinations, as one partition should be allowed to be mounted to several places (more commonly used in btrfs subvolumes). BtrfsSubvolume() has been added as a 'device type', which should make it more easy to recognize a BtrfsSubvolume object right out of the gate. Only found from Partition().subvolumes currently.

* Parameter fix for --verbose in log()

* Made sure loopdev devices have a PATH key as well, to make dealing with them as blockdevice as seamless as possible.

* Added backup information grabbing on uninitated devices

* Tweaked backup option if losetup cannot find the blockdev

* looks like losetup doesn't exit with a bad code even when it should. Raising ourselves when information is empty.

* Fixed structure returned from get_blockdevice_uevent()

* Made sure that fallback to blkid and loopdev info returns a PTTYPE (Partition Table Type) that is None, since we can't locate it yet (empty drive). But it's not False either, which is what logic after is looking for

* Deprecated split_bind_name() and added more debugging

* get_partitions_in_use() now only iterates over Partition() objects. And properly checks all mountpoints, not only the first.

* Flipped SysCallError to show the last 500 bytes if data rather than the first, to catch the actual errors.

* Removed anonymous parameters to all_blockdevices()

* Added .mount_information to MapperDev

* Added typing annotations

* Partition().mountpoint is now a @property that will live-report the current mountpoint.

* Removed the need for setting Partition().mountpoint = X when calling .mount() and .unmount(), as it's live-reported instead.

* Added .subvolumes to MapperDev()

* Added debug information

* Muting F841 in helpers.py

* Tweaked debug information in get_mount_info()

* Minimized log output by moving Partition().mountpoint to DEBUG, as partitions are allowed to not be mounted

* Simplified Installer().add_bootloader() to act as a router to the new split function, one for each bootloader type. This since flake8 complained about complexity and I agree that it became to wild.
2022-02-08 23:21:20 +01:00