<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 28, 2016 at 3:52 AM, Martin Pitt <span dir="ltr"><<a href="mailto:martin.pitt@ubuntu.com" target="_blank">martin.pitt@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Usama Akkad [2016-01-28 10:38 +0200]:<br>
<span class="">> Source packages are enabled by default.<br>
<br>
</span>We don't enable them by default on cloud images, so I guess it can't<br>
be a legal requirement to have them. ubuntu-dev-tools has<br>
pull-lp-source which works without local apt sources, but we don't<br>
install that by default -- and we shouldn't as-is as it has a horribly<br>
heavy dependency chain.<br></blockquote><div><br></div><div>Assuming there isn't a legal reason for having it enabled by default at all times, could those be disabled only on the final image that we ship for a release? They might in fact be useful for developers and normal users, even if we have other things like pull-lp-source. It should always be easy for users to get the source code for the software they are running, and I think apt-get source already gives us that.<br><br></div><div>Flipping the switch on whether or not deb-src lines would be enabled by default on install could be as simple as a preseed entry that we add to the usual preseed file on images.<br></div><div><br></div><div>It would also be useful to have a tool like apt-add-repository that can toggle the state of the source entries. software-properties-gtk can already do it.<br></div><div> <br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Mathieu Trudel-Lapierre <<a href="http://mathieu.tl" target="_blank">mathieu.tl</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>><br>Freenode: cyphermox, Jabber: <a href="http://mathieu.tl" target="_blank">mathieu.tl</a>@<a href="http://gmail.com" target="_blank">gmail.com</a><br>4096R/DC95CA5A 36E2 CF22 B077 FEFE 725C 80D3 C7DA A946 DC95 CA5A</div></div></div></div>
</div></div></div></div>