Snapcraft pulling wrong arch of debs when building foreign snaps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Chris Patterson |
Bug Description
snapcraft --destructive-mode --target-arch=armhf to build a foreign cpu arch snaps on a x86 machine.
debs specified in stage-packages is not reflecting to the --target-
---
Step to reproduce: ( with the attached snapcraft.yaml )
run "snapcraft --destructive-mode --target-
Expected result:
$> file $SNAP/usr/bin/hello
usr/bin/hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-
Actual result:
$> file $SNAP/usr/bin/hello
squashfs-
Have you been able to do this before? I've tested this as far back as 2.43 and it doesn't appear to work...