-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new unused file: files/scripts/fsync-kernel-override.sh
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |