diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-14 14:58:25 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-14 15:59:26 +0100 |
commit | 8d1bb25b67228d08a7310d2a59b8b58c75b9d822 (patch) | |
tree | 1f0b76e7b5e49f6ba6793ecf4ca425e6ad50c35f | |
parent | 71c3d0facb7d81e8a2807901e4e75df368c38661 (diff) | |
download | pbuilder-8d1bb25b67228d08a7310d2a59b8b58c75b9d822.tar pbuilder-8d1bb25b67228d08a7310d2a59b8b58c75b9d822.tar.gz |
Change default root command to sudo -E; #361362
Change default root command from sudo to sudo -E; closes: #361362
-rw-r--r-- | debian/NEWS | 3 | ||||
-rwxr-xr-x | pbuilderrc | 2 | ||||
-rw-r--r-- | pbuilderrc.5 | 2 | ||||
-rw-r--r-- | pdebuild.1 | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/debian/NEWS b/debian/NEWS index 689c7f5..69076e9 100644 --- a/debian/NEWS +++ b/debian/NEWS @@ -8,5 +8,8 @@ pbuilder (0.195) unstable; urgency=low --debootstrap=cdebootstrap to use it. Custom cdebootstrap options set via DEBOOTSTRAPOPTS or --debootstrapopts might not be compatible with debootstrap. + * The default PBUILDERROOTCMD is now "sudo -E" instead of "sudo"; this + allows passing env vars for pbuilderrc expansion or to the build process + such as DEB_BUILD_OPTIONS. -- Loïc Minier <lool@dooz.org> Sat, 12 Dec 2009 16:03:21 +0100 @@ -33,7 +33,7 @@ DEBEMAIL="" #for pbuilder debuild BUILDSOURCEROOTCMD="fakeroot" -PBUILDERROOTCMD="sudo" +PBUILDERROOTCMD="sudo -E" # use cowbuilder for pdebuild #PDEBUILD_PBUILDER="cowbuilder" diff --git a/pbuilderrc.5 b/pbuilderrc.5 index ad26ac9..600d33c 100644 --- a/pbuilderrc.5 +++ b/pbuilderrc.5 @@ -265,7 +265,7 @@ in .B "pdebuild" .TP -.BI "PBUILDERROOTCMD=" "sudo" +.BI "PBUILDERROOTCMD=" "sudo -E" This option is used on invocation of .B "pbuilder build" @@ -30,7 +30,7 @@ The command used to gain root privilege for invoking dpkg-buildpackage .TP -.BI "\-\-pbuilderroot [" "sudo" "]" +.BI "\-\-pbuilderroot [" "sudo -E" "]" The command used to gain root privilege for invoking pbuilder. |