Public bug reported: Hello; I want to copy from scripts from the build directory of my part through to the final snap. This answer on AskUbuntu shows an easy way to do this: http://askubuntu.com/a/739692/33812 but the "copy" plugin is now apparently deprecated and changing it to "dump" doesn't work:
$ cat snapcraft.yaml name: sarnold-evil-trinity version: "1.7pre" summary: Trinity kernel syscall fuzzer description: Trinity kernel syscall fuzzer is a dangerous way to test kernels This unofficial package is cloned from https://github.com/kernelslacker/trinity confinement: strict apps: trinity: command: bin/trinity parts: trinity: plugin: autotools source: https://github.com/kernelslacker/trinity.git trinity-scripts-copy: plugin: dump source: parts/trinity/src/ files: scripts/paths.sh: bin/paths.sh scripts/privs.sh: bin/privs.sh scripts/taint.sh: bin/taint.sh scripts/test-multi.sh: bin/test-multi.sh $ snapcraft Issue while loading plugin: properties failed to load for trinity-scripts-copy: Additional properties are not allowed ('files' was unexpected) If you change the plugin: dump to plugin: copy, it builds fine. I tried "snapcraft help dump", but that didn't give me anything concrete, only pointers to "snapcraft help plugins" and "snapcraft help sources". Neither of these is as straightforward as the from-and-to list of the copy plugin. Thanks ** Affects: snapcraft (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1612881 Title: insufficient help for 'dump' plugin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1612881/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
