Skip to content

Commit

Permalink
ci: use tools-tree=default for mkosi in all builds
Browse files Browse the repository at this point in the history
Only s390x was using it so far.

Signed-off-by: Magnus Kulke <[email protected]>
  • Loading branch information
mkulke committed Jan 10, 2025
1 parent f178b7d commit 03c6752
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 20 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/podvm_mkosi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,7 @@ jobs:
- name: Install build dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y \
alien \
bubblewrap \
dnf \
mtools \
qemu-utils \
systemd-ukify \
uidmap
sudo apt-get install -y qemu-utils
sudo snap install yq
- name: Read properties from versions.yaml
Expand Down
3 changes: 3 additions & 0 deletions src/cloud-api-adaptor/podvm-mkosi/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ OutputDirectory=build

[Distribution]
Distribution=fedora

[Build]
ToolsTree=default
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Packages=systemd
util-linux
kmod
tpm2-tools

[Host]
ToolsTree=default
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
[Match]
Distribution=fedora

# mkosi version in nix is 17.1,
# which doesn't support Architecture in [Match]
# As a workaround, use a flag file instead.
#Architecture=s390x
PathExists=../../resources/buildS390xImage
Architecture=s390x

[Content]
Packages=kernel-core

[Host]
ToolsTree=default
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ Dependencies=initrd
[Output]
ManifestFormat=json
Seed=0e9a6fe0-68f6-408c-bbeb-136054d20445

[Host]
ToolsTree=default
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ Packages=s390utils

[Output]
Format=directory

[Host]
ToolsTree=default

0 comments on commit 03c6752

Please sign in to comment.