Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.devel > #112280
| From | Reinhard Tartler <siretart@gmail.com> |
|---|---|
| Newsgroups | linux.debian.devel |
| Subject | Re: Reviving schroot as used by sbuild |
| Date | 2024-06-27 00:10 +0200 |
| Message-ID | <ITIZX-5Pwp-9@gated-at.bofh.it> (permalink) |
| References | <IT9zb-5qAc-3@gated-at.bofh.it> <ITe5P-5u22-1@gated-at.bofh.it> <IThGq-5wTO-7@gated-at.bofh.it> <ITEtj-5M3e-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Wed, Jun 26, 2024 at 1:11 PM Simon McVittie <smcv@debian.org> wrote:
>
> I don't think podman can do this within a single run. It might be feasible
> to do the setup (installing build-dependencies) with networking enabled;
> leave the root filesystem of that container intact; and reuse it as the
> root filesystem of the container in which the actual build runs, this time
> with --network=none?
>
> Or the "install build-dependencies" step (and other setup) could perhaps
> even be represented as a `podman build` (with a Dockerfile/Containerfile,
> FROM the image you had as your starting point), outputting a temporary
> container image, in which the actual dpkg-buildpackage step can be invoked
> by `podman run --network=none --rmi`?
>
>
Lot's of things to catch up on for me, but I remember writing an article a
few years
ago related to this topic. I imagine that one could whip up some kind of
wrapper
that is building a container either from a tarball created via mmboostrap
or similar
using buildah, have it install all necessary build dependencies, and then
use
podman to run the actual build:
https://tauware.blogspot.com/2020/04/building-packages-with-buildah-in-debian.html
I also briefly started playing with debcraft, which I really like from a
usability
perspective. It clearly doesn't have all the bells and whistles that come
with schroot,
but I do like the fact that I can very easily enter into a container with
the build
results to play around and debug stuff.
https://salsa.debian.org/otto/debcraft
--
regards,
Reinhard
Back to linux.debian.devel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Reviving schroot as used by sbuild Helmut Grohne <helmut@subdivi.de> - 2024-06-25 10:20 +0200
Re: Reviving schroot as used by sbuild Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-06-25 11:40 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-25 15:10 +0200
Re: Reviving schroot as used by sbuild Andrey Rakhmatullin <wrar@debian.org> - 2024-06-25 15:30 +0200
Re: Reviving schroot as used by sbuild Faidon Liambotis <paravoid@debian.org> - 2024-06-25 15:30 +0200
Re: Reviving schroot as used by sbuild Antonio Terceiro <terceiro@debian.org> - 2024-06-25 17:30 +0200
Re: Reviving schroot as used by sbuild Russ Allbery <rra@debian.org> - 2024-06-25 18:40 +0200
Re: Reviving schroot as used by sbuild Guillem Jover <guillem@debian.org> - 2024-06-25 18:50 +0200
Re: Reviving schroot as used by sbuild Marco d'Itri <md@Linux.IT> - 2024-06-25 19:10 +0200
Re: Reviving schroot as used by sbuild Russ Allbery <rra@debian.org> - 2024-06-25 19:30 +0200
Re: Reviving schroot as used by sbuild Andrey Rakhmatullin <wrar@debian.org> - 2024-06-25 19:40 +0200
Re: Reviving schroot as used by sbuild Russ Allbery <rra@debian.org> - 2024-06-25 19:50 +0200
Re: Reviving schroot as used by sbuild PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-06-25 19:50 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-26 18:10 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-25 19:00 +0200
Re: Reviving schroot as used by sbuild Helmut Grohne <helmut@subdivi.de> - 2024-06-25 19:00 +0200
autopkgtest + podman user experience (Was: Re: Reviving schroot as used by sbuild) Gioele Barabucci <gioele@svario.it> - 2024-06-25 20:20 +0200
Re: autopkgtest + podman user experience (Was: Re: Reviving schroot as used by sbuild) Paul Gevers <elbrus@debian.org> - 2024-06-25 22:20 +0200
Re: Reviving schroot as used by sbuild Paul Gevers <elbrus@debian.org> - 2024-06-25 22:00 +0200
Re: Reviving schroot as used by sbuild Stefano Rivera <stefanor@debian.org> - 2024-06-26 18:40 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-26 19:20 +0200
Re: Reviving schroot as used by sbuild Reinhard Tartler <siretart@gmail.com> - 2024-06-27 00:10 +0200
Re: Reviving schroot as used by sbuild Helmut Grohne <helmut@subdivi.de> - 2024-06-27 13:50 +0200
Re: Reviving schroot as used by sbuild Reinhard Tartler <siretart@gmail.com> - 2024-06-27 14:10 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-27 16:00 +0200
Re: Reviving schroot as used by sbuild Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-06-27 17:30 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-27 19:20 +0200
Re: Reviving schroot as used by sbuild Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-06-27 23:10 +0200
reproducible Debian containers exists today (Re: Reviving schroot as used by sbuild) Holger Levsen <holger@layer-acht.org> - 2024-06-26 11:20 +0200
Re: Reviving schroot as used by sbuild Bastian Venthur <venthur@debian.org> - 2024-06-27 11:00 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-06-27 19:40 +0200
Builds that pass locally but fail on sbuild? (Re: Reviving schroot as used by sbuild) Otto Kekäläinen <otto@debian.org> - 2024-06-28 05:00 +0200
Re: Builds that pass locally but fail on sbuild? (Re: Reviving schroot as used by sbuild) Simon McVittie <smcv@debian.org> - 2024-06-28 12:00 +0200
Re: Builds that pass locally but fail on sbuild? (Re: Reviving schroot as used by sbuild) Richard Lewis <richard.lewis.debian@googlemail.com> - 2024-06-29 18:20 +0200
Re: Builds that pass locally but fail on sbuild? (Re: Reviving schroot as used by sbuild) Sam Hartman <hartmans@debian.org> - 2024-06-30 00:00 +0200
Re: Reviving schroot as used by sbuild Philipp Kern <pkern@debian.org> - 2024-07-01 09:20 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-07-01 18:00 +0200
Re: Reviving schroot as used by sbuild Reinhard Tartler <siretart@gmail.com> - 2024-07-01 21:20 +0200
Re: Reviving schroot as used by sbuild Helmut Grohne <helmut@subdivi.de> - 2024-07-06 18:40 +0200
Re: Reviving schroot as used by sbuild Leandro Cunha <leandrocunha016@gmail.com> - 2024-06-25 20:00 +0200
Re: Reviving schroot as used by sbuild Sam Hartman <hartmans@debian.org> - 2024-06-28 15:10 +0200
Re: Reviving schroot as used by sbuild Helmut Grohne <helmut@subdivi.de> - 2024-09-14 12:00 +0200
Re: Reviving schroot as used by sbuild Simon McVittie <smcv@debian.org> - 2024-09-14 12:40 +0200
csiph-web