Skip to content

v2.0.5

Compare
Choose a tag to compare
@Torxed Torxed released this 01 Oct 09:11
· 2837 commits to master since this release

New features

  • Added archinstall.list_mirrors() to list available mirrors upstream
  • Added archinstall.Installer().set_mirrors() to set mirrors in the installation
  • Added archinstall.service_state() which checks a .service state on the live-medium.
  • Added archinstall.find_package() which can locate one package upstream in the official package database.
  • Added archinstall.find_packages() which can locate many packages, but are a bit slow due to there not being a batch-search in the upstream API, individual packages have to be queried and built into a result structure locally.
  • Profiles now have the option to support a magic function called _prep_function() which gets called when a profile is loaded (but not executed). If this function exists, it needs to be accompanied by a if __name__ == "moduleName" in order to not execute whatever is in the script. This is optional, and simply helps with the early-user-question steps. (A way to ask users questions before installer actually runs)
  • Removed AUR support from this library. It might cause issues and headache upstream, so that functionality will have to become optional in a addon-package/library (most likely called python-archinstall-aur or something similar).

Profile changes

  • Guided example now waits for reflector.service to run it's course before continuing. As it will break any mirror changes done by the guided (or other) templates.
  • Guided now shows archinstall.list_profiles() when asking the user if a profile should be installed.
  • xorg profile/application is now split out and separated from awesome profile to better work with other desktop environments.
  • xorg now attempts to assist with driver-selection (this might get split into it's own profile later)
  • awesome is now less intrusive and depends on xorg.
  • gnome has been added and auto-starts on boot (minimal version comes later)
  • kde has been added with auto-launch on login (minimal version comes later)

Minor fixes

  • Fixed a lot of documentation and autodoc stuff. Docstrings needs to be added, but the base structure is there now.

Known issues

  • This release did not have the latest fix for the PKGBUILD of archinstall, which is the helper scripts to create archinstall-guided which launches the guided template. It's just helper scripts, so the fix will come in the next release. Until then, creating /usr/bin/archinstall-guided manually is required (or executed with python -m archinstall guided).