Snapcraft Build in Subdirectory
robert_joslyn at selinc.com
robert_joslyn at selinc.com
Wed Nov 4 23:41:56 UTC 2015
> It is not there today, but the RFC about sources I sent to this list
> earlier today was also meant to solve this particular issue and avoid
> introducing another toplevel (to the part), source-[key] and have it
> live in its own yaml object.
Ah, I probably should have read that more carefully. Yes, I think that is
probably a better way, since each source type could have many distinct
options for the reasons you mention.
> For now I suggest (just for now) doing
>
> mkdir parts/plugins
> cp /usr/lib/python3/dist-packages/snapcraft/plugins/autotools.py
parts/plugins/x-autotools.py
> [edit cwd in the build parts]
> snapcraft away
This can get me started with structuring things for snapcraft. Right now
I'm making the snaps that have this issue with shell scripts and not using
snapcraft.
> source:
> type: <type>
> repo: <repo>
> subdir: <dir> # also not settled on this name
This looks reasonable to me, but I'll let that discussion happen in reply
to your RFC.
Thanks,
--
Robert Joslyn
Software Engineer, R&D - Automation
Schweitzer Engineering Laboratories
509-332-1890 ext. 3214
More information about the snappy-app-devel
mailing list