Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-11-11Merged PR #707 - Fixes password leakage to terminalAnton Hvornum
Created a new JSON serializer called `UNSAFE_JSON` that will serialize everything, including sensitive information. And `JSON` which is the default up to this point now safely ignores any sensitive information in dictionaries marked with `!`, for instance `{"!password" : "mypassword"}` will be omitted from any output.
2021-11-11Modified last few places where password gets set.Anton Hvornum
2021-11-10Fixed linting issueAnton Hvornum
2021-11-10Solves issue #689. Attribute Error.'None type' has no attribute 'format' ...Werner Llácer
It seems the system does not syncronus update its internal information after a partitioning. Two places are affected. Directly on filesystem.add_partition (the uuid of the new partition isn't available after the parted command) and blockdevice.get_partition, where the list of partitions for the iterator might not be available in the query. The patch places both sections under controlled loops, giving the system the chance to update the information. Should be more controlled via application parameters
2021-11-09Changed partition password to !passwordAnton Hvornum
And also added a check to grab !encryption-password if no partition-specific password was given.
2021-11-09Forgot to change the cls=JSON inside the recursive call of UNSAFE_JSONAnton Hvornum
2021-11-09Adding in storage of user supplied credentials. This separates credentials ↵Anton Hvornum
from user_configuration.json into user_credentials.json. As well as the JSON serializer will omit the credentials from the user_configuration.json by detecting ! in the dictionary keys (which is why they are important). UNSAFE_JSON will leave those keys in there, good for storing credentials in a separate file."
2021-11-09Adding a exception to filesystem.parted() if it fails. We can't let these go ↵Anton Hvornum
by unoticed
2021-11-09Linting fixAnton Hvornum
2021-11-09Merge pull request #695 from wllacer/masterAnton Hvornum
Solves issue #674
2021-11-08Fix user_interaction import as well - this is also in the parent directory.Dylan M. Taylor
2021-11-08If using subvolumes, make root partition 100% instead of using homeDylan M. Taylor
2021-11-08Fix luks import so that encryption works correctlyDylan M. Taylor
2021-11-08Followup to the previous one. Output of size function is rounded to the ↵Werner Llácer
first decimal so output doesn't look too cluttered
2021-11-08Solves issue #674Werner Llácer
We turned the size query of the devices to byte mode in lsblk (lsblk -b) It avoids problems with the localized output of the lsblk utility.
2021-11-07Fixes #690 by Clearing storage['active_boot'] if shutdown was successful (#691)Anton Hvornum
* Clear storage variable if shutdown was successful * Adding shutdown monitoring and debug output. * It seams systemd-run gets a connection reset from running 'shutdown now', but in a good way - so it doesn't raise any exceptions. Or at least that's what it looks like.
2021-11-06Revert "Added a delay on systemd-nspawn", did not helpAnton Hvornum
This reverts commit d9aa7e6b34a969b46f97a24b9387d215605747c8.
2021-11-06Added a delay on systemd-nspawnAnton Hvornum
This to avoid "Transport endpoint is not connected"
2021-11-06Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-fix-109
2021-11-06Added mimic function for file operationsAnton Hvornum
2021-11-06Update installer.pyAnton Hvornum
2021-11-05Fixed default zram conf location and importsAnton Hvornum
2021-11-05Fixed newline in zram confAnton Hvornum
2021-11-05Misspelled variable nameAnton Hvornum
2021-11-05Fixed broken import from masterAnton Hvornum
2021-11-05Fixed broken import from master (GRUB non-EFI might be wonky)Anton Hvornum
2021-11-05Fixed a broken importAnton Hvornum
2021-11-05Fixed some import errors that snuk in masterAnton Hvornum
2021-11-05Stripped down the default zram configuration for zram-generatorAnton Hvornum
2021-11-05Merged latest masterAnton Hvornum
2021-11-05Merged in master changesAnton Hvornum
2021-11-05Fix import systemd.BootAnton Hvornum
2021-11-05Added more information to the NTP log line.Anton Hvornum
2021-11-05Renamed the ntp function, as it doesn't install/enable ntp any longer. Even ↵Anton Hvornum
tho it uses the NTP protocol.
2021-11-05Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-682Anton Hvornum
2021-11-05Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-93Anton Hvornum
2021-11-05Just swapped quotation marks. Easier to copy paste into JSON syntax ↵Anton Hvornum
highlighting.
2021-11-05Merged PR #650 - flake8 fixes and tighteningAnton Hvornum
Tighten up flake8 tests used by GitHub Action lint_python
2021-11-05Ignoring flake8 on blockdevice.py.Anton Hvornum
2021-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-11-02Fix typosTheEvilSkeleton
2021-11-02flake8 fix, trailing semicolonAnton Hvornum
2021-11-02Made sure there's a default config that's 'sane'Anton Hvornum
2021-11-02Removed pacstrap of ntpd as it's redundant. Also enabled the ↵Anton Hvornum
systemd-timesyncd service before running a command against it.
2021-11-02Changed from ntpd service to systemd-timesyncd.Anton Hvornum
2021-11-01Add import for all_disksDidr
2021-11-01Fixed flake8 issues in networking, plugins and profiles.Anton Hvornum
2021-11-01Fixed general.py flake8 issues.Anton Hvornum
2021-11-01Improved run_as for installation.arch_chroot()Anton Hvornum
2021-11-01Added a wrapper to create files inside the installation as/for a specified usedAnton Hvornum