Commit Graph

615 Commits

Author SHA1 Message Date
Harald Sitter
5cfee54f28 erofs: disable tar when installing in erofs mode 2025-08-18 10:49:49 +02:00
Harald Sitter
ed1fa4105a mkdir++
otherwise the cat obviously fails
2025-08-18 10:49:23 +02:00
Harald Sitter
146cbbb6d6 turn tar based rootfs also into a feature
this way we can disable it when erofs is used
2025-08-18 10:49:08 +02:00
Harald Sitter
b9e1162609 erofs: adjust feature name a tad 2025-08-18 10:48:34 +02:00
Harald Sitter
25356040a7 erofs: make sure the feature stays on after installation
the file needs cleaning up eventually but so would all alternatives,
this is the least amount of code I think :)
2025-08-18 10:37:21 +02:00
Harald Sitter
39a565ef3f erofs: put efi addon into factory dir (makes it default for new installations)
this implicitly makes it the default for new installations because
calamares picks up all of the factory efi
2025-08-18 10:36:19 +02:00
Harald Sitter
d09be93da8 erofs: use advanced features to get a smaller image
shouldn't have much practical impact other than smaller images

dedupe would also be nice to use but unfortunately is single threaded
right now and that would cause **substantial** slow down of builds.
hours for in fact. for only about 300mb reduction :(
2025-08-18 09:38:44 +02:00
Nate Graham
4aeb642cab Don't try to autostart system-config-printer-applet
It isn't needed in Plasma; we have our own. So just delete the binary as
it isn't useful for anything.
2025-08-17 14:10:40 -06:00
Nate Graham
d4c613f804 Pre-install ipp-usb
This allows us to see post-2012 (driverless) printers that happen to
have USB ports, when connected over USB. Without this, they're only
available over the network.
2025-08-17 14:08:04 -06:00
Nate Graham
5329dc49e6 Refine comments in 40-packages-printing file 2025-08-17 14:06:42 -06:00
Harald Sitter
5ed5b5d752 yet more caibx hotfixing 2025-08-17 01:30:40 +02:00
Harald Sitter
ecf324541d vacuum: sort artifacts so they have consistent order
(and notably so erofs comes before erofs.caibx, preventing the latter
to match the match rule for the former)
2025-08-16 16:36:01 +02:00
Nate Graham
7804192518 Don't install Dolphin and Konsole from nightly flatpak repos
These are being added to the base system in
https://invent.kde.org/kde-linux/kde-linux-packages/-/merge_requests/41.

Related to https://invent.kde.org/kde-linux/kde-linux/-/issues/71
Related to https://invent.kde.org/kde-linux/kde-linux/-/issues/52
2025-08-15 20:36:14 -06:00
Nate Graham
40f651b274 Delete FFADO Mixer app
This came along for the ride with FireWire audio support, but it's
broken due to PyQt5 support not being available. Even if we fixed that
(which wouldn't be ideal as it would drag in Qt 5), this app isn't
something we want to show to users anyway. Delete it.

Resolves #242
2025-08-15 16:57:20 -06:00
Nate Graham
9f98fa5909 Group packages by category more
kde-dependencies and hw-enablement are kind of "grab bag" package lists
right now; we can group a bunch of their items into the
category-specific files instead to improve comprehensibility here.
2025-08-15 12:52:45 -06:00
Nate Graham
509a561455 Pre-install support packages for some specialty pro audio devices
Image size will increase by about 13 MB.

Related to #35
2025-08-15 08:14:12 -06:00
Nate Graham
f9b79ffdd6 Pre-install more hardware enablement packages
This is the subset of packages identified in
https://invent.kde.org/kde-linux/kde-linux/-/issues/35 that should be
uncontroversial.

Image size will increase by about 46 MB, mostly because of the
Gutenprint drivers.

Related to #35
2025-08-15 07:39:52 -06:00
Nate Graham
a01e9ec204 Hide tuned-gui app
We can keep the binary so people who want to tweak it still can, but
we don't want the .desktop file for it cluttering up Kickoff.
2025-08-14 22:53:01 -06:00
Nate Graham
b7839c04b6 Move cups and cups-browsed to 50-packages-kde-dependencies
These are explicit KDE dependencies and not specifically hardware
enablement, so put them in the kde packages file.

GIT_SILENT
2025-08-14 17:00:07 -06:00
Nate Graham
59dfed8c4d Alphabetize 60-packages-hw-enablement and refine comments
GIT_SILENT
2025-08-14 16:57:31 -06:00
Nate Graham
3835cd29e3 Revert "Remove non-existent steam-devices-git package"
This reverts commit 1fa9582b3f.

The packages is produced by the packages pipeline, so we need to install
it here or else its content never ends up in the image!

Resolves #238
2025-08-14 15:18:01 -06:00
Nate Graham
3be363ece6 Don't pre-install broken pip
It doesn't work anyway, the result of Arch disabling it which we've
inherited. If you need to get new python modules for buildy activities,
you should use containers or homebrew+venv, both of which will get you
`pip`.

Resolves #214
2025-08-14 14:26:03 -06:00
Harald Sitter
c21666a893 don't put the caibx into the shasums
it breaks matching on the erofs somehow such that systemd downloads the
caibx thinking it is the erofs
2025-08-14 22:09:09 +02:00
Harald Sitter
0f16bd594c remove test.raw on success
no need to upload a successful test image. the proper image is enough
2025-08-14 22:08:38 +02:00
Harald Sitter
3f455168d7 generate a desync index for the erofs
allows to desync... in theory anyway
2025-08-14 20:47:46 +02:00
Harald Sitter
c4a62d2971 erofs: drop duplicated flatpak data 2025-08-14 20:47:01 +02:00
Nate Graham
7de27e272d Ship Polkit rule to allow canceling an update without authentication
You can start an update without authentication, but not cancel it. This
is just weird, and likely an upstream bug:
https://github.com/systemd/systemd/issues/38568

Until that bug is resolved, work around it here.

Resolves #235
BUG: 502189
2025-08-14 10:48:02 -06:00
Nate Graham
cd3287a069 Fix some typos in comments
GIT_SILENT
2025-08-13 19:27:27 -06:00
Nate Graham
e984f8087f Pre-install icoutils and switcheroo-control
From KDE's packaging recommendations wiki page [1], so we should honor that
and pre-install them.

[1] https://community.kde.org/Distributions/Packaging_Recommendations
2025-08-13 10:09:04 -06:00
Nate Graham
39ad9aa57f Improve power management
1. Swap out power-profiles-daemon for tuned-ppd, which is a drop-in
   replacement and seems to work better.
2. Install and enable thermald, which improves power management and
   performance on Intel CPUs

Citations:
- https://fedoraproject.org/wiki/Changes/TunedAsTheDefaultPowerProfileManagementDaemon
- https://www.phoronix.com/review/intel-thermald-tgl
2025-08-13 09:16:37 -06:00
Harald Sitter
33a47832d9 btrfs-migrator: run on actually composed overlays
bit awkward but this should produce more reliably results. in particular
for flatpak the previous naive approach could easily fail because of the
ostree repo content being files or dirs depending on unknown factors,
making it super difficult to copy them reliably. by composing first we
defer that problem to overlayfs, which is how this was used in rootfsv1
anyway.

with this we also no longer need the erofs /usr mount
2025-08-12 16:52:29 +02:00
Harald Sitter
b2422a9bb1 todo-- 2025-08-12 11:53:17 +02:00
Nate Graham
917f1c79ea Make PAM less authoritarian
The defaults are currently very harsh: each failed authentication
attempt makes you wait for 3 seconds, and 3 failed attempts lock you
out of the system for 10 minutes.

These defaults are tuned for high security, but Bugzilla is full of
complaints about it from Arch users who placed the blame on KDE. These
defaults are not well-tuned for normal users in normal environments, so
let's soften them a bit to offer a less harsh experience.

Resolves #222
2025-08-07 18:27:52 -06:00
Nate Graham
564a08ee1e Add workaround for https://bugreports.qt.io/browse/QTBUG-138679
Let's not torture AMD GPU users in the meantime before this bug is fixed
upstream.
2025-08-07 14:59:16 -06:00
Harald Sitter
a81ea28726 calamares: stop creating sudoers
leave it for the tmpfiles to create
2025-08-07 16:00:58 +02:00
Harald Sitter
5b1d351629 try to manage sudoers through tmpfiles
seeing as we want to bootstrap /etc out of /usr we'll need to figure out
a way to deal with sudo reliably
2025-08-07 15:59:03 +02:00
Harald Sitter
31e7d0ccf5 migrator: drop automatic rename
this gets in the way of convenient rollback so let's keep the data
around until the user decides they want the disk space back
2025-08-07 15:34:17 +02:00
Harald Sitter
3fed60c4d5 migrator: show message while migrating 2025-08-07 15:33:43 +02:00
Harald Sitter
037e14a481 correctly handle directory
in Path the placeholders don't get expanded, so put it in MatchPattern
instead
2025-08-07 13:03:56 +02:00
Harald Sitter
6152f828a4 add an erofs efi addon
I have high hopes this will make testing easier by simply letting us opt
into the erofs feature on sysupdate
2025-08-07 10:17:17 +02:00
Harald Sitter
97c6299dcf guard against missing .erofs 2025-08-07 09:02:49 +02:00
Harald Sitter
29079ad54f comment++ 2025-08-07 08:30:20 +02:00
Harald Sitter
96dea56df3 calamares: sudoers shouod get populated on demand these days 2025-08-07 08:30:15 +02:00
Harald Sitter
b4dc9aef99 calamares: flatpak gets popualted by tmpfiles 2025-08-07 08:29:28 +02:00
Harald Sitter
23eea31d2a calamares: don't btrfs receive anymore
there is no btrfs in the raw image. it's erofs now
2025-08-06 19:13:51 +02:00
Harald Sitter
1791c8a5e5 update calamares to support rootfsv1 and erofs 2025-08-06 17:21:05 +02:00
Nate Graham
aaf7eaab85 Set CAP_SYS_NICE on kwin_wayland
Resolves #224
2025-08-06 08:05:54 -06:00
Harald Sitter
64af49d499 port live to new erofs as root
major change is that live data is now in /live (/live continues to not
appear on the final system because we selectively mount /usr only)
2025-08-06 16:00:14 +02:00
Harald Sitter
48a6689f63 drop rootflags from live efi
no longer necessary seeing as we now use the erofs as literal root
2025-08-06 15:55:52 +02:00
Harald Sitter
552bfefb0f use correct path 2025-08-06 15:26:44 +02:00