snapcore / pi-gadget

Universal pi (pi2,pi3,pi4,cm3,cm4 and future) gadget snap for Ubuntu Core and classic systems.
30 stars 60 forks source link

Extend arches #40

Closed xnox closed 4 years ago

xnox commented 4 years ago

This makes the 20 gadget universal. It seems like launchpad is able to build it on arm64 for arm64, and build it on armhf for armhf. So i'm not sure why 18 branches are separate for armhf & arm64.

So I created 20 branch, just like the pc uefi gadget, and proposing this there. Then will build both arm64 & armhf from the 20 branch of the pi gadget.

xnox commented 4 years ago

Oh now i see how buggy this is!

It constantly tries to build the wrong arch, despite asking for arm64, armhf is built.

waveform80 commented 4 years ago

Yeah it's ... not good. I read the "documentation" for this feature, couldn't make heads nor tails of what the specification might actually be (sure, there's lots of examples but not enough to cover a complete spec, and there's no actual spec in the docs), then tried to make something that'd allow me to cross-compile, but no! In the end, it was back to separate branches.