Merge lp:~abentley/launchpad/detect-xen into lp:launchpad/db-devel
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Paul Hummer on 2010-10-18 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 9904 | ||||
| Proposed branch: | lp:~abentley/launchpad/detect-xen | ||||
| Merge into: | lp:launchpad/db-devel | ||||
| Diff against target: |
82 lines (+47/-1) 1 file modified
lib/canonical/buildd/buildrecipe (+47/-1) |
||||
| To merge this branch: | bzr merge lp:~abentley/launchpad/detect-xen | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paul Hummer (community) | 2010-10-18 | Approve on 2010-10-18 | |
|
Review via email:
|
|||
Commit Message
Ensure recipe builds run only under Xen
Description of the Change
= Summary =
Fix bug #662664: recipe builds should ensure they run only under xen
== Proposed fix ==
Use xen-detect to determine whether the builder's running under Xen. If
xen-detect is not present, assume not running under Xen.
== Pre-implementation notes ==
This change was at Elmo's request.
== Implementation details ==
xen-detect does not emit different status codes depending on whether Xen was
detected, so it is necessary to read stdout.
== Tests ==
No automated tests, as this depends on the build environment.
== Demo and Q/A ==
This code is currently deployed on clementine, and has been determined to work
there.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/canonical
