Skip to content

Commit

Permalink
chore(ci): replace vanilla kernels not asus/surface (ublue-os#1754)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Oct 7, 2024
1 parent 0b40fe2 commit 39e90ed
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions build_files/cache_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

set -eoux pipefail

for pkg in kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
do
rpm --erase $pkg --nodeps
done
if [[ "${AKMODS_FLAVOR}" == "main" || "${AKMODS_FLAVOR}" =~ "coreos-" ]]; then
for pkg in kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
do
rpm --erase $pkg --nodeps
done

rpm-ostree install \
/tmp/kernel-rpms/kernel-[0-9]*.rpm \
/tmp/kernel-rpms/kernel-core-*.rpm \
/tmp/kernel-rpms/kernel-modules-*.rpm
rpm-ostree install \
/tmp/kernel-rpms/kernel-[0-9]*.rpm \
/tmp/kernel-rpms/kernel-core-*.rpm \
/tmp/kernel-rpms/kernel-modules-*.rpm
fi

0 comments on commit 39e90ed

Please sign in to comment.