Commit graph

317 commits

Author SHA1 Message Date
Dorian Stoll 5c4f97cc49
pkg: fedora: Update to 6.8.1 2024-03-21 11:37:11 +01:00
Dorian Stoll 69db543758
pkg: fedora: Update to 6.8 2024-03-16 23:07:58 +01:00
Dorian Stoll f7268974dc
pkg: fedora: Update to 6.7.9 2024-03-09 21:15:11 +01:00
Dorian Stoll cfbf70ce88
pkg: fedora: Bump release 2024-03-01 11:56:54 +01:00
Dorian Stoll 3187d8c8db
Merge pull request #1367 from linux-surface/kernel-watchdog-v3
Another kernel-watchdog update for btrfs
2024-03-01 11:55:23 +01:00
Dorian Stoll 0a6559d21e
pkg: fedora: Update to 6.7.6 2024-02-27 20:29:00 +01:00
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 691fff2d66
pkg: fedora: Update for 6.7.2 2024-01-29 19:54:32 +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 09f974cb3d
pkg: fedora: Add support for not changing any configs to build-ark.py 2024-01-29 19:54:31 +01:00
Dorian Stoll c58cae4193
pkg: fedora: Move surface_fan and surface_temp to kernel-modules 2024-01-13 12:31:12 +01:00
Maximilian Luz b492218dfa
Update Fedora kernels to v6.6.11 2024-01-13 01:20:46 +01:00
Maximilian Luz 110ca0d301
Update Fedora kernels to v6.6.6 2023-12-13 22:29:26 +01:00
Dorian Stoll b271d37130
pkg: fedora: Update to kernel 6.6.5 2023-12-08 17:26:30 +01:00
Maximilian Luz 16e31cc52b
Bump Fedora kernel release 2023-11-20 22:15:29 +01:00
Dorian Stoll 7506fcb8b4
pkg: fedora: Update to kernel 6.5.11 2023-11-18 10:56:42 +01:00
Dorian Stoll 3d3ce1ab74
pkg: fedora: Disable wrong NX compatibility flag
On Fedora the kernel needs to be loaded into RWX memory by GRUB.
If it is loaded from non-writable memory, it will crash and freeze
the machine at the Microsoft logo.

Unsetting this flag will cause GRUB to allocate RWX memory for the
kernel.

Note: This won't fix the stock kernels or the installation image.
2023-11-18 10:44:10 +01:00
Dorian Stoll 65961672f4
pkg: fedora: Bump relase 2023-11-10 22:22:01 +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 8ae6248651
pkg: fedora: Update to 6.5.9 2023-11-07 13:05:09 +01:00
Dorian Stoll 445a631f13
pkg: fedora: Fix installing the package with rpm-ostree 2023-11-07 13:00:23 +01:00
Maximilian Luz e2db30180d
Update Fedora kernels to v6.5.8 2023-10-22 15:56:55 +02:00
Maximilian Luz 82c73bc037
Update Fedora kernels to v6.5.6 2023-10-09 21:17:59 +02:00
Dorian Stoll 68d520b722
pkg: fedora: Bump release 2023-10-04 11:55:17 +02:00
Dorian Stoll 7633736b5a
pkg: fedora: Fix variable name in the watchdog script 2023-10-04 11:52:34 +02:00
Maximilian Luz 83de85ec93
Update Fedora kernels to v6.5.5 2023-10-03 02:47:34 +02:00
Dorian Stoll 7eb766437e pkg: fedora: Use the proper path to set the default kernel
grubby --set-default expects the path that GRUB will use to access
the kernel. This adds compatibility with /boot on a BTRFS subvolume.
2023-09-06 17:23:53 +02:00
Dorian Stoll 8f73c0b34b pkg: fedora: Some updates for default kernel watchdog script 2023-09-05 15:18:54 +02:00
Maximilian Luz 32c55fe01c
Update Fedora kernels to v6.4.12 2023-08-25 22:49:26 +02:00
Dorian Stoll 02fd4eba2c
pkg: Update kernels to 6.4.7 2023-07-28 19:33:44 +02:00
Dorian Stoll f4f1aae0c1
pkg: Update kernels to 6.4.6 2023-07-27 10:25:40 +02:00
Dorian Stoll 16fc34fcf9
pkg: fedora: Rebase onto v6.4.4 2023-07-25 09:36:28 +02:00
Dorian Stoll da389ab837
pkg: fedora: Disable compressed debug info 2023-07-25 09:36:17 +02:00
Dorian Stoll 0095650bf0
Bump kernel package releases 2023-07-23 18:12:59 +02:00
Dorian Stoll b5c2f54524
pkg: fedora: Fix Fedora build 2023-07-22 20:16:53 +02:00
Dorian Stoll c20005bb1b
pkg: fedora: Update to v6.3.13 2023-07-22 17:42:59 +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
Maximilian Luz bf67ee0c53
Bump Fedora kernel release 2023-07-21 21:00:47 +02:00
Maximilian Luz 1f6993644f
Update Fedora kernel to v6.3.12 2023-07-08 00:42:34 +02:00
Maximilian Luz b6c8d6ad35
Update Fedora kernels to v6.3.9 2023-06-24 00:48:24 +02:00
Maximilian Luz 6cf5f86177
Update Fedora kernels to v6.3.8 2023-06-18 00:11:09 +02:00
Dorian Stoll 9a6fd51d7d
pkg: fedora: Fix confirmation prompt for building without secureboot keys 2023-06-16 10:35:16 +02:00
Dorian Stoll 7985454929
pkg: fedora: Bump release 2023-06-16 10:32:54 +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 45d6f32422
pkg: fedora: Use stat to sort by file creation time 2023-06-14 17:47:20 +02:00
Dorian Stoll 39d0d5ec60
pkg: fedora: Use the file creation time to determine the newest kernel 2023-06-14 17:37:13 +02:00
Maximilian Luz fe387a5685
Update Fedora kernels to v6.3.7 2023-06-14 12:44:42 +02:00
Dorian Stoll 07e87edb4c
pkg: fedora: Bump release 2023-06-09 18:17:34 +02:00