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-08Remove nano from base packagesDylan M. Taylor
2021-04-08Merge branch 'master' into quality-of-lifeDylan M. Taylor
2021-04-08Fixing glitch in variable use after moving to __packages__ definition.Anton Hvornum
2021-04-08Corrected the new-line parameterAnton Hvornum
2021-04-08Corrected for keymap before encrypt hookAnton Hvornum
Also think that we should patch mkinitcpio, not replace it. Especially in the btrfs case where we simply just want to add `btrfs` to the `MODULES` section.
2021-04-08Update installer.pyAnton Hvornum
2021-04-08Fix undefined variables in installerRuslan Kiyanchuk
2021-04-08Corrected the new-line parameterAnton Hvornum
2021-04-07Fix newline issue on fstab writesInsanemal
Forced the newline char fstab writes as Python appears to be selecting the incorrect newlines
2021-04-06Merge branch 'master' into fix-undef-varsAnton Hvornum
2021-04-06Update installer.pyAnton Hvornum
2021-04-05Corrected for keymap before encrypt hookAnton Hvornum
Also think that we should patch mkinitcpio, not replace it. Especially in the btrfs case where we simply just want to add `btrfs` to the `MODULES` section.
2021-04-04Merge branch 'master' into fix-repo-urlAnton Hvornum
2021-04-04Update repo to archlinux/archinstallRafael Fontenelle
2021-04-04Fix misspellingsRafael Fontenelle
2021-04-03Fix undefined variables in installerRuslan Kiyanchuk
2021-04-03This should fix #151, by using lsblk instead of /dev/disk/by-partuuid. It ↵Anton Hvornum
also cleaned up the installer code quite a bit during the bootloader installation. Will do the same for encrypted drives later on by implementing UUID on a BlockDevice (disk) level.
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)