Skip to content

Commit

Permalink
handle dnf5 for addrepo.
Browse files Browse the repository at this point in the history
remove Asus 40
  • Loading branch information
m2Giles authored Dec 29, 2024
1 parent d31fcbc commit 915ea80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- 40
- 41
exclude:
- fedora_version: 40
kernel_flavor: asus
- fedora_version: 41
kernel_flavor: fsync
- fedora_version: 41
Expand Down Expand Up @@ -146,8 +148,13 @@ jobs:
build_tag=$(echo -E $latest | jq -r '.tag_name')
;;
"surface")
if [[ "${{ matrix.fedora_version }}" < 41 ]]; then
$dnf config-manager --add-repo=https://pkg.surfacelinux.com/fedora/linux-surface.repo
else
$dnf config-manager addrepo --repofile=https://pkg.surfacelinux.com/fedora/linux-surface.repo
fi
linux=$($dnf repoquery --repoid linux-surface --whatprovides kernel-surface | sort -V | tail -n1 | sed 's/.*://')
;;
"main")
base_image_name="base"
Expand Down

0 comments on commit 915ea80

Please sign in to comment.