Commit graph

17 commits

Author SHA1 Message Date
Dorian Stoll 5241998eee
pkg: fedora: Update kernel-watchdog service
It seems that I just can't stop finding weird btrfs setups that break
the current script.

When you use btrfs with a default subvolume, GRUB will use normal paths,
like on ext4. So instead of /@/boot/vmlinuz you have /boot/vmlinuz.

The issue is that grub2-mkrelpath doesn't know about that. The script
would have to parse the GRUB configuration and fstab, to figure out
if btrfs is used with a default subvolume, and then add a flag to the
command depending on that.

However, instead of adding yet another workaround, let's just forget
about grubby and do what we want to do ourselves. Because, as it turns
out, not taking a weird detour over the path that GRUB uses to load the
kernel makes everything much easier.

Since this means that we are dealing with even more filepath and string
mangling, I decided to rewrite the script in python. It would work fine
in bash, but it would be even more spaghetti code that I don't really
want to write. And python is always available in Fedora anyway,
because DNF is written in it.
2024-02-06 23:25:26 +01:00
Dorian Stoll f6488c30a5
pkg: fedora: Pull in intel-vsc-firmware
This package contains the IPU3 firmware needed for camera support.
2024-01-29 19:54:32 +01:00
Dorian Stoll c58cae4193
pkg: fedora: Move surface_fan and surface_temp to kernel-modules 2024-01-13 12:31:12 +01:00
Dorian Stoll 74efe86ac4
Revert "pkg: fedora: Fix installing the package with rpm-ostree"
This reverts commit 445a631f13.
2023-11-10 22:21:33 +01:00
Dorian Stoll 445a631f13
pkg: fedora: Fix installing the package with rpm-ostree 2023-11-07 13:00:23 +01:00
Dorian Stoll 16fc34fcf9
pkg: fedora: Rebase onto v6.4.4 2023-07-25 09:36:28 +02:00
Dorian Stoll b5c2f54524
pkg: fedora: Fix Fedora build 2023-07-22 20:16:53 +02:00
Dorian Stoll e72a97e636
Revert "pkg: fedora: Rebase onto v6.4.4"
This reverts commit ae05c31c26.
2023-07-22 17:32:50 +02:00
Dorian Stoll ae05c31c26
pkg: fedora: Rebase onto v6.4.4 2023-07-22 10:47:18 +02:00
Dorian Stoll c8aa3fc505
pkg: fedora: Remove older versions that ship the watchdog in kernel-core 2023-06-15 23:06:13 +02:00
Dorian Stoll 8f7b9fcb79
pkg: fedora: Move the watchdog service to its own package 2023-06-15 23:05:39 +02:00
Dorian Stoll a8c647edb4
pkg: fedora: Let kernel-surface-devel also conflict with older versions 2023-06-09 18:16:56 +02:00
Dorian Stoll 1190026119
pkg: fedora: Ship the default-kernel service from contrib with the kernel package 2023-06-03 14:42:02 +02:00
Dorian Stoll e4d4ccb5c9
pkg: fedora: Let kernel-surface conflict with older versions of the package 2023-06-03 14:41:58 +02:00
Dorian Stoll 9a550fda70
pkg: fedora: Let kernel-surface provide standard kernel package names 2023-06-03 14:41:58 +02:00
Dorian Stoll a6038d7004
pkg: fedora: Readd weak dependency on iptsd 2023-06-03 14:41:58 +02:00
Dorian Stoll 5dffa283ee
pkg: fedora: Add new package build scripts for building patched kernels
These scripts use the kernel-ark repository that upstream Fedora uses too to
build their kernels.
2023-06-03 14:41:53 +02:00