Releases: archlinux/archinstall
v2.1.4
Patch release v2.1.4
Known issues:
- Installing to a USB device is still a bit iffy at times and some partition layouts might still confuse the installer and these will be fixed in v2.2.0 due to it requiring some re-work of the partition logic - which is to big of a change for this version.
- MBR and GRUB support will be coming in v2.2.0 (next release)
For more issues, see the issues tab. And thank you for your patience and constructive feedback, it's very much appreciated!
Experimental features:
- "Use
/mnt
as is" #124 has been added as a new option in the formatting process. This function is tested, but internet is filled with people who use exotic partitioning layouts and such. So this feature is bound to break at some points. Feedback is very welcome especially around this new feature.lsblk
output has been added to the logs, so submitting that log should be sufficient for us to replicate certain layouts and file formats.
This release contains the following:
- (breaking change) Installer() has been re-worked quite a bit to accomodate #124. This meant that
partition
andboot_partition
are no longer used, instead, a single installation directory is given which adds more degrees of freedom for the installer - as it no longer "cares" what partitions are being used. As long as it can runpacstrap
in said directory, the installer will try to figure out what packages to source additionally to deal with the file system's in play. It also no longer sets a hostname by default, instead.set_hostname()
should be called on the installation. (see the minimal example for information on how the new workflow should look like). argon2id
is being used by default instead ofargon2i
after some discussions here on GitHub, with a future plan of making this configurable through--PBKDF=<implementation name>
.- #124 has been implemented and allows for more complex partition layouts. See note above surrounding this feature.
- Added more verification to time zone selection
- Added a warning for one experimental feature
- The install log now contains
lsblk
output to better help diagnose potential partitioning issues. - Added information regarding unattended installations in the readme
- IP addresses are now verified when entering them
- Time zone input will now loop instead of default to UTC when a invalid time zone is given (leaving blank will however default to UTC still as mentioned below)
generic_select
have been improved quite a bit. It now supportsallow_empty_input=False
which will loop over the choices until a valid is given as well as asort=True
which sorts the listing. Lastlyoptions_output=False
have been added to hide any output of the list, enabling the programmer to print their own list prior to selecting the options (options still has to be given togeneric_select
, but these can be different from the output printed, enabling for more programatically understandable options returned fromgeneric_select
while allowing for presenting user friendly options)- "Keep partitions" now forces the user to select at least
/
and/boot
- A
.editorconfig
to help contributors use and follow some guidelines when contributing - Added a mission statement to the project
- Simplified and consolidated the build process.
- minimal.py and the script your own installation examples have been updated properly.
- The test instructions and build ISO instructions have been added and modified.
- The entry-point for the module have moved in to init.py
- Partial support for hardware raids have been added (still very much an experimental feature)
Partition()
now has a .uuid property for easy access to the PARTUUID oflsblk
BlockDevice()
now has a .uuid property for easy access to the UUID oflsblk
for the device.Partition()
.real_device now always returns the parent device, not only when it's encrypted. This means that/dev/mapper/luksloop
will return/dev/sda2
for instance, and/dev/sda2
will return/dev/sda
. For a more consistent behavior.- Relaxed the
Partition()
.safe_to_format() a bit to allow for formatting "odd" boot partitions that doesn't make sense. Partition()
.mount() will now create the destination by default.archinstall
has a new function called .get_partitions_in_use(mountpoint) which can look up a folder/mountpoint and analyze which block devices are mounted there (recursively). This helps theInstaller()
to understand which partitions is mounted and what packages to source.archinstall.sys_command()
now take environment_vars as a new argument, which can be used to pipe in specific environment variables. It also properly disposes of any open filehandles once done executing.- Some general code clean up such as this
Installer()
no longer installs nano by default as a base package. That is now an optional package in profiles instead.Installer()
.partitions have been added to facilitate easy access to the current partitions in play during this installation.Installer().enable_service()
now takes an arbitrary number of services instead of just oneInstaller()
.drop_to_shell() has been added to the API for easy access into the new installation.Installer()
.detect_encryption() has been added to the API to crudely but conveniently detect if there's encryption in play at the given pacstrap location.Installer().minimal_installation()
now patches mkinitcpio instead of blindly writing a string. This is prep-work for the future, where there will be API hooks such ason_mkinitcpio
that will pipe these variables to external functions for patching.archinstall.list_keyboard_languages()
should no longer be limited to QWERTY layouts. This should enable layouts likebe-latin1
to be discoverable which was mentioned in #149.- Some NVMe sleeps have been added to combat the issues during formatting/encryption/unlocking where commands release us before the kernel is done updating.
list_mirrors()
now support offline mode is detected. This is useful when building your own ISO's that is targeted at offline environments. An example usage of this is archoffline that utilize this as a test.- profiles/ now has the ability to masquerade as [top_level_profile](v2.1.3...v2.1.4-RC...
v2.1.4-RC2
Patch release v2.1.4 (Release Candidate)
Attached below is an unofficial Arch Linux ISO that ships this specific release candidate.
Since this is an unsupported ISO, please help the support out by not asking questions about it anywhere but here or in the archinstall channels.
Known issues: Installing to a USB device is still a bit iffy at times.
Experimental features:
- "Use
/mnt
as is" #124 has been added as a new option in the formatting process. This function is tested, but internet is filled with people who use exotic partitioning layouts and such. So this feature is bound to break at some points. Feedback is very welcome especially around this new feature.lsblk
output has been added to the logs, so submitting that log should be sufficient for us to replicate certain layouts and file formats.
This release contains the following:
- (breaking change) Installer() has been re-worked quite a bit to accomodate #124. This meant that
partition
andboot_partition
are no longer used, instead, a single installation directory is given which adds more degrees of freedom for the installer - as it no longer "cares" what partitions are being used. As long as it can runpacstrap
in said directory, the installer will try to figure out what packages to source additionally to deal with the file system's in play. It also no longer sets a hostname by default, instead.set_hostname()
should be called on the installation. (see the minimal example for information on how the new workflow should look like). argon2id
is being used by default instead ofargon2i
after some discussions here on GitHub, with a future plan of making this configurable through--PBKDF=<implementation name>
.- #124 has been implemented and allows for more complex partition layouts. See note above surrounding this feature.
- The install log now contains
lsblk
output to better help diagnose potential partitioning issues. - Added information regarding unattended installations in the readme
- IP addresses are now verified when entering them
- Time zone input will now loop instead of default to UTC when a invalid time zone is given (leaving blank will however default to UTC still as mentioned below)
generic_select
have been improved quite a bit. It now supportsallow_empty_input=False
which will loop over the choices until a valid is given as well as asort=True
which sorts the listing. Lastlyoptions_output=False
have been added to hide any output of the list, enabling the programmer to print their own list prior to selecting the options (options still has to be given togeneric_select
, but these can be different from the output printed, enabling for more programatically understandable options returned fromgeneric_select
while allowing for presenting user friendly options)- "Keep partitions" now forces the user to select at least
/
and/boot
- A
.editorconfig
to help contributors use and follow some guidelines when contributing - Added a mission statement to the project
- Simplified and consolidated the build process.
- minimal.py and the script your own installation examples have been updated properly.
- The test instructions and build ISO instructions have been added and modified.
- The entry-point for the module have moved in to init.py
- Partial support for hardware raids have been added (still very much an experimental feature)
Partition()
now has a .uuid property for easy access to the PARTUUID oflsblk
BlockDevice()
now has a .uuid property for easy access to the UUID oflsblk
for the device.Partition()
.real_device now always returns the parent device, not only when it's encrypted. This means that/dev/mapper/luksloop
will return/dev/sda2
for instance, and/dev/sda2
will return/dev/sda
. For a more consistent behavior.- Relaxed the
Partition()
.safe_to_format() a bit to allow for formatting "odd" boot partitions that doesn't make sense. Partition()
.mount() will now create the destination by default.archinstall
has a new function called .get_partitions_in_use(mountpoint) which can look up a folder/mountpoint and analyze which block devices are mounted there (recursively). This helps theInstaller()
to understand which partitions is mounted and what packages to source.archinstall.sys_command()
now take environment_vars as a new argument, which can be used to pipe in specific environment variables. It also properly disposes of any open filehandles once done executing.- Some general code clean up such as this
Installer()
no longer installs nano by default as a base package. That is now an optional package in profiles instead.Installer()
.partitions have been added to facilitate easy access to the current partitions in play during this installation.Installer().enable_service()
now takes an arbitrary number of services instead of just oneInstaller()
.drop_to_shell() has been added to the API for easy access into the new installation.Installer()
.detect_encryption() has been added to the API to crudely but conveniently detect if there's encryption in play at the given pacstrap location.Installer().minimal_installation()
now patches mkinitcpio instead of blindly writing a string. This is prep-work for the future, where there will be API hooks such ason_mkinitcpio
that will pipe these variables to external functions for patching.archinstall.list_keyboard_languages()
should no longer be limited to QWERTY layouts. This should enable layouts likebe-latin1
to be discoverable which was mentioned in #149.- Some NVMe sleeps have been added to combat the issues during formatting/encryption/unlocking where commands release us before the kernel is done updating.
list_mirrors()
now support offline mode is detected. This is useful when building your own ISO's that is targeted at offline environments. An example usage of this is archoffline that utilize this as a test.- profiles/ now has the ability to masquerade as top_level_profile enabling it to show up in profile listing. And subsequently hide themselves from the top level menu in guided. This helps a ...
v2.1.4-RC1
Patch release v2.1.4 (Release Candidate)
Attached below is an unofficial Arch Linux ISO that ships this specific release candidate.
Since this is an unsupported ISO, please help the support out by not asking questions about it anywhere but here or in the archinstall channels.
Known issues:
- entering keyboard layouts directly by name in the first prompt is partially broken. Entering
us
for instance is broken, but entering by number works or after a search you can enterus
. It just needs that first search to populate the list properly internally by name.
This release contains the following:
- (breaking change) Installer() has been re-worked quite a bit to accomodate #124. This meant that
partition
andboot_partition
are no longer used, instead, a single installation directory is given which adds more degrees of freedom for the installer - as it no longer "cares" what partitions are being used. As long as it can runpacstrap
in said directory, the installer will try to figure out what packages to source additionally to deal with the file system's in play. It also no longer sets a hostname by default, instead.set_hostname()
should be called on the installation. (see the minimal example for information on how the new workflow should look like). - A
.editorconfig
to help contributors use and follow some guidelines when contributing - Added a mission statement to the project
- Simplified and consolidated the build process.
- minimal.py and the script your own installation examples have been updated properly.
- The test instructions and build ISO instructions have been added and modified.
- The entry-point for the module have moved in to init.py
- Partial support for hardware raids have been added (still very much an experimental feature)
Partition()
now has a .uuid property for easy access to the PARTUUID oflsblk
BlockDevice()
now has a .uuid property for easy access to the UUID oflsblk
for the device.Partition()
.real_device now always returns the parent device, not only when it's encrypted. This means that/dev/mapper/luksloop
will return/dev/sda2
for instance, and/dev/sda2
will return/dev/sda
. For a more consistent behavior.- Relaxed the
Partition()
.safe_to_format() a bit to allow for formatting "odd" boot partitions that doesn't make sense. Partition()
.mount() will now create the destination by default.archinstall
has a new function called .get_partitions_in_use(mountpoint) which can look up a folder/mountpoint and analyze which block devices are mounted there (recursively). This helps theInstaller()
to understand which partitions is mounted and what packages to source.archinstall.sys_command()
now take environment_vars as a new argument, which can be used to pipe in specific environment variables. It also properly disposes of any open filehandles once done executing.- Some general code clean up such as this
Installer()
no longer installs nano by default as a base package. That is now an optional package in profiles instead.Installer()
.partitions have been added to facilitate easy access to the current partitions in play during this installation.Installer().enable_service()
now takes an arbitrary number of services instead of just oneInstaller()
.drop_to_shell() has been added to the API for easy access into the new installation.Installer()
.detect_encryption() has been added to the API to crudely but conveniently detect if there's encryption in play at the given pacstrap location.Installer().minimal_installation()
now patches mkinitcpio instead of blindly writing a string. This is prep-work for the future, where there will be API hooks such ason_mkinitcpio
that will pipe these variables to external functions for patching.archinstall.list_keyboard_languages()
should no longer be limited to QWERTY layouts. This should enable layouts likebe-latin1
to be discoverable which was mentioned in #149.- Some NVMe sleeps have been added to combat the issues during formatting/encryption/unlocking where commands release us before the kernel is done updating.
list_mirrors()
now support offline mode is detected. This is useful when building your own ISO's that is targeted at offline environments. An example usage of this is archoffline that utilize this as a test.- profiles/ now has the ability to masquerade as top_level_profile enabling it to show up in profile listing. And subsequently hide themselves from the top level menu in guided. This helps a lot with maintaining a clean list of profiles at the first presentation. All desktop profiles have now been moved under the desktop option.
Profiles()
.packages is a new property in the API to access potential package definitions. (experimental feature and will not take full effect untilv2.2.0
)- service_state() has been patched and now properly returns a string representing the state, without any ANSI escape codes.
- Usernames are now properly verified before continuing in the guided installer.
- The formatting countdown has been moved into archinstall.lib.user_interactions (and exposed as
archinstall.do_countdown()
) - Most function logs no longer outputs a black background.
- Timezones will now [default to UTC](v2.1.3...v2.1.4-RC1#diff-991834f9...
v2.1.3
This is a minor release and addresses some smaller bugs that were creeping around.
- A inconsistency was detected when trying to format a disk/partition that previously had encryption enabled and going to a setup where encryption was not used. This was identified by @Didr and the issue was that the
Partition().encrypted
flag was carried over from the internal cache (created initially when building the cache to present to the user during initialization).- The
.encrypted
flag is now more accurately set by correctly identifying file system as reported by the kernel rather than our own internal cache after.format
is called. It also checks the parent device if there is one to not falsely check on unlocked encrypted devices.
- The
- #116 has partially been corrected, in that the log will fall back to
./
if archinstall couldn't put the log in/var/log/archinstall
sys_command
now has a better workingworkdir
flag to put logs and execute from.- Removed
vfat
as a root-partition option - Fixed an issue where completely empty drives would cause a glitch due to
.has_content()
'smount
command would crash due to "wrong fs type".
No new features were added.
v2.1.2
New features
BlockDevice()
now has four new functions as well as "improved" cache (still some improvements to be done):BlockDevice().partition_table_type
which returnsGPT
orMBR
depending on which is used.has_partitions()
which returns the number of partitions.has_mount_point(path)
, returnsTrue
if any of the block device partitions have been mounted to the givenpath
.flush_cache()
which clears the internal partition cache and forces a refresh of the current partitions (mainly useful for internal use when formatting etc)
BlockDevice()
are now iterable and will iterate over the partitions (for partition in BlockDevice("/dev/sda"):
).BlockDevice()
will now auto fill information about itself if no information is given during initialization.- Throughout the guided.py installation, arguments are now supported from the command-line in to the script via
--argument=value
. This helps testing and enables scripts to utilize archinstall example installations (minimal and others will get an overhaul soon too). Partition()
has a lot of new additions, mainly safety features and a bit of re-work to support more complex partition layouts.target_mountpoint
which sets the desired mount point once the partition is formatted and complete.allow_formatting
(Bool) dictates if the archinstall formatter is allowed to touch the partition or not. By default all partitions are set toFalse
which ensures that for instance Windows partitions is left untouched. This protection can be overridden byBlockDevice().keep_partitions = False
which tells archinstall that it's ok to wipe all partitions no matter what individual partitions dictates.Partition()
now auto-mounts ifmountpoint
is given, which is not to say the same astarget_mountpoint
which is post-formatting.Partition()
will now correctly identify itself as encrypted by checking its file system during initialization, which will trigger additional user input / library actions depending on certain conditions.Partition()
is now sortable among other partitions (and strings), based on the full path name of itself..detect_inner_filesystem()
a helper function that will attempt to detect any inner file systems automatically by decrypting the partition using any supplied password..has_content()
will mount the partition to a temporary location and check if there's any content inside that temporary mount location. Useful to check if/boot
has content for instance..safe_to_format()
will return a bool depending on some criteria. If.allow_formatting
isFalse
for instance, then.safe_to_format()
will also returnFalse
..encrypt(*args, **kwargs)
is a helper/wrapper around setting up and callingluks2().encrypt(*args, **kwargs)
..format()
has some new safety checks/features implemented to avoid accidental formatting..unmount()
(.umount
is an alias) will attempt to unmount the partition..filesystem_supported()
is a new helper function that will format the partitions selected file system against/dev/null
to determine if the format is supported, or if the selected file format isn't supported by archinstall.
Filesystem()
has been re-worked quite a bit to incorporate some new partition flexability. It now supports existing partition schemes by simply honoring what flags are set inPartition()
. But some new features, logic and flags are:- Will now check
self.blockdevice.keep_partitions
, and ifFalse
will initiate a new disk label wiping any existing partitions. .find_partition(mountpoint)
will iterate the partitions for the selected drive and find any partition with the given mount point and return that partition..use_entire_disk()
have been re-worked completely to accommodate a new way of formatting. This function instead of actually formatting, will simply create a file system definition, and mark the partitions as ready to be formatted and set the protective flags accordingly. And if encryption is specified, will mark the correct partitions as encrypted triggering further actions later on in the library calls.
- Will now check
disk.py
also hasget_mount_info(path)
to get information based on a mount-pointdisk.py
also hasget_filesystem_type(path)
which will return a single string representing the file system on that patharchinstall.exceptions.SysCallError
now has a property that can be fetched during atry/catch
, which iserr.exit_code
which might be useful to debug/set actions depending on a syscall that exits as non-zero.JSON_Encoder
now properly creates a copy of dictionaries rather than replacing keys in the existing dictionary (the old behavior would overwrite keys and values, causing confusion with the benefit of being more memory conservative)luks2()
now has some additional parameters,key_file
andauto_unmount
. The key-file is just to avoid hard-coded locations for key-file lookups. Andauto_unmount
will automatically close the encrypted partition once the__exit__
function is called..mapdev
is also a new property which holds the location of the luks mapper device created duringcryptsetup open
.- If the partition is being used when we try to call
.encrypt()
,luks2()
will now attempt to close the device as well as unmount the location where it's mounted and then re-run the.encrypt()
call. - Any partition within the encryption will inherit safety-flags once the partition is unlocked. This means if the encrypted partition
/dev/sda2
is selected for formatting, then so will/dev/sda2 -> /dev/mapper/luksdev
as an example. .format()
is a helper function that will attempt to runcryptsetup -q -v luksErase
on the encrypted partition.
log()
will now default toLOG_LEVELS.Info
if nothing else is specified.Profile()
will now remember the initilization-namespace given, and.load_instructions()
can overwrite the namespace during loading of instructions to circumvent potentialif __name__ == "filename"
logics. But onceProfile().install()
is called, the original namespace is restored in favor or triggering thoseif __name__ == "filename"
again.Profile()
also has a new helper function called.has_prep_function()
, which will returnTrue
if thereis adef _prep_function()
defined in the profile - butif __name__ == 'moduleName'
also has to be defined for this helper function to returnTrue
. This to avoid "stray code" to be executed when we try to callprofile._prep_function()
in isolation.Application()
now also resets the namespace prior to executing.install()
.lib/user_interactions.py
have gotten quite a few new helper functions:get_terminal_height()
andget_terminal_width()
which returns what it sounds like, the size of the current terminal in terms of character columns and character lines.get_longest_option()
which returns the longest length of any given option within a list.get_password()
which is a helper function to get a password with verification from the user #106print_large_list()
which enables columinzation of largers sets of options courtesy of @ninchester and fixes #81.ask_for_superuser_account()
which asks for a single super-user account and has aforce=True
option to enable sticky-asking.ask_for_additional_users()
now asks to create additional users and have the ability to ask and determinate and distinguish between normal users and superusers.ask_for_a_timezone()
can ask and verify selected time zones.ask_to_configure_network()
Now contains questions and options surrounding network configuration. This supports the option to copy existing configurations as well as configuring a specific interface for DHCP or static IP configuration.ask_for_disk_layout()
will ask if the user wants to abort, keep an existing partition layout of wipe the entire driveask_for_main_filesystem_format()
will ask which file system to use for the root partition/
, asking from a hard coded set of file systems.
- examples/guided.py has been re-written more or less entirely. Most of the logic is the same and in the same order. The key differences being that the example now has the steps in functions and they are in order of execution. It also supports arguments via
archinstall.arguments
which translatespython guided.py --argument=value
intoarchinstall.arguments['argument']
. It also has a completely re-written partitioning logic to support more flexible partitions. - The profile
awesome
has been slimmed down further.
Bugs and fixes
set_timezone
now properly removes any existing timezone that might be default in the installation #64.set_locale()
no longer adds encoding in thelocale
string, since that's another parameter to set_locale()- Although not as clean as I would want it, this first generation fix enables encrypted partitions using file formats other than btrfs by setting up
mkinitcpio.conf
"properly". In the future, I wish to not overwrite the config as it might interfere with future default Arch Linux changes. But for now this should work. add_bootloader
no longer defaults to a configuration file calledarch.conf
, which worked great in older versions of archinstall where flexability wasn't really that important. But since we now support multiple partiton layouts and...
v2.1.2-rc3
This is a release candidate meant for testing purposes only.
Below is a short list of things that has been crossed off from the v2.1.2 release so far.
- Partitions should have more flexible file system options
- Create a helper function for getting credentials input
- Install dhcp client by default (or warn about not having a dhcp/static ip configured)
-
Support an already installed system - Add option to support time zones
- Multi boot support
- Improve selecting from large lists
-
Profiles should be able to trigger additional (non default) kernel boot params -
BTRFS subvolumes to support tools like Snapper with rollbacks etc.
(More in-depth detail on all the changes will follow on the actual release day of v2.1.2, since some changes sneak in as bonus features).
v2.1.2-rc2
This is a release candidate meant for testing purposes only.
Below is a short list of things that has been crossed off from the v2.1.2 release so far.
- Partitions should have more flexible file system options
- Create a helper function for getting credentials input
- Install dhcp client by default (or warn about not having a dhcp/static ip configured)
- Support an already installed system
- Add option to support time zones
- Multi boot support
- Improve selecting from large lists
- Profiles should be able to trigger additional (non default) kernel boot params
- BTRFS subvolumes to support tools like Snapper with rollbacks etc.
(More in-depth detail on all the changes will follow on the actual release day of v2.1.2, since some changes sneak in as bonus features).
v2.1.2-rc1
This is a release candidate meant for testing purposes only.
Below is a short list of things that has been crossed off from the v2.1.2 release so far.
- Partitions should have more flexible file system options
- Create a helper function for getting credentials input
- Install dhcp client by default (or warn about not having a dhcp/static ip configured)
- Support an already installed system
- Add option to support time zones
- Multi boot support
- Improve selecting from large lists
- Profiles should be able to trigger additional (non default) kernel boot params
- BTRFS subvolumes to support tools like Snapper with rollbacks etc.
(More in-depth detail on all the changes will follow on the actual release day of v2.1.2, since some changes sneak in as bonus features).
v2.1.1
New features
- Now supports configuring wifi by copying the current ISO/live-medium
iwd
configuration if one was set up before the installer was started #82 - man pages can now be built using
cd docs/ && make man
. This has two additional dependencies:- python-sphinx
- python-spinx_rtd_theme
systemd-networkd
,systemd-resolved
andiwd
are now dynamically installed depending on which network configuration the user chooses to install (or opt out from). #82 (Thanks to @grazzolini for correcting some of my logic and making this one work perfectly)- KDE now has a Wayland profile called
kde-wayland
. (Thank you @AdvaithM for this development) - Archinstall now supports the filesystem XFS (Added by @AdvaithM)
- Archinstall now supports the filesystem F2FS (Added by @reid) #90
- Logging is now done in
/var/log/archinstall/install.log
and will be mirrored between the ISO and the install medium uponarchinstall.Installer().__exit__
. #56 - New function to detect if UEFI or BIOS is booted via
archinstall.hasUEFI()
#44 #96 - New function to detect if WiFi exists on a hardware level via
archinstall.hasWifi()
#44 #82 #96 - New function to detect if a certain graphics card exists on a hardware level via
archinstall.hasNvidiaGraphics()
,archinstall.hasAmdGraphics()
,archinstall.hasIntelGraphics()
#44 #96
Bugs and fixes
- Fixed docs (mainly links f48e5d5 and layout for manpages) #78
- Fixed KDE which relied on
xorg-xinit
instead ofsddm
#83 (Shoutout to @AdvaithM for this one) - Some spelling issues 627deb7 (Shoutout to @J-James for that one, I know it's minor but worth it)
- Corrected the file format labling of
archinstall.Partition()
forext4
partitions. #88 (Spotted by u/parkerlreed on reddit starting out as a light joke, turns into bug) terminus-font-otb
changed upstream to justterminus-font
inawesome
-profile. 73191b9- The
awesome
-profile has been slimmed a bit further to remove unnecessary packages. 9a94a63 - Logging in general have been looked over, some more details have been added as well as output fixed #94
- PKGBUILD's have moved location in #97
- Fixed proper
raise RequirementError
inguided
installer when required steps were skipped #86
Honorable mentions:
- (pre-release feature)
archinstall.wirelessScan(interface)
will initiate a wireless scan usingiwctl
- (pre-release feature)
archinstall.getWirelessNetworks(interface)
will retrieve available wifi networks in the area usingiwctl
Both these two functions will later be converted intodbus
messages/events mentioned in #82
v2.1.0
Marking a milestone by bumping the version to v2.1.0, the milestone being commits and releases are now signed with PGP keys.
As per normal, below follows some changes and updates.
Bug fixes
- #67 Encryption issues with NVME (to quick to encrypt) has now been fixed. The solution was (at least for now) to add a 25 millisecond delay to the
.add_partition()
function, where it will keep delaying until the partitions of the device changes from the original state. There's a slight risk here that this might have some weird edge cases where the disk had identical partition setup before the formatting. So there's a grace period of 10 seconds. But the long term solution would be to check the partition list after wiping it - and then do the check. - genfstab was incorrectly called since piping doesn't work seamlessly in
Popen()
and has been done so for a while. It hasn't caused any alarming concerns, but it was best to update according to the installation manual. Especially since supporting custom mounts etc becomes more convenient and supported in the installer. - Fixed an issue with
sys_command
where some but not all commands would get their output garbage collected by the.strip()
. To my knowledge, there's very few commands that has had any issues, and in those cases they have been remedied in another way - which is perhaps a bit lazy. Sosys_command
is now fixed (but should be looked over further).
New features
- Added a
archinstall.harddrive([size], [model], fuzzy=False)
which can be used to select/find harddrives based on their model or size,fuzzy
allows to be slightly off on the model or size (be careful when using fuzzy if disks are nearly identical in size).
(This change also requiredBlockDevice()
to contain the model name in the internal.json()
helper function) installation
instance (the current installation being performed) now contains a.mount(partition, relative-mountpoint)
that can mount a partition "inside the installation" *(by prepending the installation mountpoint, usually/mnt
automatically). This simply makes mounting partitions for/to the installation a bit more intuitive, as it's implied that it's for the installation - which was set up with a root mount point to begin with. It just ensures that we don't accidentally mount anything outside the installation when it in fact was meant for inside the installation.