Releases: archlinux/archinstall
v2.0.4rc3
v2.0.4rc2
New features
Application()profiles now support.pyscripts as wellApplication()andProfile()classes now correctly inserts thatarchinstalllibrary path intosys.pathfrom where it was installed. This has to be done in order to sub-executed scripts to get the correct version ofarchinstallwhen doingimport archinstallin 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 compilingyayand 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_commandwhich will run commands inside the installation viaarch-chroot {mountpoint} - Added
arch_chrootwhich just points torun_command(). - Added a
set_timezone() - Fixed
set_locale()in theInstaller()class. - Also added a
mirrors.pyhelper to rudimentary set mirror data on the installer host awesomenow has a.pyprofile instead of a.json, even tho the.jsonis still there.
Fixes
add_additional_packages()now gives a return value frompacstrapwhich 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.pywhich was broken due to string formatting being a bit off.
v2.0.4rc1
New features:
- Pre built ISO's are up again
- Examples are now packaged in both pypi and pre-built nuitka3 binary
- Added a
PKGBUILD archinstall.BlockDevicenow contains a__dump__meta function, which can be used with:def json_serial(obj): elif type(obj) is bytes: return obj.decode('UTF-8') elif getattr(obj, "__dump__", None): return obj.__dump__() else: return str(obj) json.dumps(block_device, default=json_serial)
- Added a
__init__.pyinto the main github repo structure, so that cloned repo's can usefrom archinstall import *for instance.
v2.0.3
Demo: https://youtu.be/w0T0ENAbXOU
New features:
.pysupport for profiles, meaning.jsonand.pysupport for profiles such asdesktopis now supported.- Correctly identifies btrfs and installs the tools and runs
mkinitcpioto package a working bootloader - Added some new
Installer()helper functions:set_locale,set_hostname,genfstab-add_bootloaderno longer takes a partition either, as it has to be given earlier in the stages for mounting to make reason.
Minor changes/fixes:
- cache directory is no longer
~/archinstall, it's now~/.cache/archinstallto not confuse the importer of Python. - Cleaned up the
guided.pyexample, to first ask for user input, then proceed to installation. Also added a little warning before wiping. - Corrected some confusion in
PARTUUIDvsUUID - Fixed
sys_commandsincewhichstopped working, now usesos.environ['PATH']to find binaries. - Added symlinks to
./examplesand./profilesto trick/get setuptools to import the data correctly, since this issue is a huge pain in the ass. - Fixed the correct order of mounting
/bootvs callingbootctl --path=/boot install, we were installing bootloader before the/bootmount was there.
Pre-built binary
archinstall-v2.0.3-1-x86_64.tar.gz is built using nuitka3 --standalone archinstall and simply contain the .dist folder from that result as well as the ./examples. Can be executed as is - or packaged with PKGBUILD to produce archinstall-v2.0.3-1-x86_64.pkg.tar.xz which is also included here. Steps to reproduce can also be done by running make.sh.
v2.0.3.rc1
New features:
.pysupport for profiles, meaning.jsonand.pysupport for profiles such asdesktopis now supported.
Minor changes/fixes:
- cache directory is no longer
~/archinstall, it's now~/.cache/archinstallto not confuse the importer of Python.
v2.0.2
v2.0.1
A lot has changed, and the changes are not backwards compatible with v1.X.
The whole concept has been reworked to support a cleaner installation process.
with contexts are now supported for easier handling of when and where to do certain sync calls etc.
A lot of helper functions have also been put into place to ease certain functions like calling pacman, pacstrap, syscalls and handling partitions, formatting and disk encryption.
The whole library has also been split from one major file into many modules and now more resembles a library.
This was done to support the option to install archinstall via PyPi and to be used as a library or executed as a python module via python -m archinstall --arg1="something" (module feature still being worked on).
Future versions will include support for calling python scripts for post-installation as well as profile installations.
This is because the current JSON template is a bit limited and complex to use when nesting strings inline.
Package is also being synced to the official GitLab of Arch Linux.
v0.2.2-beta
New feature:
- Turn off disk encryption (Default on, and more or less enforced.. But this does turn it off)
v0.2.1-beta
Features:
- (Optional) Adds guessing country based off GeoIP-guessing via machines external IP
- New Default: Reorders mirrors based off
--country=<code>if a gateway is found. Turn off by doing--mirrors=0
v0.2-beta
Main focus on cleaning up the __main__ code and putting things into functions so that the GUI can use the installation steps.
- Keep AUR support after installation is complete
- Phone Home feature, to signal to a master server when/if the installation is completed.
(TODO: Add a start call to the phone home, and possibly progress) - Fixes Issue #22, now shows the file format when listing multiple drives/partitions for selection.
- Reworked sys_command to more behave like a bash terminal being fed inputs
- Bunch of bugfixes, among them were empty drives (factory wiped disks) caused a crash
- Adds commands executed into a command-log
- Some more error handling (True / False returns from functions mainly)