Skip to content

Commit

Permalink
feat: Add support for fsync-lts kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Apr 14, 2024
1 parent 2b7cc5b commit e5d564a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- main
- asus
- fsync
- fsync-lts
- surface
cfile_suffix:
- common
Expand All @@ -49,8 +50,12 @@ jobs:
fedora_version: 38
- fedora_version: 38
kernel_flavor: fsync # kernel-fsync not required for ublue-os F38
- fedora_version: 38
kernel_flavor: fsync-lts
- fedora_version: 40
kernel_flavor: fsync # kernel-fsync packages are not being built for F40 yet.
- fedora_version: 40
kernel_flavor: fsync-lts

steps:
# Checkout push-to-registry action GitHub repository
Expand Down
14 changes: 14 additions & 0 deletions build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ if [[ "asus" == "${KERNEL_FLAVOR}" ]]; then
kernel-modules \
kernel-modules-core \
kernel-modules-extra
elif [[ "fsync-lts" == "${KERNEL_FLAVOR}" ]]; then
echo "Installing fsync-lts kernel:"
wget https://copr.fedorainfracloud.org/coprs/sentry/kernel-ba/repo/fedora-$(rpm -E %fedora)/sentry-kernel-ba-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_sentry-kernel-ba.repo
rpm-ostree cliwrap install-to-root /
rpm-ostree override replace \
--experimental \
--from repo=copr:copr.fedorainfracloud.org:sentry:kernel-ba \
kernel \
kernel-core \
kernel-devel \
kernel-devel-matched \
kernel-modules \
kernel-modules-core \
kernel-modules-extra
elif [[ "fsync" == "${KERNEL_FLAVOR}" ]]; then
echo "Installing fsync kernel:"
wget https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/repo/fedora-$(rpm -E %fedora)/sentry-kernel-fsync-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_sentry-kernel-fsync.repo
Expand Down

0 comments on commit e5d564a

Please sign in to comment.