Commit Graph

989 Commits

Author SHA1 Message Date
Nate Graham
2b98820443 Move qt6-multimedia-ffmpeg to kde-dependencies
We only have it because of a few pre-installed KDE apps; make that clear
by moving it to the semantically correct place.
2026-03-14 17:30:03 -06:00
Nate Graham
531657b971 Migrate contents of 00-packages-sysinfo to more appropriate locations
Everything in here is a runtime dependency of KDE software, a hardware
enablement package, or a discretionary  userspace CLI tool. Move it all
to the files for those things.
2026-03-14 17:06:52 -06:00
Hadi Chokr
105cd5ecbc Put ~/.local/bin in PATH
Splits it out of the /opt/local MR to get this merged more easily.

Closes https://invent.kde.org/kde-linux/kde-linux/-/issues/381
2026-03-14 14:58:05 +01:00
Jonas Harer
053a8722fd Increase the timeout of the Calamares subvolume-script
30 minutes -> 1 hour; should handle slow hardware better.

Closes #513
2026-03-13 14:31:48 -06:00
Nate Graham
4cb05b277a Use DKMS version for acpi_call
This way it works with our Zen kernel.
2026-03-11 20:00:10 -06:00
Nate Graham
37232b8b25 Correct typo in zram generator
No whitespace here!
2026-03-11 19:56:18 -06:00
Nate Graham
87a7c1bca9 Pre-install acpi_call
May be needed to interact with low-level hardware for testing and
device-specific workarounds.
2026-03-11 19:54:35 -06:00
Nate Graham
0f95c40d21 Use level -4 for our Btrfs disks' zstd compression
It's amazing! We trade off an 18% lower compression ratio for 20-31%
faster compression and 30-44% faster decompression speed and an
undetermined amount less CPU usage.

Relevant benchmarks:

https://github.com/facebook/zstd:
Algorithm  Ratio   Compr.      Decompr.
----------------------------------------
zstd:1     2.883   510 MB/s    1550 MB/s
zstd:-4    2.146   665 MB/s    2050 MB/s
LZO1X      2.106   650 MB/s     780 MB/s

https://morotti.github.io/lzbench-web:
Algorithm  Ratio   Compr.      Decompr.
----------------------------------------
zstd:1     2.886   422 MB/s    1347 MB/s
zstd:-4    2.436   459 MB/s    1717 MB/s
zstd:-5    2.055   573 MB/s    1950 MB/s
LZO1X      2.101   513 MB/s     696 MB/s

Nate's computer:
Algorithm  Ratio   Compr.      Decompr.
----------------------------------------
zstd:1     2.85    394 MB/s    1343 MB/s
zstd:-1    2.33    431 MB/s    1680 MB/s
zstd:-4    2.13    507 MB/s    1881 MB/s
zstd:-5    1.94    542 MB/s    1916 MB/s
LZO1X      2.05    468 MB/s     616 MB/s
2026-03-10 16:06:07 -06:00
Thomas Duckworth
1bed0230c9 Remove the explicitly increased nofile limit
This is best practice, as per https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#Process%20Properties, and increasing the limit isn't necessary in the majority of cases.

See https://invent.kde.org/kde-linux/kde-linux/-/merge_requests/279#note_1412656
2026-03-11 07:39:48 +11:00
Nate Graham
6a7a5443c9 Fall back to zstd for incompressible zram pages
We default to lz4 which is mega fast but doesn't have the best
compression. We can get closer to having the best of both worlds by
telling the zram config to fall back to zstd for any huge pages that
lz4 couldn't compress. zstd's default level is slower but has great
compression, so it's quite suitable for this purpose.
2026-03-10 08:12:13 -06:00
Nate Graham
1a3cb82819 Pre-install udisks2-btrfs for better udisks support 2026-03-09 20:15:43 -06:00
Nate Graham
bc26293471 Pre-install realtime-privileges package to get more RT configs
We already set a few realtime-friendly settings in /etc/security and
/usr/lib/systemd, but these are not enough for truly realtime workflows
like audio creation. For these they also need adequate defaults for the
`rtprio` and `nice` values.

Arch's `realtime-privileges` package lays down a config file that gives
these to users in the "realtime" group. We don't put new users in that
group because not every user will need it, but we can at least write
some documentation around the topic.
2026-03-08 12:02:46 -06:00
Nate Graham
f7e76c777b Move git from dev conf to cli conf
It's so commonly used by experts and power users (e.g. cloning random
github repos) that it's graduated to being a general-purpose tool these
days.

This has no effect right now, but will result in us keeping git in the
base image should we ever move the dev tools into an on-demand extension
or something.
2026-03-08 12:01:30 -06:00
Nate Graham
a5cacd6536 Alphabetize package lists
GIT_SILENT
2026-03-08 11:35:55 -06:00
Nate Graham
eacce3ed0c Move license/copyright info inline for 60-usb-dirty-pages-udev.rules
GIT_SILENT
2026-03-08 09:29:09 -06:00
Yago Raña Gayoso
09a1c05bba README: Update link to installation instructions 2026-03-08 12:34:58 +00:00
Philipp Slusallek
744b86bd4d Added virtiofsd package for access to host folders from both virt-manager and incus VMs. 2026-03-08 12:32:55 +00:00
Nate Graham
d963aee8cb Work around upstream AMD driver issue
Many AMD systems are affected by a total system freeze that requires a
hard reboot. This is reported upstream at
https://gitlab.freedesktop.org/drm/amd/-/issues/4831 (and others; they
haven't been properly triaged and merged into one).

It's been going on for months with no fix in sight. Given the severity
of the issue, work around it by setting `amdgpu.dcdebugmask=0x10` in
the kernel command line, which disables panel self-refresh. The
consequence will be slightly higher power usage, but this seems worth
it to avoid system freezes and hard reboots.
2026-03-03 06:13:11 -07:00
l10n daemon script
6a8ac43eea GIT_SILENT made messages (after extraction) 2026-03-03 00:43:58 +00:00
Daniele Md
dfc79a4716 Add various improvements to zsh config files
This merge requests contains some changes to zsh configuration files:

* `/etc/skel/.zshrc` now checks if `/usr/share/zsh/plugins/kde-linux-default/kde-linux-default-zshrc.zsh` exists before sourcing it. This is useful to avoid error messages when user create a container that shares the home directory
* I have added key binding for **Page Up** and **Page down** to scroll through commands that start with user has currently typed. This is default behaviour in bash (at least in some distro, such as fedora), and I personally think it can be very useful
* I have added a key binding for **Control+Delete** to delete the next word
* I have slightly **modified zsh prompt** to make the current location path be colored in cyan, and when truncated, now it adds a `…/` prefix, to make it obvious the path was truncated
* I have **disabled tab cycling** through completion suggestions. This would imitate the default behavior in bash, and I personally think it's more ergonomic. For example, who hasn't pressed tab multiple times because the completion is being slow, and in bash it's ok because the prompt hasn't changed, but in zsh or fish this means that you are getting a completion that might not have been the one you intended, and now you need to undo that.
* I have **added a few aliases**, to make ls and grep have colored output by default, and to add ll, la, lla as shortcuts for useful ls commands (those are all aliases that debian based distros such as ubuntu have in their bashrc files)
2026-03-01 05:49:37 -07:00
Guilherme Marçal Silva
e2e9866dd7 Let Flatpak download all language files at once
Basically we'll set `flatpak config --set languages "*"` which should allow Flatpak to download every language pack available into the image. This should allow translated Flatpak apps on non-english systems.
Fixes #500
2026-02-28 14:36:49 +01:00
Vishal Rao
e9257ac425 Set default hostname correctly
Not like https://invent.kde.org/kde-linux/kde-linux/-/merge_requests/426 which wasn't working.

Now default hostname is `kde-linux` post install but requires https://invent.kde.org/plasma/plasma-setup/-/merge_requests/94 to allow users to still choose
2026-02-27 06:38:08 +00:00
l10n daemon script
bb3998b8f1 GIT_SILENT made messages (after extraction) 2026-02-27 00:41:51 +00:00
Vishal Rao
c41db34df3 Set hostname to kde-linux
plasma-setup currently skips hostname UI if non-default but i open an MR there to always show the ui.

https://invent.kde.org/plasma/plasma-setup/-/merge_requests/94
2026-02-26 15:05:08 +00:00
Hadi Chokr
3086ceda9b Final Hotfix 2026-02-25 18:30:28 +00:00
Hadi Chokr
ea050a7fa5 Hotfix: Upload Artifacts even when test fails 2026-02-25 16:43:51 +00:00
Jonas Harer
f5d1fec349 Added more commands to the command-not-found handler
This adds some more package-managers to the command-not-found handler and
adds a way to detect if two or more missing commands belong to the same
program.
2026-02-25 08:02:50 -07:00
Hadi Chokr
4b43c460bc Revert "Final MR Cleanup"
This reverts commit 2df0b40a9f
2026-02-25 12:59:29 +00:00
Hadi Chokr
2df0b40a9f Final MR Cleanup 2026-02-25 11:12:43 +00:00
Hadi Chokr
be432ce532 Hotfix: Fix Relative Path 2026-02-25 10:37:02 +00:00
Hadi Chokr
acf2a82511 Hotfix a final time before reverting. 2026-02-25 10:19:00 +00:00
Hadi Chokr
bb550fc9cd Hotfix: Own as the Build User 2026-02-25 11:04:22 +01:00
Hadi Chokr
c6b874ae3e Hotfix: New Output Dir in upload.sh 2026-02-25 09:33:55 +00:00
Hadi Chokr
26b08b0ad5 Hotfix 2026-02-25 09:03:52 +00:00
Hadi Chokr
fec5d551b0 Hotfix: Repair upload script after output dir change 2026-02-25 08:48:08 +00:00
Nate Graham
2b1b2dd7da Harden polkit rules
Check for local and wheel group membership too; don't let just anyone do
this stuff.

But not for automount, because that's just too annoying!
2026-02-25 07:34:15 +00:00
Lorenz Wildberg
0a91cb11ef use mkosi.output for output directory 2026-02-25 05:49:43 +01:00
l10n daemon script
0eace008e4 GIT_SILENT made messages (after extraction) 2026-02-24 00:42:20 +00:00
l10n daemon script
eb1bcbf40f GIT_SILENT made messages (after extraction) 2026-02-22 00:42:58 +00:00
Nate Graham
25b8dbcd81 Make ydotool a system-level service
This can be an attack surface, but because it's shipped with a
user-level systemd service, it gets enabled by default. That's not
ideal.

Instead make it a system-level service to benefit from two effects:
1. It won't be enabled by default
2. Enabling it manually will require authentication

Resolves #477
2026-02-21 15:25:29 -07:00
l10n daemon script
da9a67f72b GIT_SILENT made messages (after extraction) 2026-02-21 00:42:26 +00:00
Harald Sitter
dd93564cfb upload: make all dirs 2026-02-20 04:18:36 +01:00
Harald Sitter
b03438d9c1 upload: activate desync chopping again
this time it should hopefully work :|
2026-02-19 13:18:10 +01:00
Harald Sitter
3830a7d27f debug-- 2026-02-19 02:48:32 +01:00
Harald Sitter
de3e040f63 Revert "token-redeemer: disable pretty formatting for ini"
This reverts commit d756d2fb1d.

it was not actually to blame after all
2026-02-19 02:48:29 +01:00
Harald Sitter
d756d2fb1d token-redeemer: disable pretty formatting for ini 2026-02-19 00:00:01 +01:00
Harald Sitter
dd9d29ad2e debug++ 2026-02-18 23:44:59 +01:00
Harald Sitter
ed8e5f0137 token-redeemer: log desync file that is being written 2026-02-18 23:32:54 +01:00
Harald Sitter
4344b8529e upload: isolate upload testing into its own little job
it continues to not want to work :(
2026-02-18 23:12:04 +01:00
Harald Sitter
2acc13150a redeemer: be more assertive about redemption outcome 2026-02-18 23:08:03 +01:00