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

Re: building .debs with "+b1" on the end



On Mon, 7 Jul 2014 20:39:06 +0100
Jonathan Dowland <jmtd@debian.org> wrote:

> On Mon, Jul 07, 2014 at 02:51:40PM -0400, Brian Sammon wrote:
> > So I would have to install/learn "sbuild".
>  
> sbuild can be used to do it, but you don't need sbuild. I think
> dpkg-buildpackage would be sufficient,

dpkg-buildpackage definitely doesn't have (at least, I don't see it in the manpage) anything as simple and straightforward as sbuild's "--binNMU" option.
But I'd be interested in hearing recipes for doing this with 
dpkg-buildpackage.

> but you'd ideally do it in a chroot of
> some sort, which sbuild manages. Another tool to do similar is pbuilder.

Are you saying that you recommend I use a chroot?  For a package I'm building just for myself (for just one machine)?
Hmm... I've never set up a chroot for building packages and it seems like this would be a lot of work, and a lot of disk space (my HDs are small by todays standards) for very little benefit (in my situation).
If it turns out there's more than one way to do this, I think I'd probably prefer a method that doesn't require a chroot.


Reply to: