Merge ~chad.smith/cloud-init:make-deb-cleanup into cloud-init:master
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Scott Moser | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~chad.smith/cloud-init:make-deb-cleanup | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
175 lines (+40/-64) 2 files modified
Makefile (+4/-0) packages/bddeb (+36/-64) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+323076@code.launchpad.net |
Commit message
make deb: Add devscripts dependency for make deb. Cleanup packages/bddeb.
Add a simple dependency check to "make deb" target for devscripts. Rework a bit of the logic in package/bddeb to drop superfluous STD_NAMED_PACKAGES to avoid duplication of requirements already listed in (test-)
This branch also moves logic inside write_debian_folder which is unneeded up in main. Moving the logic inside write_debian_folder helps cut down on the number of parameters we need to paas into the function.
LP: #1685935
Description of the change
make deb: Add dependency on devscripts for make deb and minor cleanup of packages/bddeb script.
Add a simple dependency check to "make deb" target for devscripts. Rework a bit of the logic in package/bddeb to drop superfluous STD_NAMED_PACKAGES to avoid duplication of requirements already listed in (test-)
to test:
make deb # will print install instruction on a machine without devscripts
# check final product to make sure dependencies listed haven't changed for the package
dpkg -I cloud-init_all.deb
Note: I didn't address reading build-deps directly from the debian/config.in template as the error message you receive about build-deps seemed fairly straight forward if some build-deps are missing.
PASSED: Continuous integration, rev:8be60732fae 6ae5eaae97f3740 79b1c63160187c /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 269/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/269 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/269 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 269 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/269 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/269
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 269/rebuild
https:/