Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
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
2020-08-04Fixed description supportAnton Hvornum
2020-08-04Fixed description supportAnton Hvornum
2020-08-04Added a debugAnton Hvornum
2020-08-04Adding description handling in profiles.Anton Hvornum
2020-08-04elif mixupAnton Hvornum
2020-08-04Added a list_profiles() function, that lists all current local profiles. ↵Anton Hvornum
Also removed support for .json as it's redundant for the future.
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-30Added add_custom_mirrors(). The function appends custom mirrors to ↵Anton Hvornum
/etc/pacman.conf
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)
2020-07-21Added a set_timezone() and fixed set_locale() in the Installer() class. Also ↵Anton Hvornum
added a mirrors.py helper to rudimentary set mirror data on the installer host