Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-19Fix typo in function parameterVarun Madiath
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19Fix typos.Varun Madiath
2020-10-18Changed my mind, reverting to the original sig-handler is better.Anton Hvornum
2020-10-18Revert to a some what default sig-kill handler. (needs some adjustments just ↵Anton Hvornum
to clean up things, but I think it will do for now)
2020-10-18Reverted some changes. It was to 'complicated' to get status of the ↵Anton Hvornum
sys.stdin buffer while it did not contain a new-line character. So reverted that code. Here is an interesting read, but a bit to much code for a simple guided template: https://stackoverflow.com/a/41459565/929999
2020-10-18Added a slightly convoluted but non-intrusive 'are you sure?' on Ctrl+C/any ↵Anton Hvornum
input.
2020-10-18Tweaked the output a little.Anton Hvornum
2020-10-18Tweaked the _guided storage. One variable was a loaded module, which is hard ↵Anton Hvornum
to convert to json in a meaningful way.
2020-10-18Forgot an import, as well as made BlockDevice() have less verbose output on ↵Anton Hvornum
json.dumps.
2020-10-18Added a JSON serializer for certain non-json objects.Anton Hvornum
2020-10-18Added a test version trying to solve #43.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
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-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-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-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-07Fixed #48 - Removed AUR question in the guided installer. (library still ↵Anton Hvornum
supports it, but will be hidden from common users)
2020-09-01Made waiting for reflector mandatory. Which should fix issue #47.Anton Hvornum
2020-09-01systemctl spits out some colors, so logic had to be changed.Anton Hvornum
2020-09-01DebuggingAnton Hvornum
2020-09-01Tweaking the mirror selection vs automatic mirror processes.Anton Hvornum
2020-09-01Debugging a bitAnton Hvornum
2020-09-01Adding service logic. Checking if reflector has finished before we select ↵Anton Hvornum
custom mirrors (if any)
2020-09-01Forgot to send with mirrors in the function call perform_installation() in ↵Anton Hvornum
guided template.
2020-09-01Added archinstall.Installer().set_mirrors, which allows to modify the ↵Anton Hvornum
mirrors in the finished installed medium.
2020-09-01Added list_mirrors() and prepared for selecting mirrors in guided.pyAnton 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 self. in InstallerAnton Hvornum
2020-08-31Fixed a conditional logic issue. It didn't break out of user creation when ↵Anton Hvornum
it was supposed to.
2020-08-31Adding a different text on the user step if root is disabled. Also adding ↵Anton Hvornum
user as sudo if that's the case.
2020-08-20Added a timeout on the HTTPS POST status after a successful install.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-07-08removed some non-essnetial packages. re-structured the guided installer to ↵Anton Hvornum
ask for stuff first, then fire away. Tested encrypted/non-encrypted and both works.
2020-07-08Fixed a bug where minimal_installation() didn't return anything.Anton Hvornum
2020-07-08Reflecting change in /boot changeAnton Hvornum
2020-07-08mixed up the mount of /boot, now correctly mounts /boot before running pacstrapAnton Hvornum
2020-07-07Added pythons -m module support. __main__.py is the main module entry path, ↵Anton Hvornum
and setup.py now includes the examples (which as been renamed for more convenient module importing) which - enables __main__.py to locate the examples and import them via importlib and execute them.
2020-07-07Added colored output. Also tested non-encrypted installations and added ext4 ↵Anton Hvornum
support.
2020-07-07Adding a guided installation profile.Anton Hvornum
2020-07-06Moved the example installation to examplesAnton Hvornum