Merge lp:~raharper/curtin/trunk.fix-build-deb-mock-udev-settle into lp:~curtin-dev/curtin/trunk
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Merged at revision: | 504 |
Proposed branch: | lp:~raharper/curtin/trunk.fix-build-deb-mock-udev-settle |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
20 lines (+3/-1) 1 file modified
tests/unittests/test_clear_holders.py (+3/-1) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-build-deb-mock-udev-settle |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Joshua Powers (community) | Approve | ||
Scott Moser (community) | Approve | ||
Review via email: mp+324793@code.launchpad.net |
Description of the change
Fix deb build by mocking call to udevadm settle
The sbuild chroot environment does not have the 'udevadm' command. A
recent unittest now invokes 'udevadm settle' which is not mocked and
failed due to the missing command in the build environment. Fix by
adding a mock to the call to udevadm.
To post a comment you must log in.
I've verified that sbuild'ing with this branch works.
1. ./tools/build-deb -S -us -uc 0.1.0~bzr504- 0ubuntu1. dsc
2. sbuild --arch-all -d xenial curtin_
The above fails on trunk, but is successful on this branch.