[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Profile support in apt



On 29 January 2013 01:47, Wookey <wookey@wookware.org> wrote:
> If apt honours DEB_BUILD_PROFILE=foo then sbuild (which already has a
> patch to set this) just sets it and everything should 'just work' (we
> already have dpkg patches to make it DTRT).
>
> So, pointers as to which files/functions I should be looking at are
> what this post hopes to elicit, although of course patches showing
> just how trivial it is, would be even better :-)

Frontend: cmdline/apt-get.cc (DoBuildDeps).

Backend: apt-pkg/deb/debsrcparser.cc (BuildDepends),
apt-pkg/deb/deblistparser.cc (ParseDepends).

Please check for the envvar in the frontend rather than the backend.


Reply to: