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-01-30don't pass encoding in locale argument, it is appended separately in set_localePhilipp Schaffrath
2021-01-26installer: Make sure networkd and resolved are enabledGiancarlo Razzolini
Fixed the logic so systemd-networkd and systemd-resolved will always be enabled when the user picks the option to copy files from the ISO. The previous behavior was to enable them only if a wireless network was configured with iwd.
2021-01-26Merge pull request #90 from Reiddragon/masterAnton Hvornum
Added basic F2FS support
2021-01-26Synced over the install log to the install medium upon Installer() __exit__. ↵Anton Hvornum
Default storage is /var/log/archinstall/install.log but can be configured in storage.py. This will include crash dumps and a identical copy is found in the ISO as well, in case the users starts looking in /var/log/archinstall in the ISO medium.
2021-01-26Merge branch 'master' of github.com:Torxed/archinstall into improved-loggingAnton Hvornum
2021-01-26Error in copy paste of function name.Anton Hvornum
2021-01-26Added enabling of systemd-networkd and systemd-resolvd in the copying of the ↵Anton Hvornum
ISO network configuration.
2021-01-26Corrected a error in the installation of iwd. The package was added to ↵Anton Hvornum
base_packages, which is never installed if the installer has already finished installing the base packages before this function was called. copy_ISO_network_config() there for now properly checks if the installation is complete and if so, simply straps in the package. Otherwise adds it to the base packages and waits for the base to roll through.
2021-01-25Adding copy mode for #95 (#82). I wouldn't say this is a hacky way of doing ↵Anton Hvornum
it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over.
2021-01-25Adding copy mode for #95 (#82). I wouldn't say this is a hacky way of doing ↵Anton Hvornum
it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over.
2021-01-25Added a little print out to inform the user about where to find the log file ↵Anton Hvornum
on a crash.
2021-01-25Added some more fields to the configuration output, as well as added a ↵Anton Hvornum
better fail safe for the logging output. Any exception during the installation will be caught by __exit__ in Installer(), hopefully.
2021-01-24Simpligied installer.log() to wrap output.log() with it's changes.Anton Hvornum
2021-01-24Trying to centralize the configuration for logging. Phasing out some ↵Anton Hvornum
parameters which also affects the current ability to create multiple log files for multiple runs. This will be re-introduced when logging is made into a class object in a later version
2021-01-22Added basic F2FS supportReid
2021-01-22replced slef.part with self.partitionadvaithm
2021-01-22fixex spaces in installer.pyadvaithm
2021-01-22xfs as partition optionadvaithm
2020-12-09Installer.mount() had accedental hard coded mountpoint.Anton Hvornum
2020-12-07Removing debug outputAnton Hvornum
2020-12-07Fixing a strip glitch in `sys_command()` causing certain output to get ↵Anton Hvornum
truncated in unwanted places (like fstab)
2020-12-07Minor tweaksAnton Hvornum
2020-12-07More debuggingAnton Hvornum
2020-12-07Debug dataAnton Hvornum
2020-12-07Type mismatch in genfstab()Anton Hvornum
2020-12-07Updated fstab to better match the given inputAnton Hvornum
2020-12-07fstab incorrectly updated since many version agoAnton Hvornum
Updated `genfstab()` to approprately generate a correct fstab for mounted filesystems used in `installation.mountpoint`.
2020-12-07DebuggingAnton Hvornum
2020-12-07Updated debug log outputAnton Hvornum
2020-12-07Added some more log output regarding fstab.Anton Hvornum
2020-12-07Reverted genfstab changes.Anton Hvornum
But placed genfstab in the Installation() __exit__ as the last action performed.
2020-12-07DebuggingAnton Hvornum
2020-12-07Making sure installation.mount() also triggers genfstab.Anton Hvornum
Since it's a installation specific mount, we need to re-create genfstab. Also corrected genfstab flags as well as added an option to override the >> (append) operator to become a write-over operator.
2020-12-06Check if directory exists before mountingAnton Hvornum
2020-12-06Swapped order of partition vs mountpoint in installation.mount()Anton Hvornum
2020-12-06Attempting to select drives by size and/or idAnton Hvornum
2020-11-11Added minor error handling in installer.set_keyboard_language()Anton Hvornum
2020-11-11Added a simple INI handler, and a helper function under ↵Anton Hvornum
Installer().configure_nic() to help with nic configuration. Supports a crude DHCP configuration and a minimal static IP handler.
2020-11-08Updated documentationAnton Hvornum
Related to the new log features.
2020-11-04Tweaked some log messages in archinstall.Installer()Anton Hvornum
2020-11-04installer.log() should not be a property.Anton Hvornum
2020-11-04Spelling error on systemd-bootctl.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-20Preparing log-data and debug output.Anton Hvornum
2020-10-19Fix typos.Varun Madiath
2020-09-29Removed AUR support (Moving to a separate project, possibly as an addon ↵Anton Hvornum
layer later)
2020-09-01Added archinstall.Installer().set_mirrors, which allows to modify the ↵Anton Hvornum
mirrors in the finished installed medium.
2020-09-01Forgot self in a parameterAnton Hvornum
2020-09-01Added the option to set keyboard layout of installation. Not only on the ↵Anton Hvornum
live medium
2020-08-31Forgot the syntax of sudoers apparently. Corrected.Anton Hvornum