Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
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
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-21Merge branch 'master' of github.com:Torxed/archinstallAnton Hvornum
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-10Spelling errorAnton Hvornum
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-08Added symlinks instead of copying when building. Also mofied the __file__ ↵Anton Hvornum
path in __main__.py as it was pointing a bit off for some reason
2020-07-08Adding symlink to examples.Anton Hvornum
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