Support for sbuild

Registered by Luca Falavigna

Deb-o-Matic should be able to use sbuild to compile packages.

Blueprint information

Status:
Complete
Approver:
Luca Falavigna
Priority:
Low
Drafter:
Luca Falavigna
Direction:
Approved
Assignee:
Luca Falavigna
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon future
Started by
Luca Falavigna
Completed by
Luca Falavigna

Related branches

Sprints

Whiteboard

Current features offered by pbuilder/cowbuilder and Deb-o-Matic itself, which must be matched by sbuild

* Create custom chroots, not system-wide ones
- sbuild-createchroot must be patched, hand-made solution is otherwise to be developed
  --> https://bugs.debian.org/741727
  --> Added in sbuild 0.64.2-1

* Update when needed
+ --no-apt-{clean,update,upgrade,distupgrade} options available
  --> Not updating chroots brings limited benefits but lots of troubles in Ubuntu, dropped

* Support for local repositories
- No, must be added to sources.list manually
  --> Handled in code

* Pass custom dpkg-buildpackage flags
+ --debbuildopts option available
  --> Handled in code

* Store .debs and build files in specific locations
- No support, chdir() must be invoked instead
  --> Handled in code

* Cross-architecture support
+ --arch option available
  --> Handled in code

* QEMU support
- No, debootstrap is hardcoded
  --> https://bugs.debian.org/715020
  --> Added in sbuild 0.64.2-1

* Disable networking
- Possibly with hook scripts

* Porter uploads support
+ Native support

* Build with extra build-dependencies support
+ Native support

(?)

Work Items

Work items:
[dktrkranz] Review of sbuild infrastructure: DONE
[dktrkranz] Deb-o-Matic design changes: DONE
[dktrkranz] Sbuild workflow: DONE
[dktrkranz] Sbuild implementation: DONE
[dktrkranz] Testing: DONE
[dktrkranz] Deploying: INPROGRESS
[dktrkranz] Release: TODO

This blueprint contains Public information 
Everyone can see this information.