Adriaan de Groot
04e93f513c
[libcalamares] Always use the calamares::kpmcore library
...
When KPMcore is present, the calamares::kpmcore wraps that
and provides suitable API detection. If KPMcore is not
present, the same interface library provides -DWITHOUT_KPMcore.
2022-07-19 11:41:01 +02:00
Adriaan de Groot
eef3bb19d3
Merge pull request #2011 from calamares/improve-kpmcore
...
Fix kpmcore detection and compilation on Debian-11
2022-07-18 23:23:32 +02:00
Adriaan de Groot
64eed3a40c
CI: remove nonsense CMake flags
2022-07-18 23:17:08 +02:00
Adriaan de Groot
10da2c257d
Merge pull request #2009 from calamares/issue-1940
...
[libcalamares] Remove translation-languages define
2022-07-18 23:03:22 +02:00
Adriaan de Groot
c49d520d3d
Merge pull request #2020 from dalto8/zfsfix3
...
[partition] Fix encryption being shown when not available
2022-07-17 23:08:26 +02:00
Adriaan de Groot
650bddae63
Merge pull request #2007 from calamares/issue-1438
...
Use `${}` everywhere instead of `@@`
2022-07-17 23:01:25 +02:00
dalto
250678627a
[partition] Apply format
2022-07-17 14:53:11 -05:00
dalto
56e37d0abb
[partition] Fix encryption being shown when not available
2022-07-17 14:16:42 -05:00
Adriaan de Groot
bb0a2d3bd4
Changes: stray space in the 3.2 changelog
2022-07-14 10:15:28 +02:00
Adriaan de Groot
eccfdbd986
[libcalamares] Mark a TODO that is causing build failures
2022-07-10 13:38:48 +02:00
Adriaan de Groot
3360ad612e
[libcalamares] Use Calamares interface-library to kpmcore
2022-07-10 13:38:48 +02:00
Adriaan de Groot
fb620464d7
CMake: create an alias for KPMcore that fixes its interface
...
- kpmcore (when used as target "kpmcore") has an interface
include directory that does not contain the "kpmcore/"
subdirectory. But the headers it has installed, assume it
is there (e.g. kpmcore internals use #include <fs/filesystem.h>).
- add an alias at Calamares level that sticks in some more
includes, adds the relevant WITHOUT_kpmcore when it's
not there, etc.
2022-07-10 13:38:48 +02:00
Adriaan de Groot
ab813b607f
CMake: move kpmcore support into the helper-CMake-module
...
- find the dependencies just once
- fix the interface for kpmcore so it can find its own
includes (this is mostly relevant for Debian)
2022-07-10 13:38:48 +02:00
Adriaan de Groot
0e6d70c395
[services-systemd] Ungroup systemd units
2022-07-10 12:52:40 +02:00
shivanandvp
27c187084b
fix: Check for name key based on comments on PR
2022-07-06 20:01:50 -05:00
shivanandvp
781ced1a59
feat: feat: Ungroup systemd units in services-systemd module
2022-07-05 23:08:43 -05:00
Adriaan de Groot
8f3ac6e00b
Merge pull request #2010 from calamares/accept-esperanto
...
Remove special case for Esperanto
2022-07-03 12:34:53 +02:00
Adriaan de Groot
24652abe8a
CI: another stab at PR notifications
2022-07-03 00:28:38 +02:00
Adriaan de Groot
6e950cf49c
CI: update translation-fetching to remove Esperanto special case
2022-07-03 00:15:56 +02:00
Adriaan de Groot
4935da8fe4
CMake: support Esperanto
...
Since the minimum Qt version is 5.15.0, we always have a version
that can support Esperanto in QLocale, so drop the checks.
2022-07-03 00:14:35 +02:00
Adriaan de Groot
170a5a8697
[libcalamares] Factor out the list of translations
...
The list of translation codes lives in one place, make it accessible
through a function in Calamares::Locale.
2022-07-03 00:05:40 +02:00
Adriaan de Groot
18a3092aa1
[libcalamares] Use namespace Calamares
...
The distinction CalamaresUtils and Calamares is old-fashioned,
since we can use nested namespaces (and already do) for a lot
of things; make libcalamares/locale/ a bit more consistent
by using namespace Calamares::Locale for everything.
2022-07-02 23:19:44 +02:00
Adriaan de Groot
d7e35d2ad2
[libcalamares] Use newly-generated table of language names
2022-07-02 23:19:44 +02:00
Adriaan de Groot
f53f83be56
CMake: create header with available languages
2022-07-02 23:19:44 +02:00
Adriaan de Groot
42f4cdd40c
CMake: remove redundant comments (they're at top-level too)
2022-07-02 22:37:52 +02:00
Adriaan de Groot
f5891e1c8c
CI: try to get useful notification from pull request change
2022-07-02 22:33:22 +02:00
Adriaan de Groot
2322f12b59
[libcalamares] Remove translation-languages define
...
This doesn't compile, since it doesn't provide any replacement
for the translations define.
2022-07-02 17:42:02 +02:00
Adriaan de Groot
c03850a302
CI: notify on pull-requests
2022-07-02 17:19:11 +02:00
Adriaan de Groot
66002f375c
[bootloader] Don't use @@ replacements
...
SEE #1438
2022-07-02 16:49:19 +02:00
Adriaan de Groot
3d901637d1
[preservefiles] Use ${} expansion instead of @@
...
SEE #1438
2022-07-02 16:49:05 +02:00
Adriaan de Groot
a7b3ccf198
[oemid] Use consistent ${} substitution
...
SEE #1438
2022-07-02 16:08:48 +02:00
Adriaan de Groot
f8a845d996
[users] Use DictionaryExpander instead of raw KMacroExpander
2022-07-02 15:56:59 +02:00
Adriaan de Groot
273941f451
[libcalamares] Add convenience for building macro-expanders
2022-07-02 15:56:21 +02:00
demmm
010ab08384
Merge pull request #2004 from demmm/calamares
...
[webview] remove broken & unused module
2022-07-01 18:39:37 +02:00
demmm
2d9d65f33c
[webview] remove broken & unused module
...
adjust settings.conf to replace webview example & entries
this fixes https://github.com/calamares/calamares/issues/2003
2022-07-01 18:00:21 +02:00
Adriaan de Groot
b4c23b8b70
[users] In tests, adjust failure expectations
...
Some distro's let the user change the hostname at will;
others don't, and yet others don't have systemd to change
the hostname with at all. Check if we **can** change the
hostname (as a non-root user), before setting expectations.
2022-06-28 23:50:56 +02:00
Adriaan de Groot
6a9d9700d4
[grubcfg] Avoid crashes in tests
...
- remove "bogus" key when it's not needed
- check for existence of "branding" key in GS before
subscripting it (this happens in tests, where no
GS contents are loaded, but not in regular use,
where startup loads the branding data into GS)
2022-06-28 23:41:17 +02:00
Adriaan de Groot
0688c7f4e7
CMake: target kpmcore doesn't exist elsewhere, so check was failing
...
Consumers of calapmcode couldn't tell if KPMcore was found.
Pass it around as a property of calapmcore, rather than
anything else.
FIXES #2026
2022-06-28 00:12:33 +02:00
Adriaan de Groot
f42f2514cb
CMake: simplify the KPMcore helper
2022-07-21 13:19:19 +02:00
Adriaan de Groot
09ed07b0c8
[luksopenswaphookcfg] Merge pull request #2025 from demmm/calamares
...
Duplicate key ends up in the configuration file.
FIXES #1659
2022-07-21 01:08:51 +02:00
demmm
f30d568f10
[luksopenswaphookcfg] fix for https://github.com/calamares/calamares/issues/1659
2022-07-20 20:22:04 +02:00
Adriaan de Groot
0c79418393
Changes: mention the -alpha1 release
2022-06-27 23:54:12 +02:00
Adriaan de Groot
b0f86d9fb6
Changes: DBus activation was a mistake, now reverted
2022-06-27 23:53:04 +02:00
Adriaan de Groot
3b08ace966
Changes: mention more module-config changes
2022-06-27 23:52:13 +02:00
Adriaan de Groot
ee848e2367
[libcalamares] About box should show extended version if available
2022-06-27 23:48:03 +02:00
Adriaan de Groot
9d593a2a90
[services-systemd] Repair schema
...
No # in IDs (see *netinstall* schema for explanation).
2022-06-27 23:19:26 +02:00
Adriaan de Groot
208e7736e6
[welcome] Repair example config file
...
Needs quotes for boolean values that are really names.
2022-06-27 23:19:07 +02:00
Adriaan de Groot
bb05deca33
[netinstall] Repair schema IDs
...
The schema is considered invalid by **some** versions of
configvalidator (or rather, the underlying jsonschema):
```
128: '#definitions/groups' does not match '^[^#]*#?$'
128:
128: Failed validating 'pattern' in metaschema['properties']['definitions']['additionalProperties']['$dynamicRef']['allOf'][0]['properties']['$id']:
128: {'$comment': 'Non-empty fragments not allowed.',
128: '$ref': '#/$defs/uriReferenceString',
128: 'pattern': '^[^#]*#?$'}
```
Remove the `#` from the IDs.
2022-06-27 23:12:31 +02:00
Adriaan de Groot
cdbc7fffca
[mount] Repair test-config files against schema
...
- can't use *bogus* as a key unless that's allowed by
the schema -- and it is not.
- can't supply empty config if there is supposed to be
an object there.
This makes it a little difficult to allow a config-file
that is actually no-configuration-at-all (or only-defaults).
Put in values for *btrfsSwapSubvol* since it isn't a fragile
setting.
2022-06-27 23:04:12 +02:00
Adriaan de Groot
d797aea311
[grubcfg] Repair typo in schema key
2022-06-27 23:00:13 +02:00