Skip to content

templates: Add Debian and Fedora riscv64 images #3461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/_images/fedora-41.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ images:
arch: aarch64
digest: sha256:085883b42c7e3b980e366a1fe006cd0ff15877f7e6e984426f3c6c67c7cc2faa

- location: https://dl.fedoraproject.org/pub/alt/risc-v/release/41/Cloud/riscv64/images/Fedora-Cloud-Base-Generic-41.20250224-1026a2d0e311.riscv64.qcow2
arch: riscv64
digest: sha256:6a8272a858d7f1498f49ce362b34f0b9b959885f63285158947e045abfeece40

# 9p is broken in Linux v6.9, v6.10, and v6.11 (used by Fedora 41).
# The issue was fixed in Linux v6.12-rc5 (https://github.com/torvalds/linux/commit/be2ca38).
mountTypesUnsupported: [9p]
3 changes: 3 additions & 0 deletions templates/_images/fedora-42.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ images:
arch: aarch64
digest: sha256:e10658419a8d50231037dc781c3155aa94180a8c7a74e5cac2a6b09eaa9342b7

- location: https://dl.fedoraproject.org/pub/alt/risc-v/release/42/Cloud/riscv64/images/Fedora-Cloud-Base-Generic-42.20250414-8635a3a5bfcd.riscv64.qcow2
Copy link
Member

@AkihiroSuda AkihiroSuda Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to update fedora-41.yaml too?

Also wonder if we can cover alt/risc-v in https://github.com/lima-vm/lima/blob/master/hack/update-template-fedora.sh

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you wan to update fedora-41.yaml too?

I didn't realise we had 41. Yep, I'll test that it boots and add it.

Also wonder if we can cover alt/risc-v in https://github.com/lima-vm/lima/blob/master/hack/update-template-fedora.sh

I spent a few minutes trying to hack it in, but I didn't get it working. I'm not as much of a shell wizard as rhe author of those scripts!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch: riscv64
digest: sha256:537c67710f4f1c9112fecaafafc293b649acd1d35b46619b97b5a5a0132241b0

# # NOTE: Intel Mac requires setting vmType to qemu
# # https://github.com/lima-vm/lima/issues/3334
Expand Down
3 changes: 3 additions & 0 deletions templates/experimental/debian-sid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ images:
- location: https://cloud.debian.org/images/cloud/sid/daily/latest/debian-sid-genericcloud-arm64-daily.qcow2
arch: aarch64

- location: https://cloud.debian.org/images/cloud/sid/daily/latest/debian-sid-genericcloud-riscv64-daily.qcow2
arch: riscv64

mountTypesUnsupported: [9p]
Loading