Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
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
2020-07-21Added some more documentation. Also added a __init__.py in the git repo so ↵Anton Hvornum
that cloning enables importing as well. This should enable both git clone to work as well as pypi.
2020-07-21Created a __dump__ function in BlockDevice. Can be used to safely dump the ↵Anton Hvornum
class into a JSON object. Building a json_encoder which checks if the object hasattr(obj, '__dump__') before calling would be ideal
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-08Added debuggingAnton Hvornum
2020-07-08Fixed issue with filename replacing variable.Anton Hvornum
2020-07-08Added missing btrfs to mkinitcpio. Also added a bunch of locale stuff and ↵Anton Hvornum
genfstab which I forgot
2020-07-08Swapped crypted and unencrypted logic.Anton Hvornum
2020-07-08mixed up the mount of /boot, now correctly mounts /boot before running pacstrapAnton Hvornum
2020-07-08Added a sleep for testingAnton Hvornum
2020-07-08mkinitcpio was no longer a part of linux or base, had to be installed seperatelyAnton Hvornum
2020-07-08Added debug to pacstrap of base and linuxAnton Hvornum
2020-07-08Added a encrypted flag to the Partition() object. So that certain checks can ↵Anton Hvornum
be done by the Installer() later on, for instance when adding a bootloader. There's also a now which tries to find the parent device to the unlocked encrypted device.
2020-07-08Using two different methods for encrypted/non encrypted drives.Anton Hvornum
2020-07-08Trying to sort out a boot issueAnton Hvornum
2020-07-08Using PARTUUID instead of disk UUIDAnton Hvornum
2020-07-08Fixed an issue where the boot loader tried to point the / boot towards the ↵Anton Hvornum
/boot partition in the loader entry.
2020-07-08Forgot to split the path, assumed it was a listAnton Hvornum
2020-07-08rc6: Fixed an issue where 'which' doesn't return the binary absolute path. ↵Anton Hvornum
This due to which being a builtin bash thing, and for whatever reason that stopped working when running as a module, so created locate_binary(name:str) which uses the PATH variable just as which does to find the binary's absolute path
2020-07-08v2.0.3 prep release. Profile now fully support python scripting instead of ↵Anton Hvornum
JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff
2020-07-08Added support for .py profiles. Added a simple 'desktop.py' for now that is ↵Anton Hvornum
just a mock to make sure it's working.
2020-07-08Changed the cache directory to be under ~/.cache instead. Having it in a ↵Anton Hvornum
archinstall folder directly under the users catalogue caused some issues when doing 'import archinstall' when standing in the home directory after trying to uninstall archinstall heh
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 a raise on sys_command exit code being bad. Also updated readme to ↵Anton Hvornum
show how to test this locally
2020-07-07Added colored output. Also tested non-encrypted installations and added ext4 ↵Anton Hvornum
support.
2020-07-06Prepped readme for pypi. Also updated setup.py to reflect a better project ↵Anton Hvornum
name when uploading to pypi.
2020-07-06Renaming deployments to profilesAnton Hvornum
2020-07-06Renaming deployments to profilesAnton Hvornum
2020-07-06Reworked final preparations for working with profiles and installing them.Anton Hvornum
2020-07-06Converted the lib to a pip supported structure to make packaging easier. ↵Anton Hvornum
Also tweaked some minor issues and added the AUR function