Conversation
Corresponds to containerd PR 6882 Signed-off-by: Akihiro Suda <[email protected]>
|
cc @crazy-max |
Created another branch to add support for riscv64 on moby: master...crazy-max:cross-20220502-2 Needs to use an ubuntu based image (at least 20.04) because debian lacks of riscv64 cross pkgs support afaik. See relevant commit: 697074d But switching to ubuntu cause some issues with apt sources through xx with arm/v5, arm/v6: Not sure if duplicated targets packages is the cause of this @tonistiigi. I don't encounter this issue with goxx: So maybe this logic https://github.com/crazy-max/goxx/blob/dc8345b5adf7bcfa88486914762161ec55a75c04/rootfs/usr/local/bin/goxx-apt-get#L28-L53 could fix it in xx. |
Same thing should exist in xx already. |
Can we just drop them? Most ARM images need v7 at least today. |
Do we need a newer version of xx in this repository, or what's needed? |
Yes it's ok on xx, on goxx I skip packages not found, that's why it "works". About targets packages duplication I opened a PR tonistiigi/xx#66 For With With With So like @AkihiroSuda said we could drop armel or rely on 2 variants depending on the target. debian for armel and ubuntu for the others ones. |
looks good with crazy-max@83062f5 |
tianon
left a comment
There was a problem hiding this comment.
LGTM; @justincormack given this is a seccomp profile change, can you take a look too? 🙏
| }, | ||
| { | ||
| Arch: specs.ArchRISCV64, | ||
| SubArches: nil, |
There was a problem hiding this comment.
Not really. Just for explicitness.
apparently harmless and used Link: systemd/systemd#25018 Link: containerd/containerd#6882 Link: moby/moby#43553
apparently harmless and used Link: systemd/systemd#25018 Link: containerd/containerd#6882 Link: moby/moby#43553 Signed-off-by: Dominique Martinet <[email protected]>
apparently harmless and used Link: systemd/systemd#25018 Link: containerd/containerd#6882 Link: moby/moby#43553 Signed-off-by: Dominique Martinet <[email protected]>
- What I did
Added riscv64 support.
Corresponds to:
- How I did it
Updated the seccomp profile.
Needs runc with:
- How to verify it
Tested on
qemu-system-riscv64 -M virt -cpu rv64(QEMU 6.2)- Description for the changelog
seccomp: support riscv64
- A picture of a cute animal (not mandatory but encouraged)
🐧
We should update the CI to cover riscv64, but it will be a separate PR, after refactoring of the cross compilation scripts: