Commit Graph

12192 Commits

Author SHA1 Message Date
Jakob Petsovits
c21ca79777 [libcalamares] Block sleep with systemd/CK login manager if present
Calamares running as root is not always conducive to successfully
communicating with the fd.o PowerManagement interface on the user
session bus.

The login manager interface has long provided a similarly capable
sleep inhibition functionality, which at this point would be present
on the vast majority of distributions. Use it if systemd-logind
or ConsoleKit2 have registered this service on the system bus.
Regardless of running as root or user, Calamares shouldn't have
an issue contacting this interface.

Fixes #2384
2024-12-16 09:35:05 +07:00
Philip Mueller
363c02faba Release v3.3.12
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQRtmLmVocps5LuQZRjHqjN9+hOIHgUCZz+5vgAKCRDHqjN9+hOI
 Hth+AQD/GwVRmPACOgldmMOr1ONSJKyoGG8mmbBWX97Yo/GgWwEArFMgmewBvP9j
 cJseKirQdQZuS5jIuYA6fdjK/uECIgw=
 =iXFF
 -----END PGP SIGNATURE-----

Merge tag 'v3.3.12' of https://github.com/calamares/calamares into 3.3.x-stable

Release v3.3.12
2024-11-22 06:51:07 +07:00
Adriaan de Groot
9cc4cb356f CMake: repair KPMcore helper for KF5 (legacy) case 2024-11-21 23:42:39 +01:00
Adriaan de Groot
c83aa1da70 Changes: pre-release housekeeping 2024-11-21 22:53:17 +01:00
Adriaan de Groot
6a31e30cbf CMake: repair KDE Frameworks 6 dependencies
Be a little more chatty and look for the correct KDE Frameworks
for consumers of Calamares (e.g. calamares-extensions).
2024-11-21 22:50:44 +01:00
Adriaan de Groot
3614fd003d [users] Ensure UMASK= gets a leading 0 if needed 2024-11-11 00:34:53 +01:00
Adriaan de Groot
a93dc7740c [users] Expand test coverage with numeric value 2024-11-08 22:28:45 +01:00
Adriaan de Groot
f6e39aac52 Changes: post-release housekeeping 2024-11-07 23:09:21 +01:00
Philip Mueller
870b137bfc [postcfg] add workaround for BTRFS bug 2024-11-07 19:13:05 +07:00
Philip Mueller
a0e4323063 Release v3.3.11
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCAAdFiEESUdADzdGoDiQC7F4Mo10LYgHpDUFAmcqM4gACgkQMo10LYgH
 pDXG1Qv/bRC7Xh2sE94unbRnSUTHtHyyyRegaNfSmkECAEr9jUZ+YxuTLs7USAML
 iT7MhvPKB2fuPAgeu6LoANPiqpmV3yj9eODKWnkcDi/u5DiFdk/BebCO1nC3+hMX
 bZOKABuEJWbSoEHRzv+Hc95PJ/842fGHQO+YXyGbyCsxOuQ0mPe4AC0iBxi5ru8X
 ZCR7mn8Xj2x/HrV3yw9pNhEia7W/peD8MkRN1l2rgWn5+nsV7DKp09O+3jnEJRob
 iFDyfBMkjd0NzGFx8+MviUARSm7ZMNEa1m+3Vdkd87evWUtz11t+jTjGp9vkUCQA
 REqmgtvnCJEAys7/TZWkUZUs3BjiNq7D/xQ2e6hk0NgtaKR2DYj51VklpbUQKF4L
 kg8zhcFz3SniLEbBISlNvf8Ad3gzQfIil2PSrRTcrsWYKjaE84mdOJhiQodJ1nDC
 BTA4vfYVoWvFupJTvKdE6w7lJJX3v+PvXF/i2TQjECNtG88Bg3m+aMMO61yD8I9u
 Iro5sQo5
 =zpRH
 -----END PGP SIGNATURE-----

Merge tag 'v3.3.11' of https://github.com/calamares/calamares into 3.3.x-stable

Release v3.3.11
2024-11-06 08:36:44 +07:00
Adriaan de Groot
5ec934d331 Changes: pre-release housekeeping 2024-11-05 15:53:24 +01:00
Adriaan de Groot
3008260bb2 [unpackfsc] Import unpackfsc module from Calamares-extensions
This does some of the same things that unpackfs does, but
with nicer progress reporting, possibly it is faster.
It does not use rsync, so it might not be a drop-in replacement
for unpackfs.

Instead of having one configuration file with multiple items,
each unpackfsc instance unpacks just one thing.
2024-11-05 15:53:24 +01:00
Adriaan de Groot
c6f429e310 [libcalamares] re-add Runner to the public API 2024-11-05 15:53:24 +01:00
Adriaan de Groot
f6b4d6db43 [contextualprocess] Use GS method for dotted lookup 2024-11-05 15:53:24 +01:00
Adriaan de Groot
05bc0cbb09 [libcalamares] Make other tests more resilient
Use the full path to the test file, rather than assuming the test
is run from the build-directory. Repair check that looked at
the number of keys in the test-file, now that a new key has been added.
2024-11-05 15:53:00 +01:00
Adriaan de Groot
8a095504c4 [libcalamares] Add nested (dotted) key lookup for GS 2024-11-05 14:50:20 +01:00
Adriaan de Groot
3f4d2c8040 Changes: credits for recent fixes 2024-11-05 13:41:21 +01:00
Adriaan de Groot
2bde5af133 [unpackfs] Rename 'include' to 'condition'
Avoids ambiguity with 'exclude' which is passed to rsync.
2024-11-05 13:38:29 +01:00
Adriaan de Groot
6c33240ad0
Merge pull request #2390 from lubuntu-team/lubuntu/conditional-unpackfs
Add include keyword for unpackfs
2024-11-05 13:11:35 +01:00
Simon Quigley
9a658a20fa Fix a syntax error in Presentation.qml which prevents the slideshow from displaying 2024-11-04 23:27:14 +07:00
Jakob Petsovits
a3f2a56b40 [partition] Use the same last sector for root vs. swap partitions
If we have already determined that `lastSectorForRoot` should be
a lower value for GPT tables, the calculation of swap partition
boundaries shouldn't keep using `dev->totalLogical()` for its
own size.

Fixes #2367
2024-11-04 23:27:00 +07:00
dalto8
72e3945d09
Merge pull request #2392 from jpetso/work/jpetso/fix-2367
[partition] Use the same last sector for root vs. swap partitions
2024-11-04 14:30:55 +00:00
Adriaan de Groot
709e6c64b1
Merge pull request #2391 from lubuntu-team/lubuntu/presentation-qml-fixes
Fix a syntax error in Presentation.qml which prevents the slideshow from displaying
2024-11-04 00:32:02 +01:00
Jakob Petsovits
51c773c3f9 [partition] Use the same last sector for root vs. swap partitions
If we have already determined that `lastSectorForRoot` should be
a lower value for GPT tables, the calculation of swap partition
boundaries shouldn't keep using `dev->totalLogical()` for its
own size.

Fixes #2367
2024-11-01 21:08:11 -04:00
Simon Quigley
93f1090204 Fix a syntax error in Presentation.qml which prevents the slideshow from displaying 2024-10-30 22:08:21 -05:00
Simon Quigley
80841b1a29 Add include keyword for unpackfs 2024-10-30 22:06:14 -05:00
Philip Mueller
cd6d6a4f08 Release v3.3.10
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQRtmLmVocps5LuQZRjHqjN9+hOIHgUCZxf/FAAKCRDHqjN9+hOI
 HpNfAQCRQgTxRNHHB2Jpb9Gzoh04usmGahHfx2NfQVlzsR/23wD7B/R2AqNUdSmx
 9nP8KpM6hBMY6O2yeh5wyQGMUAat/wg=
 =0C4X
 -----END PGP SIGNATURE-----

Merge tag 'v3.3.10' of https://github.com/calamares/calamares into 3.3.x-stable

Release v3.3.10
2024-10-23 08:20:23 +07:00
Adriaan de Groot
4cd1f0f402 Changes: post-release housekeeping 2024-10-22 21:53:35 +02:00
Adriaan de Groot
16cb360a69 [libcalamares] Don't write out pragmas by hand, use Qt helpers 2024-10-22 21:24:23 +02:00
Adriaan de Groot
f4d62f0f41 [locale] Repair tests
It is unclear how this could have worked previously:
the only code path through currentLocationStatus()
checks the pointer, also.
2024-10-22 21:14:38 +02:00
Adriaan de Groot
35aa975a74 Changes: mention new possibilities in users module 2024-10-22 17:41:57 +02:00
Adriaan de Groot
c68c3632cc [users] Expand tests and repair newly-acceptable cases 2024-10-22 17:41:57 +02:00
Adriaan de Groot
4ac0529d1c [users] Explain new permissions possibilities in config 2024-10-22 17:41:57 +02:00
Adriaan de Groot
c9e9043e9d [users] Expand configuration-parsing for home-permissions 2024-10-22 17:40:08 +02:00
Adriaan de Groot
206dfce409 [libcalamares] Add an "rwx" mode for permissions (and tests) 2024-10-22 17:35:13 +02:00
Adriaan de Groot
d1dece4473 [libcalamares] Expand file-permissions to allow leading 'o' 2024-10-22 17:31:30 +02:00
Adriaan de Groot
7842d03ef6 [libcalamares] Add an "integer-like" predicate for variants 2024-10-22 17:31:30 +02:00
Adriaan de Groot
69e3e493de [users] Avoid compiler warning on FreeBSD (where umask is unused) 2024-10-22 17:31:30 +02:00
Adriaan de Groot
b485bfea07 Changes: pre-release housekeeping 2024-10-21 21:36:09 +02:00
Adriaan de Groot
1814b7fd41
Merge pull request #2376 from ArrayBolt3/calamares
Partition module fixes for encryption checkbox
2024-10-21 21:34:11 +02:00
Calamares CI
08f34835d5 i18n: [calamares] Automatic merge of Transifex translations 2024-10-21 21:28:29 +02:00
Calamares CI
97cc2413ff i18n: [python] Automatic merge of Transifex translations 2024-10-21 21:03:14 +02:00
Calamares CI
8ee1da93ce i18n: [calamares] Automatic merge of Transifex translations 2024-10-21 21:03:13 +02:00
Aaron Rainbolt
fe124b0e1e
[partition] Only apply preCheckEncryption to the encrypt widget once 2024-10-02 11:17:34 -05:00
Aaron Rainbolt
cc96e65787
[partition] Always update EncryptWidget's m_state when updateState is called 2024-09-25 18:02:16 -05:00
Adriaan de Groot
cbe39e1324 [users] Repair example configuration 2024-09-23 23:42:27 +02:00
Adriaan de Groot
09a3f58800 [users] Add unit-test for new parsing and configuration options 2024-09-23 21:53:50 +02:00
Adriaan de Groot
e80437c9b9 [libcalamares] Make permissions-parsing public API 2024-09-23 21:53:50 +02:00
Adriaan de Groot
ad4064456b Changes: mention new users setting 2024-09-23 21:53:50 +02:00
Adriaan de Groot
8c8bb7a3df [users] Pass the home permissions to useradd 2024-09-23 21:53:50 +02:00