Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
AgeCommit message (Collapse)Author
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-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-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-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-01Improved run_as for installation.arch_chroot()Anton Hvornum
2021-11-01Adding in enabling of zram serviceAnton Hvornum
2021-11-01Adding support for swap on zramAnton Hvornum
2021-10-30Wrong lib import pathAnton Hvornum
2021-10-30Added some error handling to mount points not getting mounted properly.Anton Hvornum
2021-10-30Added creating and mounting of subvolume structure for BTRFS.Anton Hvornum
2021-09-17Removing /tmp from fstabAnton Hvornum
Since systemd takes care of mounting /tmp as a tmpt, there's no point in having a manual entry in fstab.
2021-09-14Moved --noconfirm at the end of the pacstrap command to get piped properly ↵Anton Hvornum
to pacman inside pacstrap.
2021-09-13Merging latest changesAnton Hvornum
2021-09-13Added --noconfirm to pacstrap and increased logging verbosity when packages ↵Anton Hvornum
fail, and adding a exception so that the installation doesn't continue silently. This causes too much confusion (even tho I liked the idea that people could recover the missing parts without having to re-run the installer for subsequent steps.
2021-09-12Removed legacy need to add_bootloaderAnton Hvornum
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.
2021-09-06Merged in master.Anton Hvornum
2021-07-07Fix encryption + grub both in UEFI and BIOS systems.Hamad Al Marri
We need to have two partitions in BIOS one for boot (grub) and the other for root (/). The format of the boot partition is ext2 (so it is added). If disk is chosen to be encrypted, `then /etc/default/grub` is edited as the followings: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Configuring_GRUB_2 Issue: https://github.com/archlinux/archinstall/issues/586 This work is done while working on CachyOS which is Arch based and it is using customized archinstaller. To test these changes you can try CachyOS installer which supports encrypted disk with grub (https://wiki.cachyos.org/). Hamad
2021-06-13Removed old safety logics for partitions. Partitions will now always be ↵Anton Hvornum
formatted when .format() is called on them. The safety now lay in the code parsing the declerative partition layouts. Also added the encrypt/mount logic for encrypted partitions, which by default will be unencrypted unless a password is specified.
2021-06-13This fixes ↵Anton Hvornum
https://github.com/archlinux/archinstall/pull/426#discussion_r650372664
2021-06-11Made it so that the .partitions property of Install() fetches from live ↵Anton Hvornum
data, rather than storing and caching partitions on initation. Since it now supports mounting a partition layout given by external usage.
2021-06-10Fixed format detection on commands, should be using exit codes instead?Anton Hvornum
2021-06-03Add some safeguards to create directories before writing filesDylan Taylor
2021-05-31Remove comment that no longer appliesDylan M. Taylor
2021-05-31Moved return logic to not abort the iteration of kernels.Anton Hvornum
2021-05-31Creating multiple boot configs, based on the selected kernels. Not 100% sure ↵Anton Hvornum
both initramfs and vmlinuz will have the trailing definitions, but made both {kernel}
2021-05-31Creating PRAnton Hvornum
2021-05-24Added a number of on_<event> hooks for different stages of the installation.Anton Hvornum
2021-05-24Syncing in latest changes from masterAnton Hvornum
2021-05-23Fixes #489Anton Hvornum
2021-05-23Spelling errorAnton Hvornum
2021-05-22fixed bootloader flag not being setadvaithm
2021-05-19Reworking SysCommand & Moving to localectl for locale related activitiesAnton Hvornum
* Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*. * Swapped `loadkeys` for localectl. * Renamed `main` to `maim` in awesome profile. * Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target. * Exposing systemd.py's internals to archinstall global scope. * Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69. * `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`. * Adding back peak_output=True to pacstrap. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com>
2021-05-18Remove unreachable codeDylan M. Taylor
2021-05-18Converted from subprocess.check_output() to SysCommand() to hide ↵Anton Hvornum
cpu_vendor() output.
2021-05-17Reverted 2afc317. Using Path().unlink() instead on ucode if they exist.Anton Hvornum
2021-05-17Adding a pacman --overwrite declaration for ucodes.Anton Hvornum
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Fix mutable default argumentsDylan Taylor
https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor