Le Sun, Nov 07, 2010 at 06:24:16PM +0100, rosea.grammostola a écrit :
> On 11/07/2010 05:56 PM, Andreas Tille wrote:
>> On Sun, Nov 07, 2010 at 03:11:20PM +0100, rosea.grammostola wrote:
>>> Is it possible to generate the metapackages I have now, with blends-dev
>>> on Ubuntu? Using the repo's which are available in (that specific)
>>> Ubuntu (installation)?
>> I have not tried but I do not see any reason why not. Just provide an
>> apropriate sources.list file as it is for instance done in the Debian
>> Edu sources (see SVN or source package).
> Ok cool. Where should that sources.list file be placed? And how does
> that magic work e.g. that the sources.list is used when generating the
ideally, your package would be built for Debian in a Debian chroot, and for
Ubuntu in an Ubuntu chroot, which would contain sources.list files restricted
to the strict minimum. This way, not only it makes sure that the package does
not need accidentally some software that is not packaged, but it also ensures
that the dependancies are set correctly in the binary packages for the very
distribution that you are targetting.
While you can do this on chroots that you manage by hand, there are two popular
tools for this purpose: sbuild and (p|cow)builder. There is plenty of doc about
them on the interweb.
Have a nice day,
Debian Med packaging team,
Tsurumi, Kanagawa, Japan