Commit Graph

4311 Commits (e4bda546cf302aa55dba00ec1b245015b0c7e181)
 

Author SHA1 Message Date
Adriaan de Groot e4bda546cf [bootloader] factor our EFI-platform-bitness discovery
Adriaan de Groot cbd62fbeb1 Merge branch 'master' into secureboot
Calamares CI 1dc11a9d5d i18n: [python] Automatic merge of Transifex translations
Calamares CI 51b50b9366 i18n: [dummypythonqt] Automatic merge of Transifex translations
Calamares CI febe597387 i18n: [desktop] Automatic merge of Transifex translations
Calamares CI 96b1f1cfbc i18n: [calamares] Automatic merge of Transifex translations
Adriaan de Groot 50dea6ded3 [interactiveterminal] Make optional if requirements not met
This is orthogonal to the SKIP_* mechanism already documented
for avoiding modules. If the module is enabled, but its dependencies
are not present, don't bother building the module. This follows
e.g. plasmalnf as an "avoidably heavy dependency".

Related to a misplaced comment in ISSUE 
Adriaan de Groot 41f70975ea i18n: add Byelorussian (new translation team)
Philip fc8d961049 [ci] fix link in HACKING.md
Adriaan de Groot ce3e09318a [preservefiles] Improve failure messages
Adriaan de Groot 28a42a7230 Merge branch 'filepreserver'
Adriaan de Groot 1ad2d365f5 Merge branch 'improve-moduleloading'
This is code that was written as part of the fix-pythonqt branch,
but which isn't really PythonQt-related at all. That branch will
be abandoned soon, since it wasn't sufficiently well-thought-out
enough at the beginning.
Adriaan de Groot cdadc2f003 [libcalamares] Improve error logging during module loading
Adriaan de Groot 182458ad5a [calamares] Need a JobQueue and global storage before running any job.
The 'singleton' instances don't do a very good job of being singletons
or ensuring their own creation.
Adriaan de Groot 48771f968a [calamares] Load and execute the modules
This runs dummyprocess, at least, but the other three dummies coredump.
Adriaan de Groot 308f508c7e [calamares] Add a test-application.
This test-application should load a single module and execute it --
that can be used to quickly test configurations, loading, etc. This
is preparation for loading all sorts of Python modules by PythonQt.

The loader does some internals initialization and gets the module,
but doesn't actually run it yet.
Adriaan de Groot fdda0e14aa [libcalamaresui] Improve explainYamlException
- overloads for common kinds of label
 - improve error reporting when reading settings and branding files
Adriaan de Groot e5ca8e091f [libcalamaresui] Use refactored loadYaml
Adriaan de Groot 261c545476 [libcalamaresui] Refactor loading of YAML to QVariantMap
Adriaan de Groot f26ac63c07 [libcalamaresui] Make Python code const
- This is always loaded into the Python context, so it may as well
   be done only once.
Adriaan de Groot 45b95e1b65 PythonQt: default to enabled
- This just causes it to be enabled and used when present
   by default, rather than disabled by default (even when present).
Adriaan de Groot d3e57e9c9f [shellprocess] Expand tests
These tests run (shell) commands as part of the test; this may be
a security problem, although I've tried to do things safely.
Adriaan de Groot 87b9c42158 [shellprocess] Don't crash test
- May need to create a JobQueue before doing anything internal
 - May need to create global settings
 - Chroot always needs rootMountPath internally
Adriaan de Groot 8b00a03423 [shellprocess] Test command-substitution
Adriaan de Groot b5d900c1c6 [libcalamares] Allow a @@USER@@ replacement in commands
- Following example in preservefiles module, allow @@USER@@
   in commands (e.g. to do something specific in the home-dir
   of the new user).
Adriaan de Groot b7890d865f [preservefiles] Save GS, munge destination
- using `from: config` now writes a JSON file
 - using @@ROOT@@ and @@USER@@ in dest does a sensible
   substitution.
Adriaan de Groot ac287a0ac5 [libcalamares] Add a save() method to global storage
- This is a quick way to dump GS to JSON, which is useful
   for the preservefiles module 
 - Also useful for, e.g., 
Adriaan de Groot dae84d3bb1 [users] Improve explanation of other steps of adding a user
Adriaan de Groot 745dc9ad00 Merge branch 'fix-shell'
This introduces configuration to allow switching between the
behavior noted in , and the desired behavior from PR .

For the Manjaro Openbox edition, this means they should add:
```
userShell:
```
To users.conf, while others will see the return of the previous
behavior of passing -s /bin/bash.

FIXES 
Adriaan de Groot 01ff1efc5d [users] Improve explanation when useradd fails
Adriaan de Groot 0d24c1db6c [users] Introduce userShell setting
- Add a *userShell* key, which can be left out (default, backwards-
   compatible) to retain the old /bin/bash behavior, or explicitly
   set to empty to defer to useradd-configuration, or explicitly
   set to something non-empty to use that shell.
Adriaan de Groot ed15edabf9 [users] Document passwordRequirements and code
Adriaan de Groot 3a59574128 [users] Factor out command-line to useradd
- This is prep-work for , which was caused by 
 - Original assumption was that distro's would have a working
   useradd configuration; @abucodonosor already pointed out that
   this was probably not the case, but I ignored that.
Adriaan de Groot 6aa5be192b [netinstall] Drop unused includes
Calamares CI 42d64f0630 i18n: [python] Automatic merge of Transifex translations
Calamares CI a79e62ac6b i18n: [dummypythonqt] Automatic merge of Transifex translations
Calamares CI a43b87c636 i18n: [calamares] Automatic merge of Transifex translations
Adriaan de Groot 3133e759d0
Merge pull request from bill-auger/patch-2
avoid pinging hard-coded server for netinstall.yaml
Adriaan de Groot a9306eb5be
Merge pull request from bill-auger/patch-3
move thisModule->isLoaded assert to after its warning message
bill auger b6673f6324 move thisModule->isLoaded assert to after it's warning message
bill auger d7b1811e56 avoid pinging hard-coded server for netinstall.yaml
groupsUrl is optional and should be commented out by default
also this URL is 404
also only chakra would ever want to ping the chakra server anyways
Adriaan de Groot fb94c227f6 Merge branch 'netinstall'
Adriaan de Groot ba85fc760a [netinstall] Remove data-indirection
- There is no need to move data around between two parts of the
   same module via global storage.
Adriaan de Groot 3160bd7a54 [netinstall] Simplify getting configuration
- Use convenience methods for getting bools and strings from
   the configuration map. Ignore empty groupsUrls.
Adriaan de Groot c1a6ca7629
Merge pull request from bill-auger/patch-1
consistent indentation .. It's not intended as a human-readable file (only something Qt Designer works on) but we may as well be consistent.
Adriaan de Groot 6779a44991 [preservefiles] New module preservefiles
- more flexible way to keep (all kinds of) files from the host
   system, into the target system.
 - WIP: substitutions like in shellprocess (@@ROOT@@, @@HOME@@ probably)
 - WIP: creating a JSON file from global settings
Adriaan de Groot 6c87747a5d [libcalamares] Make it possible to get the logfile name
Adriaan de Groot 5bcd6eaef8 [partition] Reduce warnings by removing unused code
bill auger 4826af97a9 consistent indentation in src/modules/netinstall/page_netinst.ui
this file has 1 space char indentation except for these lines
Adriaan de Groot 4daf5fce10 CMake: drop RC status