Skip to content

Commit

Permalink
new unused file: files/scripts/fsync-kernel-override.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sukarn-m committed Dec 10, 2024
1 parent facebee commit dce5795
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions files/scripts/fsync-kernel-override.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

## Instructions:
## In the rpm-ostree module, add the following in the repos section; adjust fedora version or check https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos for updated .repo link:
## repos:
## - https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-lto/repo/fedora-41/bieszczaders-kernel-cachyos-lto-fedora-41.repo

set -oue pipefail

# inspired by: https://github.com/antuan1996/formile-cachyos-ublue

echo 'Enable SElinux policy'
setsebool -P domain_kernel_load_modules on

echo 'fsync kernel override'
rpm-ostree override replace --experimental --freeze --from repo='copr:copr.fedorainfracloud.org:sentry:kernel-fsync' kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra

0 comments on commit dce5795

Please sign in to comment.