fix(ci): longterm builds should provide ucore packages

This commit is contained in:
Benjamin Sherman 2025-11-15 07:42:54 +00:00
parent 4388220452
commit 07594d6821
No known key found for this signature in database

View file

@ -75,7 +75,7 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
--mount=type=cache,dst=/var/cache/libdnf5 \
bash <<'RUNEOF'
set "${CI+-x}" -euo pipefail
if [[ "${KERNEL_FLAVOR}" =~ "coreos" ]]; then
if [[ "${KERNEL_FLAVOR}" =~ (coreos|longterm) ]]; then
/tmp/build-ublue-os-ucore-addons.sh
cp /tmp/ublue-os-ucore-addons/rpmbuild/RPMS/noarch/ublue-os-ucore-addons*.rpm /var/cache/rpms/ucore/
fi
@ -101,7 +101,7 @@ COPY build_files/nvidia /tmp/
RUN --mount=type=cache,dst=/var/cache/dnf \
--mount=type=cache,dst=/var/cache/libdnf5 \
bash <<'RUNEOF'
if [[ "${KERNEL_FLAVOR}" =~ "coreos" ]]; then
if [[ "${KERNEL_FLAVOR}" =~ (coreos|longterm) ]]; then
/tmp/build-ublue-os-ucore-nvidia.sh
cp /tmp/ublue-os-ucore-nvidia/rpmbuild/RPMS/noarch/ublue-os-ucore-nvidia*.rpm /var/cache/rpms/ucore/
fi