Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.
Open
7 changes: 7 additions & 0 deletions contrib/clemux/docker/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ already setup to use apt-cacher.
Otherwise, you'll need to edit the ``sources.list`` files to use the
mirror of your choosing.

Copy a patch for sbuild from
``contrib/debian/support-for-schroot-sessions.patch`` to enable using an
schroot session in sbuild. When in the root of the Debile repository,
run:

$ cp contrib/debian/support-for-schroot-sessions.patch contrib/clemux/docker/debile-slave/

Docker runs as root, and the ``docker`` CLI program will need access
to docker's unix socket. If you don't want to run ``docker`` as root,
you can add your user to the group ``docker``:
Expand Down
2 changes: 1 addition & 1 deletion contrib/clemux/docker/debile-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y python python-dput dput-ng python-fireh
RUN apt-get build-dep --assume-yes sbuild
RUN apt-get source sbuild
COPY support-for-schroot-sessions.patch /tmp/
RUN cd sbuild-* && cp ../support-for-schroot-sessions.patch . && \
RUN cd sbuild-* && \
patch -p1 < ../support-for-schroot-sessions.patch && \
dpkg-buildpackage -us -uc -nc
RUN (dpkg --install *sbuild*.deb || true)
Expand Down
218 changes: 0 additions & 218 deletions contrib/clemux/docker/debile-slave/support-for-schroot-sessions.patch

This file was deleted.