'organize' affects 'stage-packages'

Ruddick Lawrence ruddick at carbon.ai
Fri Feb 10 17:00:12 UTC 2017


Thanks, that's what I ended up doing. It just surprised me that the
stage-packages were subject to organization.

Ruddick

On Fri, Feb 10, 2017 at 5:57 AM, Michael Terry <michael.terry at canonical.com
> wrote:
>
>
> 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-0001.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170210/b337d1a7/attachment.html>


More information about the Snapcraft mailing list