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-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
2021-05-15f-string fixesDylan Taylor
2021-05-15Whitespace changesDylan Taylor
2021-05-15Remove unnecessary parenthesisDylan Taylor
2021-05-15Fix partition -> part suggestion by TorxedDylan Taylor
2021-05-15fix installer.py inconsistent tabs/spaces errorDylan Taylor
2021-05-15Some additional formattingDylan Taylor
2021-05-15Many more manual changesDylan Taylor
2021-05-14Fix microcode not getting added to base_packages before installDylan M. Taylor
Update installer.py
2021-05-14Adding a fallback systemd-boot install if writing variables failed.Anton Hvornum
2021-05-14Adding in a default timeout to systemd-boot, but only if no other timeout ↵Anton Hvornum
was specified. Also fixes a regression bug with line endings in the loader configuration.
2021-05-14Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-350Anton Hvornum
2021-05-14Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-kernel-params
2021-05-12Merge branch 'master' of github.com:Torxed/archinstall into torxed-fix-350Anton Hvornum
2021-05-12Replaced the magic __builtin__ global variable. This should fix mypy ↵Anton Hvornum
complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.
2021-05-01Fix syntax errorbuilder_247
2021-04-30Adding support for kernel paramsAnton Hvornum
2021-04-30Moved/Created mkinitcpio funcAnton Hvornum
2021-04-30Moved mkinitcpio variablesAnton Hvornum
They now live as a installation-session variable. Not just minimal installation.
2021-04-29Change how efibootmgr is installedDylan M. Taylor
Make changes suggested by Torxed
2021-04-29Partially revert hasUEFI grub/efibootmgr change to fix GRUBDylan M. Taylor
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29Cleaning up packages. (#374)Anton Hvornum
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles. * Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot. * Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed. * Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining. * Explosion misspelling. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29Fixes #350 hopefully. This reverts an old hotfix to make systemd-boot work ↵Anton Hvornum
with dualboot variables. This **NEEDS** to be tested together with a Windows installation dual-boot setup, because this is where variable writing caused issues before.
2021-04-28removed pdbadvaithm
2021-04-28log diffrent values when in bios modeadvaithm
2021-04-28trying to fix always failing bootloader installadvaithm
2021-04-28fixed kernel selectadvaithm
2021-04-28pdb traceingadvaithm
2021-04-27Revert some merge resolve changesSecondThundeR
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-27Synced latest changes from torxed-v2.2.0.Anton Hvornum
2021-04-25Merge branch 'master' of https://github.com/AggamR/archinstallAggam Rahamim
2021-04-25having ability to use multiple kernelsAggam Rahamim
2021-04-21Merged in latest changes and history from torxed-2.2.0 to avoid odd history ↵Anton Hvornum
in PR #315
2021-04-21add efibootmgr only on uefi systemsadvaithm
2021-04-20added return trueadvaithm
2021-04-20fixed some weird grammeradvaithm
2021-04-20added /mnt to grubcfg genrationadvaithm
2021-04-20removed unnessacry --targetadvaithm
2021-04-20fixed shell command in add bootloaderadvaithm