Commit Graph

73 Commits

Author SHA1 Message Date
Anton Hvornum d44c671661 Adding package search via upstream package database and JSON. 2020-09-15 11:14:58 +00:00
Anton Hvornum 9b65bf4bbb Spelling error in locale helpers. 2020-09-07 15:41:19 +02:00
Anton Hvornum 4dcafa7ec8 Tweaking the mirror selection vs automatic mirror processes. 2020-09-01 14:52:59 +02:00
Anton Hvornum 1cdd96f9aa Renamed services again after re-save to the wrong name. 2020-09-01 14:43:04 +02:00
Anton Hvornum 99dcdc357f Wrong function name in os.path 2020-09-01 14:37:54 +02:00
Anton Hvornum 4291f3e84e Wrong filename on services 2020-09-01 14:35:34 +02:00
Anton Hvornum 8daae75a78 Adding service logic. Checking if reflector has finished before we select custom mirrors (if any) 2020-09-01 14:33:55 +02:00
Anton Hvornum 323af39ed5 Added archinstall.Installer().set_mirrors, which allows to modify the mirrors in the finished installed medium. 2020-09-01 14:04:47 +02:00
Anton Hvornum 6744d7ac1b Spelling error 2020-09-01 13:57:54 +02:00
Anton Hvornum dd294ba0f3 Added more logging 2020-09-01 13:56:23 +02:00
Anton Hvornum 64f4646eef Fixed copy paste issue within code in the select function. 2020-09-01 13:52:32 +02:00
Anton Hvornum 7734fbee89 Spelling error 2020-09-01 13:49:47 +02:00
Anton Hvornum 35db09298d Spelling error 2020-09-01 13:48:31 +02:00
Anton Hvornum 52a08a492f Added user interaction: select_mirror_Regions 2020-09-01 13:43:19 +02:00
Anton Hvornum 5bba102c45 Added list_mirrors() and prepared for selecting mirrors in guided.py 2020-09-01 12:22:44 +02:00
Anton Hvornum d765763e81 Forgot self in a parameter 2020-09-01 10:36:47 +02:00
Anton Hvornum 677533f765 Added the option to set keyboard layout of installation. Not only on the live medium 2020-09-01 10:33:18 +02:00
Anton Hvornum 8f35f44939 Added locale helpers in terms of keyboard language/layout. 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-09-01 09:01:14 +02:00
Anton Hvornum e4b9ad9d37 Forgot the syntax of sudoers apparently. Corrected. 2020-08-31 21:38:28 +02:00
Anton Hvornum b91699c0e5 Forgot self. in Installer 2020-08-31 21:12:19 +02:00
Anton Hvornum bb0ece0ece Added post-installation check on __exit__ of archinstall.Installer(). This 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-31 18:57:51 +02:00
Anton Hvornum 2e7bd45267 Made btrfs optional in the minimal_installation. As it's only required if the filesystem is actually btrfs. 2020-08-31 16:41:38 +02:00
Anton Hvornum d449bb4b1f Added the HTTPS POST for a successful build to the unattended test build. 2020-08-20 19:56:58 +00:00
Anton Hvornum f6f5875892 Added a unattended installer. Fixed list_profiles() to not include .py 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-20 19:47:39 +00:00
Anton Hvornum 056b800c8e Starting to add networking helpers in archinstall. First up is 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-20 17:08:13 +00:00
Anton Hvornum a2e676261a Added missing function reboot(). Also tweaked the build scripts so that they fetch a common version from the file VERSION. And some spelling tweaks for the log output. 2020-08-20 12:25:21 +00:00
Anton Hvornum 27e20ae433 Removed support entirely for .json. Cleaning up the Profile() class **a lot**. Also tweaked some variable names to better suit the actual usage, which was a path definition not a name definition anymore 2020-08-05 10:29:34 +02:00
Anton Hvornum 11f36102db Fixed description support 2020-08-04 14:58:10 +02:00
Anton Hvornum b29c35de23 Fixed description support 2020-08-04 14:57:33 +02:00
Anton Hvornum 2af2f90280 Added a debug 2020-08-04 14:56:50 +02:00
Anton Hvornum b2a8fd9857 Adding description handling in profiles. 2020-08-04 14:50:36 +02:00
Anton Hvornum 44e920297b elif mixup 2020-08-04 14:41:11 +02:00
Anton Hvornum 9d7962f39c Added a list_profiles() function, that lists all current local profiles. Also removed support for .json as it's redundant for the future. 2020-08-04 14:30:15 +02:00
Anton Hvornum 2dea2426b2 Version bump rc4 2020-08-04 11:36:07 +02:00
Anton Hvornum 928654ae35 Added two new functions. Fixed set_locale. enable_service() was added as well as activate_ntp(). 2020-08-04 11:34:00 +02:00
Anton Hvornum 196d4a178e Added add_custom_mirrors(). The function appends custom mirrors to /etc/pacman.conf 2020-07-30 23:15:51 +00:00
Anton Hvornum 6c5c24ecef Added a function to the installer, also added a function to make it easier to enable it in a installation, after which can be called. 2020-07-22 14:19:41 +00:00
Anton Hvornum 0cd088572d New feature: application profiles now support .py as well. Also fixed a 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-22 01:03:14 +00:00
Anton Hvornum c884a25237 Added a set_timezone() and fixed set_locale() in the Installer() class. Also added a mirrors.py helper to rudimentary set mirror data on the installer host 2020-07-21 19:03:24 +00:00
Anton Hvornum 06f8c46b3d Added some more documentation. Also added a __init__.py in the git repo so that cloning enables importing as well. This should enable both git clone to work as well as pypi. 2020-07-21 11:01:48 +00:00
Anton Hvornum e438e1bbde Merge branch 'master' of github.com:Torxed/archinstall 2020-07-21 08:18:06 +02:00
Anton Hvornum 2b14aa68d0 Created a __dump__ function in BlockDevice. Can be used to safely dump the class into a JSON object. Building a json_encoder which checks if the object hasattr(obj, '__dump__') before calling would be ideal 2020-07-21 08:17:31 +02:00
Anton Hvornum 84410113c2 Spelling error 2020-07-10 08:40:23 +00:00
Anton Hvornum 13e9953630 removed some non-essnetial packages. re-structured the guided installer to ask for stuff first, then fire away. Tested encrypted/non-encrypted and both works. 2020-07-08 22:51:21 +00:00
Anton Hvornum ebcb5ae795 Fixed a bug where minimal_installation() didn't return anything. 2020-07-08 22:22:24 +00:00
Anton Hvornum ef7ebfc394 Added debugging 2020-07-08 22:11:22 +00:00
Anton Hvornum 6c3be5de95 Fixed issue with filename replacing variable. 2020-07-08 21:12:29 +00:00
Anton Hvornum a59efc40a7 Added missing btrfs to mkinitcpio. Also added a bunch of locale stuff and genfstab which I forgot 2020-07-08 21:07:16 +00:00
Anton Hvornum 1fabd5c566 Swapped crypted and unencrypted logic. 2020-07-08 17:57:04 +00:00
Anton Hvornum 5ab238569d mixed up the mount of /boot, now correctly mounts /boot before running pacstrap 2020-07-08 17:45:25 +00:00