-
Notifications
You must be signed in to change notification settings - Fork 651
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be just merged into fedora.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be just merged into
fedora.yaml
I assume you meant _images/fedora.yaml
.
I wonder why we wouldn't use the "Cloud-Base-Generic" image though, like we do for the other archs: https://dl.fedoraproject.org/pub/alt/risc-v/release/42/Cloud/riscv64/images/Fedora-Cloud-Base-Generic-42.20250414-8635a3a5bfcd.riscv64.qcow2
If it doesn't work for some reason, then we should add a comment about that.
I also haven't checked if the image updater supports this new image URL? We need to be careful that the image updater doesn't start updating only some of the images in a particular template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be just merged into
fedora.yaml
I assume you meant
_images/fedora.yaml
.I wonder why we wouldn't use the "Cloud-Base-Generic" image though, like we do for the other archs: https://dl.fedoraproject.org/pub/alt/risc-v/release/42/Cloud/riscv64/images/Fedora-Cloud-Base-Generic-42.20250414-8635a3a5bfcd.riscv64.qcow2
If it doesn't work for some reason, then we should add a comment about that.
We can use that one instead.
I also haven't checked if the image updater supports this new image URL? We need to be careful that the image updater doesn't start updating only some of the images in a particular template.
I tried the update script and it doesn't update anything at this point. The path doesn't match (/pub/alt
) and the metadata is at https://dl.fedoraproject.org/pub/alt/imagelist-alt instead of https://dl.fedoraproject.org/pub/fedora/imagelist-fedora.
I assume as riscv64 becomes a fully supported architecture in Fedora, the images will eventually end up in the normal location.
fce83fd
to
196cd78
Compare
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Debian image is the latest from unstable as there's no release yet for riscv64. The Fedora 41 and 42 cloud images hosted at the 'alt' location. It's not clear how often this will be updated, so the URL may become stale at some point. Signed-off-by: Joel Stanley <jms@tenstorrent.com>
196cd78
to
f22ea20
Compare
Fedora 41 booted fine, so I've added that. |
The Debian image is the latest from unstable as there's no release yet for riscv64.
Fedora is a Fedora 42 cloud image. It's not clear how often this will be updated, so the URL may become stale at some point.