Skip to content

Commit

Permalink
Test regenerating initramfs with surface kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Dec 13, 2024
1 parent 31d5cb6 commit 5580371
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions files/scripts/surface-kernel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

set -euo pipefail

KERNEL_VERSION="6.11.11-1.surface.fc41.x86_64"

rpm-ostree override replace \
--experimental \
--remove kernel \
--remove kernel-core \
--remove kernel-modules \
--remove kernel-modules-core \
--remove kernel-modules-extra \
/tmp/kernel-rpms/kernel-surface-"${KERNEL_VERSION}".rpm \
/tmp/kernel-rpms/kernel-surface-core-"${KERNEL_VERSION}".rpm \
/tmp/kernel-rpms/kernel-surface-modules-"${KERNEL_VERSION}".rpm \
/tmp/kernel-rpms/kernel-surface-modules-core-"${KERNEL_VERSION}".rpm \
/tmp/kernel-rpms/kernel-surface-modules-extra-"${KERNEL_VERSION}".rpm \
/tmp/kernel-rpms/kernel-surface-default-watchdog-"${KERNEL_VERSION}".rpm
1 change: 1 addition & 0 deletions recipes/module-recipes/scripts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
type: script
scripts:
- morewaita.sh
- surface-kernel.sh
- initramfs.sh
- sleep-through-notifications.sh
- disable-layering.sh
Expand Down

0 comments on commit 5580371

Please sign in to comment.