insufficient help for 'dump' plugin

Bug #1612881 reported by Seth Arnold
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapcraft (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.