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-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
2020-08-31Forgot self. in InstallerAnton Hvornum
2020-08-31Added post-installation check on __exit__ of archinstall.Installer(). This ↵Anton Hvornum
will 'verify' that the installation is complete after leaving the installer, or warn the scripter/programmer/user that there's steps missing in order to complete the installation. This is a step towards combating root being disabled and sudo users forgotten to be created - to avoid total account lockout.
2020-08-31Made btrfs optional in the minimal_installation. As it's only required if ↵Anton Hvornum
the filesystem is actually btrfs.
2020-08-20Added missing function reboot(). Also tweaked the build scripts so that they ↵Anton Hvornum
fetch a common version from the file VERSION. And some spelling tweaks for the log output.
2020-08-04Version bump rc4Anton Hvornum
2020-08-04Added two new functions. Fixed set_locale. enable_service() was added as ↵Anton Hvornum
well as activate_ntp().
2020-07-22Added a function to the installer, also added a function to make it easier ↵Anton Hvornum
to enable it in a installation, after which can be called.
2020-07-22New feature: application profiles now support .py as well. Also fixed a ↵Anton Hvornum
sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile)