<div dir="ltr">Until the feature gets added to snapcraft, you can use a simple shell script to start a container and setup the relevant deps, e.g. (script by mvo):<div><a href="https://raw.githubusercontent.com/mvo5/snapweb/feature/cleanbuild/cleanbuild.sh">https://raw.githubusercontent.com/mvo5/snapweb/feature/cleanbuild/cleanbuild.sh</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 15, 2016 at 8:26 PM, Dan Kegel <span dir="ltr"><<a href="mailto:dank@kegel.com" target="_blank">dank@kegel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey all,<br>
Day 3 of using snapcraft, and I've managed to get<br>
both piglit and a proprietary app snapped and running.<br>
Snapcraft's learning curve is not too steep, kudos.<br>
<br>
Problem: I can't do 'snapcraft cleanbuild' on my proprietary<br>
apps because they depend on packages in a ppa and/or a<br>
private apt repo.<br>
Is there a way to specify add-apt-repository foo<br>
to be used during snapcraft cleanbuild?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Loïc</div></div>
</div>