packaging - How can I create directories using snapcraft? - Ask Ubuntu
i have file want copy snapcraft source .snap building:
parts: foo-config: plugin: dump source: . stage: - etc/foo.conf if try , build snap , etc/ directory not exist error. there way use dump plugin (or otherwise) create directories copying files?
stage going parts/$partname/install/etc/foo.conf. if want move foo.conf other directory , have in $snap/etc/foo.conf, you'll need use organize. organize create needed directories.
parts: foo-config: plugin: dump source: . stage: - etc/foo.conf organize: <path>/foo: etc/foo.conf
Comments
Post a Comment