Age | Commit message (Collapse) | Author |
|
* flexibilize the definition of execution locale for OS commands executed via the SysCommand* interface.
Defined a storage argument which holds the default
Added functions to
unset the program own locales
reset to the program default locales
set a specific locale
A decorator to execute functions in the host locale environment
* rename decorator local_environ to host_locale_environ
created a simmetric decorator c_locale_environ, to make a routine work with the C locale whatever is set
* Correct definition of btrfs standard layout
* Added error handling
* Fixed issue where archinstall.Boot() would raise an exception in vain
* Added debugging for SysCommandWorker()
* Added some debugging
* Tweaking debug a bit
* Tweaking debug
* Adding more debug
* Adding more debug
* Removed some debugging
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Adding more debug
* Removed soem debugging
* Removed soem debugging
* Testing a revert
* Adding back the reverted change, adding lofile
* Redirecting stdout to /dev/null for testing (to avoid interrupting the fork)
* Reverted debug changes
* Testing os.system()
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
* Converted pydantic things to @dataclass definitions.
* Added import for the dataclasses
* flake8 fixes
|
|
* Migrate old input to new menu
* Fix imports
* Remove imports
* Update
* Fixed import by changing 'import archinstall', to 'from ..menu import Menu' and use Menu() directly
* Converted archinstall.<thing> to from ..where import <thing>. This enables us to use archinstall as a module, a git repository in testing and other things without having to install archinstall as an actual module.
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
|
|
* Fixed SysCommandWorker() so that it removes ANSII VT100 escape codes. I also moved package.py into it's own folder, as that's something I want to expand on a lot, so package related stuff should go in there. I created a installed_package() function which gets information about the locally installed package. I changed so that find_packages() and find_package() returns a data-model instead for the package information. This should unify and make sure we detect issues down the line.
* Working on structuring .version constructor that works with BaseModel
* Added version contructors to VersionDef(). Also added __eq__ and __lt__ to LocalPackage() and PackageSearchResult().
* removed debug and added a TODO
* Removed whitespace
* Removed mirror-database function from myrepo
|
|
Similar to GNOME, qtile supports a pure wayland session, so I correct the comment to reflect that.
|
|
* Added a qtile profile
* Removed unneeded packages
* Removed xorg requirement
* Removed blank lines
* applied patch to qtile profile
* Revert "Removed xorg requirement"
This reverts commit 34e87b13accfba16cd8a145e513f225de7fd86fc.
* Fixed flake8
* Added qtile to the desktop selection/options.
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
|
|
|
|
|
|
|
|
* Fixed exceptions in is_vm() and virtualization()
* Added exception handling for parted in BlockDevice.free_space
|
|
|
|
|
|
|
|
* Correct definition of btrfs standard layout
* Solving issue 923.
Standarize keyword "wipe" to signal the need of formatting a FS
* flake8 complains
|
|
|
|
context, which means SysCommandWorker() never closed the pty, hogging all system handles for it.
|
|
* Update guided.py
* Update guided.py
* Update guided.py
* Fix typo
* Format string properly; elaborate log msg
* Make change consistent to mirror-check
* Update documentation
|
|
(Tried to [generate docs](https://github.com/coveooss/json-schema-for-humans) and noticed the comma preventing that)
|
|
|
|
Added "--removable" after "--bootloader-id=GRUB" on Line 669, because it would throw an input/output error without it on my laptop
|
|
* Allow network check to be skipped
* Technically it is a mirror check - not a check for general connectivity
|
|
|
|
* Added a new return value from add_partition. Also added an exception to make sure `add_partition` can't continue silently
* Added a log of debugging to add_partition
* Removed a blank line (flake8)
* Misconfigured variable
* Added some more debugging information to partprobe
* FIX: disk layout: partprobe should be called and checked only for target device (#896)
* disk layout: partprobe should be called and checked only for target device
* disk layout: partprobe: removed unnecessary bash subprocess
* Properly defined BlockDevice() on Partition() creation. Also made sure mount-checks got some rrro handling and non-block devices should no longer attempt to return a size
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Victor Gavro <vgavro@gmail.com>
|
|
* Make text for getting filesystems more grammatically correct
Use 'Retry attempt {count} of 10.' instead of Waiting for the {count} time". It's more grammatically correct since we're not doing '1st', '2nd', etc.
* Maybe mention waiting still
|
|
device (#896)
* disk layout: partprobe should be called and checked only for target device
* disk layout: partprobe: removed unnecessary bash subprocess
|
|
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
|
|
|
|
some references to archinstall.storage turned to archinstall.arguments
|
|
Disable zswap when using zram.
The swap device is now initialised before the bootloader, inline with the
installation guide.
|
|
|
|
* Solves issue #873 (error by key sys-language
Now disk_layouts file contents are loaded before calling the menu
* Solves issue #873 (error by key sys-language. Solution in previous commit was still too restrictive
|
|
* Install.__init__ parameter kernel as a list everywhere.
I've dropped the string check, as it shouldn't happen again, and it's good that it fails, when it happens
* Global Menu now loads in the arguments dict all options enabled with default value and no manually selected (issue #868)
|
|
|
|
|
|
|
|
|
|
* Created a save_user_configurations
This should avoid accidental placement of individual json outputs in a way that some doesn't get saved before installation continues etc.
* Was looking for disk_layouts in the wrong place.
* changed numerous other references to disk_layouts looking in the wrong place.
|
|
.format() is called
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* recreate generic_select and generic_multi_select functions
* flake8 complains
* Addressed some review issues
-> Options checks propagated to Menu(()
-> Options parameter inmutable at Menu()
-> Some text adapted
-> Sort will be handled by Menu()
-> Better handling of default value
* Solved the two problems found:
lack of list(dict.[keys/values] and impact in copy()
sideffects of renaming menu parameter options into p_options
* Now the problem of the copy was with a generator
* Add a log message whenever an "strange" object type is sent into Menu
* Validation of types has been streamlined.
Default values are now accesible to generic_select without restriction
|
|
When using archinstall on an existing Arch Linux installation, (e.g. for
migrating the current system on a new drive), no exception is raised if
mkfs.vfat is missing in the base install (no dosfstools package currently
installed).
|
|
|
|
|