New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of debootstrap #111

leighman opened this Issue May 23, 2014 · 2 comments


None yet
2 participants

leighman commented May 23, 2014


Collabora's OBS currently uses a pretty ugly patch [1] to enable building deb packages with debootstrap.
It was done this way for two reasons:

  1. We build a lot of debian packages and not all of them work outside the debootstrap setup (eg. if post-inst scripts have not been run)
  2. We use arm boards as builders and these are not able to run hardware accelerated vms

We would like to try and upstream this work.

What would be your preferred approach for integrating debootstrap?
One suggested approach might be to use debootstrap's --foreign flag. This would mean that the prepared environment could still be run in a vm as other builds are. This would solve 1) but not 2).

Do you have any ideas on 2). Perhaps introducing a config flag that allows building outside a vm if the server is not public?

Any pointers on the new code layout since the refactor would be appreciated.




This comment has been minimized.


mlschroe commented Dec 16, 2014

Hi, I just added support for a "debootstrap" engine. You can activate it by adding
BuildEngine: debootstrap
to the project config. (You probably also need to add "apt" and "mawk" to the support list to make it work.)

I don't know if this fits your needs somewhat. (I don't think it solves 2)...)


This comment has been minimized.


mlschroe commented Mar 1, 2016

no feedback, so I assume it works. closing...

@mlschroe mlschroe closed this Mar 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment