Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
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 an embryo for listing wireless networks.Anton Hvornum
2021-01-25Added some basic/crude graphics checks in hardware.pyAnton Hvornum
2021-01-25Created an embryo for hardware detection. Supports detecting WiFi and UEFI. ↵Anton Hvornum
This fixes #44 and is a start for #82.
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-24Added debug output as well as corrected output formatting in log().Anton Hvornum
2021-01-24Mixup with variable nameAnton Hvornum
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-22Change Arch Linux site URL'sGiancarlo Razzolini
Recently Arch Linux shed the www portion of its site. The links still work, but it's a 301 redirection to archlinux.org. Changed all the URL's still pointing to www.archlinux.org to avoid the unnecessary redirection, since on browsers the 301 is usually saved and respected, but command line tools line wget or python might not save this and always go through the redirect.
2021-01-22Added basic F2FS supportReid
2021-01-22replced slef.part with self.partitionadvaithm
2021-01-22fixex spaces in installer.pyadvaithm
2021-01-22fixed tabs and spaces problemadvaithm
2021-01-22xfs as partition optionadvaithm
2021-01-21Fixes #88 - ext4 paritions incorrectly labeledAnton Hvornum
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-07Potential solution for #67Anton Hvornum
It's a 0.025 second sleep waiting for the partition to pop up in partprobe. Also added a grace period of 10 seconds for that to occur. Otherwise we'll throw an exception since something most likely broke down. (Note here: Older drives, say 6200 RPM spin disks, might take a few seconds to come online. Have no such hardware to test with, but worth testing)
2020-12-07Final verification of issueAnton Hvornum
2020-12-07Removed debuggingAnton Hvornum
2020-12-07Tweaked debugging a bitAnton Hvornum
2020-12-07Update disk.pyAnton Hvornum
2020-12-07Removing one debug step to debug deeper.Anton Hvornum
2020-12-07Spelling errorAnton Hvornum
2020-12-07Adding some debugging for #67Anton Hvornum
2020-12-06Check if directory exists before mountingAnton Hvornum