Bug#361362: pbuilder: Patch to use "sudo -E" for PBUILDERROOTCMD by default
Junichi Uekawa
dancer at netfort.gr.jp
Thu Jan 31 15:23:14 UTC 2008
This only works for ubuntu sudo.
>
> * pbuilderrc: use "sudo -E" for PBUILDERROOTCMD (LP: #175776)
> [2 tmp7BTasa <text/plain; us-ascii (7bit)>]
> diff -Nru /tmp/SbHZQEpvlK/pbuilder-0.177/pbuilderrc /tmp/pBeA333McS/pbuilder-0.177ubuntu1/pbuilderrc
> --- pbuilder-0.177/pbuilderrc 2007-10-25 01:22:11.000000000 +0200
> +++ pbuilder-0.177ubuntu1/pbuilderrc 2008-01-30 23:12:46.000000000 +0100
> @@ -32,9 +32,9 @@
>
> DEBEMAIL=""
>
> -#for pbuilder debuild
> +# for pbuilder debuild (sudo -E keeps the environment as-is)
> BUILDSOURCEROOTCMD="fakeroot"
> -PBUILDERROOTCMD="sudo"
> +PBUILDERROOTCMD="sudo -E"
>
> # command to satisfy build-dependencies; the default is an internal shell
> # implementation which is relatively slow; there are two alternate
> [3 <text/plain; us-ascii (7bit)>]
> _______________________________________________
> Pbuilder-maint mailing list
> Pbuilder-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pbuilder-maint
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list