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-04-04Revert "Revert "added hardwareincompatibilty erros and updated readme""advaithm
This reverts commit 15925170423134025fa8aa34e5397185e4093e13.
2021-04-04Revert "added hardwareincompatibilty erros and updated readme"advaithm
This reverts commit b5e32f980a27f272c1e3c42969323dff82617a84.
2021-04-02added hardwareincompatibilty erros and updated readmeadvaithm
2021-04-02changed __enter__advaithm
2021-04-02fixed some issues with the changesadvaithm
2021-03-28Added some more useful debug data to the log.Anton Hvornum
2021-03-28Fixed a path-check issue with Time Zones.Anton Hvornum
2021-03-21Added a mkinitcpio configuration for non-btrfs volumes but where encryption ↵Anton Hvornum
is still used. Also added keymap to the HOOKS so that we can get non-us layouts depending on the locale chosen during installation.
2021-03-21Moved some info logs into debug instead to minimize user splash.Anton Hvornum
2021-03-21Added some debugging to help identify why archinstall cannot find ↵Anton Hvornum
unencrypted devices when setting up the boot loader.
2021-03-21Spelling error on variable.Anton Hvornum
2021-03-21Moved the globalization of 'installation' variable. Since Profile() might be ↵Anton Hvornum
created before the installation instance, we need to move the global variable declaration after installation has begun and there's an installation instance.
2021-03-20Fixed #64. installation.set_timezone() already excisted since earlier ↵Anton Hvornum
versions of archinstall in the library section. The guided.py example simply never asked for a time-zone. There's still no NTP option, which I'll add in later. Mostly because there's a lot of settings one can do to a time-client configuration, and I'm not sure all users want the default time servers etc.
2021-03-14Made add_bootloader() a little bit more robust, it shouldn't overwrite the ↵Anton Hvornum
existing loader.conf completely, only the default option. We're still left with a lot of garbage entries if installed multiple times on the same boot partition. #51
2021-03-14Added error handling for install_profile() if string vs Profile() is given ↵Anton Hvornum
as an argument.
2021-03-14Removing hardcoded boot-loader config name. #51.Anton Hvornum
2021-03-09Fixed mirror-region parameter selection. Converting to actual mirrors.Anton Hvornum
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.