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

Re: adding --distribution experimental to pdebuild



On Wed, Feb 09, 2011 at 09:12:21PM +0100, Daniel Leidert wrote:
> Am Mittwoch, den 09.02.2011, 11:15 +0100 schrieb Mathieu Malaterre:
> > hi,
> > 
> >   I am trying to rebuild a package using another package that is
> > located in experimental. I have a pbuilder sid installation and I
> > thought I could simply do :
> > 
> > svn-buildpackage --svn-dont-purge --svn-lintian
> > --svn-override=origDir=. --svn-ignore-new --svn-builder="pdebuild
> > --debbuildopts --distribution sid --buildresult `pwd`/../build-area"
> > 
> >   To add experimental, but that does not work. How should I be using pdebuild ?
> 
> I guess you need to add a hook, that does run `apt-get update' before
> building the package. I first thought I had seen a switch for pbuilder
> doing this, but I cannot find it.

Hmm, won't things Just Work(tm) if you create a new pbuilder chroot
specifying "experimental" as the distribution?  It is special-cased in
several places in pbuilder's operation.

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net roam@FreeBSD.org peter@packetscale.com
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
"yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation.

Attachment: signature.asc
Description: Digital signature


Reply to: