v2.0.4rc2
Pre-release
Pre-release
New features
Application()
profiles now support.py
scripts as wellApplication()
andProfile()
classes now correctly inserts thatarchinstall
library path intosys.path
from where it was installed. This has to be done in order to sub-executed scripts to get the correct version ofarchinstall
when doingimport archinstall
in profiles and applications. Otherwise the installed/other libraries might take precedence overgit clone
'd repositories/submodules in projects (very noticeable in archinstall_gui for instance)- Added the
add_AUR_support()
function to enable AUR packages in the mountpoint (by compilingyay
and installing it) - Added a
yay()
(andadd_AUR_packages()
pointer toyay()
) command for installing AUR packages inside the mountpoint - Added
enable_AUR()
function to - Added
run_command
which will run commands inside the installation viaarch-chroot {mountpoint}
- Added
arch_chroot
which just points torun_command()
. - Added a
set_timezone()
- Fixed
set_locale()
in theInstaller()
class. - Also added a
mirrors.py
helper to rudimentary set mirror data on the installer host awesome
now has a.py
profile instead of a.json
, even tho the.json
is still there.
Fixes
add_additional_packages()
now gives a return value frompacstrap
which it didn't before.install_profile()
now gives a return value fromprofile.install()
which it previously didn't.Profile()
andApplication()
now skips looking for the profile/application if absolute paths are given (hopefully that logic works)- Added a
__repr__
forApplication()
so it doesn't look like it's aProfile()
being installed when printing the object. - Fixed
desktop.py
which was broken due to string formatting being a bit off.