Skip to content

Commit

Permalink
CI: Fix alt:sisyphus build
Browse files Browse the repository at this point in the history
ALT switched to numerical kernel flavours, thus no 'un-def' anymore.
Bring the new package 'kernel-headers-modules-mainline' that's supposed
to track the mainline kernels. If it fails bring 'stable' kernel
headers. Perhaps, it can fail during the merge window when `x.y.1`
stable is already released to the `x.y` flavour, so the pseudo-flavour
isn't longer 'mainline' but 'stable'.

Fixes: #360
Signed-off-by: Vitaly Chikunov <[email protected]>
  • Loading branch information
vt-alt committed Dec 3, 2024
1 parent 02bf270 commit eb3126c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
- image: fedora:latest
run: dnf install -y kernel-devel kernel gcc make elfutils-libelf-devel
- image: alt:sisyphus
run: apt-get update; apt-get install -y kernel-headers-modules-un-def gcc make libelf-devel
run: |
apt-get update && apt-get install -y gcc make libelf-devel && \
apt-get install -y kernel-headers-modules-mainline || apt-get install -y kernel-headers-modules-stable
- image: registry.opensuse.org/opensuse/tumbleweed
run: zypper -n install -y gcc make kernel-default-devel awk
- image: registry.opensuse.org/opensuse/leap
Expand Down

0 comments on commit eb3126c

Please sign in to comment.