Skip to content
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

Should this work for a RISC-V image? #19

Closed
rpjday opened this issue Jul 20, 2022 · 2 comments
Closed

Should this work for a RISC-V image? #19

rpjday opened this issue Jul 20, 2022 · 2 comments

Comments

@rpjday
Copy link

rpjday commented Jul 20, 2022

Theoretically, can I select MACHINE of qemuriscv64 and get something that runs?

ADDENDUM: Apparently, the qemuriscv64 build does not incorporate kernel-module-squashfs, so it is impossible to install snaps. Is squashfs kernel module not supported for RISC-V?

MORE: The squashfs module is in the image, just not autoloaded, so it can be manually inserted with "modprobe", but that still does not solve the problem:

# snap install hello-world
[ 928.481872] audit: type=1334 audit(1658407645.510:73): prog-id=17 op=LOAD
[ 928.483608] audit: type=1334 audit(1658407645.514:74): prog-id=18 op=LOAD
error: system does not fully support snapd: cannot mount squashfs image using
"squashfs": mount: /tmp/syscheck-mountpoint-3846894636: mount failed:
Operation not permitted.

I am open to suggestions.

@zyga
Copy link
Collaborator

zyga commented Mar 1, 2024

I think it should work in the kirkstone branch now. I have not tested it yet (and I suspect master will be better but I have not posted those patches yet) but the snapcraft ecosystem is aligned to support riscv64 fully in 2024.

@zyga
Copy link
Collaborator

zyga commented Mar 7, 2024

Master now works on riscv64. I've added CI for it #51

@zyga zyga closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants