I have a file I want to copy from my snapcraft source into the .snap I am building:
parts: foo-config: plugin: dump source: . stage: - etc/foo.conf
If I try and build the snap and the etc/ directory does not exist I get an error. Is there a way to use the dump plugin (or otherwise) to create directories as well as copying files?