Age | Commit message (Collapse) | Author |
|
|
|
when required steps are skipped. And the error message is to simply restart the installer.
|
|
select a browser rather than 'forcing' one on them
|
|
terminus-font. Which is one (of probably many) fonts that is required for awesome to render text in menu's etc.
|
|
The safety mechanism prevents the installation-code under `if __name__` to run when importing to check for the `_prep_function`.
when the import for `_prep_function` check is executed it imports with a bogus `__name__` override. This is to protect anything under if `__name__` from running just to be able to import and run `_prep_function()`.
After that is done and the actual installation begins, it imports with a proper `__name__`,
The namespace is `filename` minus the `.extension` *(.py)*, normally imports of modules with dashes (`-`) in the name is prohibited, but archintall's import mechanism supports this as it's a string-import via `importlib`.
So modified to `if __name__ == 'kde-wayland'` and that worked great : )
|
|
|
|
|
|
|
|
|
|
Spell "environment" correctly
|
|
|
|
|
|
application profile.
|
|
just for the desktop environment.
|
|
|
|
`suppress_errors` was previously spelt `surpress_errors`
|
|
|
|
|
|
|
|
functionality that might otherwise be hard to understand/maintain over a long period of time. Using this in profiles/desktop.py as a test.
|
|
Also added `archinstall.generic_select` to help with selecting generic things from a list of options.
|
|
that shouldn't be in the default profile.
|
|
|
|
|
|
|
|
Also tweaked xorg to not be so intrusive when used for anything other than awesome WM. Tweaked awesome WM to accomodate this change.
|
|
|
|
|
|
|
|
installed. Still need to tweak it a bit to not be as intrusive while still giving some 'starting points' to stand on as a new user.
|
|
module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace
|
|
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
|
|
|
|
|
|
as the awesome profile, and in the future gnome and kde.
|
|
layer later)
|
|
|
|
|
|
|
|
backend API.
|
|
|
|
|
|
|
|
|
|
ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly.
|
|
archinstall.getHwAddr(ifname) which returns the mac of a interface name. second is archinstall.list_interfaces() which lists all the local MAC addresses and which interface it is bound to. Also starting to add the unattended installer back step by step. Currently with one MAC profile. The MAC profile filtering/detection has also been added in archinstall.list_profiles() - it will filter out all MAC address-specific profiles when called, unless a MAC matches a profile or filter_irrelevant_macs=False is given.
|
|
|
|
sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile)
|
|
JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff
|
|
just a mock to make sure it's working.
|