Merge lp:~cjwatson/launchpad-buildd/fix-sudo-config into lp:launchpad-buildd
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 158 |
Proposed branch: | lp:~cjwatson/launchpad-buildd/fix-sudo-config |
Merge into: | lp:launchpad-buildd |
Diff against target: |
52 lines (+14/-1) 4 files modified
debian/changelog (+4/-0) debian/rules (+2/-1) sbuildrc (+4/-0) sudo-wrapper (+4/-0) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad-buildd/fix-sudo-config |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Conrad (community) | Approve | ||
Review via email: mp+263845@code.launchpad.net |
Commit message
Make sbuild use "sudo -E" rather than just sudo. It will still filter the environment itself, but this means that variables such as DEB_BUILD_OPTIONS will be passed through given our standard buildd sudoers configuration.
Description of the change
Adam Conrad noticed that launchpad-buildd wasn't setting DEB_BUILD_OPTIONS any more, so we aren't getting parallel builds in all cases where we should. To fix this, we need to make sbuild use "sudo -E" rather than just sudo. It will still filter the environment itself, but this means that variables such as DEB_BUILD_OPTIONS will be passed through given our standard buildd sudoers configuration.
To post a comment you must log in.
If it works, LGTM.