pi3-gadget icon indicating copy to clipboard operation
pi3-gadget copied to clipboard

This gadget snap doesn't cross-build

Open ZaneL opened this issue 5 years ago • 2 comments

Maybe I'm dumb, but I can't seem to get this to work. I cloned the classic branch and ran this command: snapcraft prime --target-arch=armhf

...and this is what happened...

alt text

ZaneL avatar Jun 30 '19 03:06 ZaneL

I'm guessing there may have been some issue with the repo back in June as this currently works for me (on the classic branch at least):

$ git clone https://github.com/snapcore/pi3-gadget
$ cd pi3-gadget
$ git checkout classic
$ sudo snapcraft prime --target-arch=armhf

waveform80 avatar Sep 24 '19 10:09 waveform80

Ah no, my mistake - just checked my lines above: you were missing "sudo". That's the cause of the error you saw (unfortunately root is required for the multiverse hack).

waveform80 avatar Sep 24 '19 10:09 waveform80