863 Commits

Author SHA1 Message Date
Ben Cooksley
e10cee597e Don't apply the default ruleset to CI jobs.
It does not make sense in this context, and the bit this is trying to fix comes from workflow:rules anyway

Fixes kde-linux/kde-linux#256
2025-08-23 09:58:32 +00:00
Harald Sitter
9d764074bb align chunk sizes
this should make things more amazing. from my testing it looks like
aligning the sizes improves compression and improves caibx generation by
aligning chunk boundaries better.

in a test scenario of adding a single 128M random data file to /usr/lib
this brought the fragmentation from a couple thousand segments down to 8
(of which 5 are in the superblock and the new file appears as large
contiguous chunk delta). the actual download size is a 135M delta
2025-08-23 04:39:43 +02:00
Kristen McWilliam
dffa871ec7 fix: enable KISS service by default 2025-08-22 13:42:34 -04:00
Hadi Chokr
d49aab8fef Fix Typo 2025-08-22 15:30:06 +00:00
Hadi Chokr
ee81cd858c Add iwd as an option. 2025-08-22 15:27:04 +00:00
Nate Graham
e4dabff33c Use correct package name for trash tool
!fixup 0d3717f6f1
2025-08-22 09:16:19 -06:00
Kristen McWilliam
cd6407e236 calamares: let KISS handle user creation 2025-08-22 14:55:30 +00:00
Nate Graham
0d3717f6f1 Pre-install CLI trash tools
Much safer and better integration with the system than using `rm` to
delete stuff.
2025-08-22 14:50:54 +00:00
Nate Graham
8ef056bc89 Add comment explaining KDE dependencies situation 2025-08-22 14:39:18 +00:00
Nate Graham
a14f215616 Don't manually pull in sshfs anymore
THis was made a mandatory dependency of kdeconnect-kde in
https://invent.kde.org/sysadmin/repo-metadata/-/merge_requests/614,
so we don't need to ask for it here.
2025-08-22 14:39:18 +00:00
Hadi Chokr
83d003fc9d Edit 20-packages-graphics.conf 2025-08-22 14:22:15 +00:00
Nate Graham
7feb7c8bfd Adjust CI rules to use fewer resources
In particular, don't run on branches for merge requests, since the CI
runs for the merge requests themselves are enough.
2025-08-21 15:02:14 -06:00
Nate Graham
55d58e45bb Pre-install usbutils
This gets us `lsusb`, which is missing next to all the other `ls[thing]`
tools already pre-installed.

This will increase the base image size by 375.5 KB, and pull in no new
dependencies.
2025-08-21 10:14:38 -06:00
Harald Sitter
e4e5d29351 vacuum: load existing shas when possible
should avoid most problems with the mirrorbits not having the sha yet
2025-08-21 01:53:04 +02:00
Harald Sitter
2d8dca8329 move sha256sums to sysupdate dir
systemd doesn't like subdir references in the sha256sums so we can't
have a single sums file in the root but rather need to have multiple
2025-08-21 01:15:10 +02:00
Harald Sitter
d7e6dd7b26 vacuum: use correct prefix 2025-08-20 22:56:00 +02:00
Harald Sitter
d6037cb5ac workaround mirror problems 2025-08-20 22:11:41 +02:00
Harald Sitter
5653cd0db6 try to invoke scp correctly 2025-08-20 20:31:09 +02:00
Harald Sitter
52ab0999d3 vacuum: revisit protection
keep them out of the delete list as well
2025-08-20 20:13:15 +02:00
Harald Sitter
d532605483 comment++ 2025-08-20 19:51:07 +02:00
Harald Sitter
bf1eb4c839 update protection logic
the previous code would end up dropping the protected versions from the
shasums, we'll want to keep them there as well.

to achieve this we now collect all protected releases and then append
them to the keep list once the keep list has been pruned. seems the most
reliable way of doing this
2025-08-20 19:50:18 +02:00
Harald Sitter
8c51beb068 shell glob please 2025-08-20 19:49:15 +02:00
Harald Sitter
652d836d11 don't keep the live efi around
we don't need it. it's already in the raw in case someone needs access
to it
2025-08-20 19:31:37 +02:00
Harald Sitter
c5be947571 upload sysupdate artifacts to a versioned directory
helps with implementation of a banana split

https://community.kde.org/KDE_Linux/Banana_Split
2025-08-20 18:54:27 +02:00
Harald Sitter
2da7df7453 comment++ 2025-08-20 16:59:09 +02:00
Harald Sitter
cd6a5852d2 vacuum: don't trip over dirs 2025-08-20 16:59:04 +02:00
Harald Sitter
c0016fadc6 apply some more etc symlinks 2025-08-20 15:58:32 +02:00
Harald Sitter
fd8af21928 make sure we don't find invalid paths 2025-08-20 00:19:52 +02:00
Harald Sitter
856eccf5df silence warnings about no cmdline 2025-08-20 00:19:40 +02:00
Harald Sitter
767fded477 only enable the debug extension when it actually exists 2025-08-20 00:11:59 +02:00
Harald Sitter
7841052916 make a mock erofs addon
a null efi is not good enough for sysupdate
2025-08-19 23:48:03 +02:00
Harald Sitter
90d44c18a1 publish fake artifacts
in the hopes of getting upgrades listed again

the trouble appears to be that since we no longer create the tar or
erofs addon systemd-sysupdate considers the candidates not viable and
just ignores the new versions. by having mock artifacts I hope things
will work again

we'll need to invent some tech to eventually rotate the old artifacts
out of /system though
2025-08-19 23:12:02 +02:00
Harald Sitter
1b735fe2f8 let udev settle before doing tty io
seems to consistently prevent a race condition where the migration would
get stuck when user input is needed due to fstab entries
2025-08-19 22:30:50 +02:00
Harald Sitter
2c7b07b6b7 zstd 15 takes ages
let's just go with the default for now
2025-08-19 20:26:59 +02:00
Harald Sitter
dcff83c55f use correct separator for compression level 2025-08-19 19:26:57 +02:00
Harald Sitter
f9ccfd5935 erofs addon is no more
now always enabled
2025-08-19 19:10:03 +02:00
Harald Sitter
9bcad6a1c1 don't trip over repeat invocations 2025-08-19 18:57:00 +02:00
Harald Sitter
07fbaec603 fixup! completely switch to erofs also for upgrades
yet more overlay leftovers
2025-08-19 18:56:59 +02:00
Harald Sitter
1991cd5053 fixup! completely switch to erofs also for upgrades
yet more overlay leftovers
2025-08-19 15:44:09 +02:00
Harald Sitter
4485a95979 fixup! completely switch to erofs also for upgrades
forgot a mention of the overlay file
2025-08-19 15:32:44 +02:00
Harald Sitter
b693deae87 build sysupdated
...but don't enable in systemd; currently opt-in for testing
2025-08-19 15:12:22 +02:00
Harald Sitter
7e6223e467 completely switch to erofs also for upgrades
our generator now always runs to generate the relevant units for erofs
use

tar build has been removed, instead we spend some extra time on zstd
compression of the erofs
2025-08-19 15:10:56 +02:00
Harald Sitter
f845045c53 fix sudo setup
sudo is actually not functional without the sudoers file itself
2025-08-19 13:53:02 +02:00
Nate Graham
c54297cffd Pre-install sshfs
This makes remote browsing via kdeconnect-kde work. It's an optional
dependency, so we need to call it out here.

Resolves #248
2025-08-18 13:29:55 -06:00
Nate Graham
e1af196591 Alphabetize 45-packages-kde-dependencies.conf 2025-08-18 13:28:11 -06:00
Nate Graham
f6e715de1d Add compatibility symlink for /etc/tuned
Tuned doesn't yet know about /usr/share/factory/etc; see
https://github.com/redhat-performance/tuned/issues/798. Until it does,
let's add a compatibility symlink for it so that it works.

Resolves #247
2025-08-18 09:59:14 -06:00
Harald Sitter
da4625edf7 tiny hack to override the erofs.addon in the live esp
otherwise we boot with rootflags even though the root is erofs and then
erofs rightly errors out because it doesn't know what a subvol= is
2025-08-18 12:40:25 +02:00
Harald Sitter
a7566c052f efi: use correct path for addon
$EFI contains the boot counter, we'll want a dir without out so use
$EFI_BASE.efi
2025-08-18 11:52:45 +02:00
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