Thanks @lucyllewy. I have the standard cleanup part that I found here: Reducing the size of desktop snaps
cleanup:
after: # Make this part run last; list all your other parts here
- alpha
plugin: nil
build-snaps: # List all content-snaps and base snaps you're using here
- core18
- gnome-3-34-1804
- gtk-common-themes
override-prime: |
set -eux
for snap in "core18" "gnome-3-34-1804" "gtk-common-themes"; do # List all content-snaps and base snaps you're using here
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
done
So the way I interpret your advice is to remove the “core18” from the for loop. I’ve tried that and the proble persists.
Skipping prime gnome-3-34-extension (already ran)
The command 'bin/alpha' was not found in the prime directory, it has been changed to '/usr/bin/python3'.
Failed to generate snap metadata: The specified command '/usr/bin/python3 $SNAP/bin/alpha' defined in the app 'alpha' does not match the pattern expected by snapd.
The command must consist only of alphanumeric characters, spaces, and the following special characters: / . _ # : $ -