Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Wrong relative import, corrected to avoid .lib.lib.exceptionsAnton Hvornum
2020-10-18Merge remote-tracking branch 'origin' into guidedAnton Hvornum
2020-10-18Logical issue with how I'm used to dealing with selecting list indexes.Anton Hvornum
2020-10-18Added a session-storag. This is in an attempt to build away some magic ↵Anton Hvornum
functionality that might otherwise be hard to understand/maintain over a long period of time. Using this in profiles/desktop.py as a test.
2020-10-18Wrong variable name (from a copy paste issue)Anton Hvornum
2020-10-18Merge remote-tracking branch 'origin' into profileAnton Hvornum
2020-10-18Reverted TTS implementation from 35913c4. Since blind people use screen ↵Anton Hvornum
readers for this functionality. Will have a look at http://www.linux-sppeakup.org/.
2020-10-18Added profile `desktop.py` which helps users select a desktop environment. ↵Anton Hvornum
Also added `archinstall.generic_select` to help with selecting generic things from a list of options.
2020-10-18Implementing error handling for #50. So that the errors do not come at the ↵Anton Hvornum
very end, but in the beginning right after the user inputted something (quicker feedback to the user).
2020-10-11Added text-to-speach, untested but the base is now added. It routes through ↵Anton Hvornum
if available. And can be accessed with directly if needed.
2020-10-01Added user_interaction documentation.Anton Hvornum
2020-09-30Tweaked the import logic so that the Imported() class returns the actual ↵Anton Hvornum
module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace
2020-09-30Fixing a import logic issue. We don't want to trigger if __name__ ... during ↵Anton Hvornum
_prep_function() calls. So we'll import the module with a specific namespace containing the .py which shouldn't be able to happen when normal programmers do normal imports as .py gets removed normally.
2020-09-30Fixing a import logic issue. We don't want to trigger if __name__ ... during ↵Anton Hvornum
_prep_function() calls. So we'll import the module with a specific namespace containing the .py which shouldn't be able to happen when normal programmers do normal imports as .py gets removed normally.
2020-09-30Fixed bug: profile names listed by list_profiles() contained a trailing dot. ↵Anton Hvornum
This causes issues later when trying to select a profile from said list.
2020-09-30Fixed a bug where if you selected a region by name, not number. It would ↵Anton Hvornum
bork out.
2020-09-30Fixed a type-oAnton Hvornum
2020-09-30Finalized magic function _prep_function(). Gets returned when a profile is ↵Anton Hvornum
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
2020-09-30Fixing awesome and xorg for first test run.Anton Hvornum
2020-09-29Fixed some selection processes.Anton Hvornum
2020-09-29Adding a baseline xorg profile that can be called from other profiles. Such ↵Anton Hvornum
as the awesome profile, and in the future gnome and kde.
2020-09-29Removed AUR support (Moving to a separate project, possibly as an addon ↵Anton Hvornum
layer later)
2020-09-15Adding package search via upstream package database and JSON.Anton Hvornum
2020-09-07Spelling error in locale helpers.Anton Hvornum
2020-09-01Tweaking the mirror selection vs automatic mirror processes.Anton Hvornum
2020-09-01Renamed services again after re-save to the wrong name.Anton Hvornum
2020-09-01Wrong function name in os.pathAnton Hvornum
2020-09-01Wrong filename on servicesAnton Hvornum
2020-09-01Adding service logic. Checking if reflector has finished before we select ↵Anton Hvornum
custom mirrors (if any)
2020-09-01Added archinstall.Installer().set_mirrors, which allows to modify the ↵Anton Hvornum
mirrors in the finished installed medium.
2020-09-01Spelling errorAnton Hvornum
2020-09-01Added more loggingAnton Hvornum
2020-09-01Fixed copy paste issue within code in the select function.Anton Hvornum
2020-09-01Spelling errorAnton Hvornum
2020-09-01Spelling errorAnton Hvornum
2020-09-01Added user interaction: select_mirror_RegionsAnton Hvornum
2020-09-01Added list_mirrors() and prepared for selecting mirrors in guided.pyAnton Hvornum
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-09-01Added locale helpers in terms of keyboard language/layout. ↵Anton Hvornum
archinstall.list_keyboard_languages(), archinstall.search_keyboard_layout() and archinstall.set_keyboard_language() work together to help listing, finding and setting a keyboard layout in terminals. Won't work for X-frontends, but will do for CLI installation methods. Added a language selector-helper-function with a crude search functionality. Added all this to the guided template.
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 the HTTPS POST for a successful build to the unattended test build.Anton Hvornum
2020-08-20Added a unattended installer. Fixed list_profiles() to not include .py ↵Anton Hvornum
ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly.
2020-08-20Starting to add networking helpers in archinstall. First up is ↵Anton Hvornum
archinstall.getHwAddr(ifname) which returns the mac of a interface name. second is archinstall.list_interfaces() which lists all the local MAC addresses and which interface it is bound to. Also starting to add the unattended installer back step by step. Currently with one MAC profile. The MAC profile filtering/detection has also been added in archinstall.list_profiles() - it will filter out all MAC address-specific profiles when called, unless a MAC matches a profile or filter_irrelevant_macs=False is given.
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-05Removed support entirely for .json. Cleaning up the Profile() class **a ↵Anton Hvornum
lot**. Also tweaked some variable names to better suit the actual usage, which was a path definition not a name definition anymore