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

Passing arguments from pbuilder to dpkg-genchanges



Junichi Uekawa <dancer@netfort.gr.jp> writes:

> Jens Peter Secher <jpsecher@diku.dk> immo vero scripsit:
>
> > I cannot find a way to make pbuilder pass arguments to
> > dpkg-genchanges. 
> 
> Try something like:
> DEBBUILDOPTS=-sa

I do not see how this should help.  According to your source code
(pbuilder-0.32), DEBBUILDOPTS is passed to dpkg-buildpackage, and
dpkg-buildpackage only passes some of its options to dpkg-genchanges.

I would like pass something like -DDistribution=woody to
dpkg-genchanges.  Hmm, shouldn't pbuilder itself pass this option to
dpkg-genchanges, since pbuilder /knows/ what it is building
against...?

Alternative, the script code from dpkg-buildpackage could be inlined
into the script code of pbuilder(-buildpackage) to give more direct
control of the dpkg-* scripts.
-- 
                                                      Jens Peter Secher
 _jpsecher get2net dk DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1_



Reply to: