Please enable riscv64 for my snap package

Asked by Isaac True

Hello,

Can you please enable building for riscv64 for the following snap package: https://launchpad.net/~itrue/+snap/sipeed-lichee-rv-kernel

This is a kernel snap for the Sipeed Lichee RV board.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

At the moment I don't think we can do this for this particular snap, I'm afraid. We don't have good isolation between riscv64 builds, so we can only enable riscv64 support for tightly-controlled builds owned by Canonical employees. This snap clones and builds an external repository (https://github.com/lwfinger/rtl8723ds.git), which would effectively grant that repository the ability to compromise our entire riscv64 build infrastructure.

I hope this can change over the next few months once PS6 starts coming online, but at the moment we would only be able to allow this if it only ran code controlled by Canonical.

Revision history for this message
Isaac True (itrue) said :
#2

I am a Canonical employee ;)

But good point regarding the Github repo. There's a newly released DKMS package for that driver, so I will modify the snap to use that instead and let you know when it's ready.

Revision history for this message
Isaac True (itrue) said :
#3

I've removed the external repositories (BT firmware and wifi driver) and instead it's building from the Launchpad repo.

Revision history for this message
Best Colin Watson (cjwatson) said :
#4

Done.

Revision history for this message
Isaac True (itrue) said :
#5

Thanks Colin Watson, that solved my question.