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

Re: Passing of DEB_BUILD_OPTIONS



On Mon, 17 Sep 2007, Roberto C. Sánchez wrote:
> In trying to squash a nostrip bug, I found that the DEB_BUILD_OPTIONS
> variable did not work when building with pdebuild.  I tried several
> things as suggested on IRC, including using -- and --pbuilder-opts to
> pass --debbuildopts '--set-envvar DEB_BUILD_OPTS=nostrip'.  None of
> these things worked.  It only finally worked when I used plain
> 'DEB_BUILD_OPTIONS=nostrip fakeroot dpkg-buildpackage'.  Additionally,
> the DEBBUILDOPTS variable in ~/.pbuilderrc did not help either.
> 
> Have I overlooked something.  Is there an option or something that I
> missed?

env_keep in /etc/sudoers

or alternatively,

export DEB_BUILD_OPTIONS="nostrip" in .pbuilderc is probably what
you're looking for.


Don Armstrong

-- 
Sentenced to two years hard labor (for sodomy), Oscar Wilde stood
handcuffed in driving rain waiting for transport to prison.  "If this
is the way Queen Victoria treats her prisoners," he remarked, "she
doesn't deserve to have any."

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: