'organize' affects 'stage-packages'

Michael Terry michael.terry at canonical.com
Fri Feb 10 13:57:18 UTC 2017


You can use a separate part for the stage packages:

parts:
  part1:
    ...
    organize:
      '*': opt/
  part2:
    plugin: nil
    stage-packages:
        - some-great-package


On Thu, Feb 9, 2017 at 11:47 PM, Ruddick Lawrence <ruddick at carbon.ai> wrote:

> I just discovered that a part with:
>
> organize:
>   '*': opt/
> stage-packages:
>     - some-great-package
>
> moves the contents of the stage-packages into opt in addition to the
> output of the plugin. Is this the intended behavior, and if so, is there a
> way to move only the plugin output into a subfolder?
>
> Thanks,
> Ruddick
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
-mt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170210/ef7683db/attachment.html>


More information about the Snapcraft mailing list