Hi Julien,

* Julien Puydt <julien.pu...@gmail.com> [2024-12-01 10:59]:
My use case isn't with a single package, but with a bunch of them. For
example, updating the coq package means about fifty packages in seven
stages. That means I compile all packages of one of the stages
(sometimes in parallel), move the results to a local repo, then go on
with the packages of the next stage.

Previously, I had a ~/Debian/repo with those updated packages and my
chroot mounted it as /repo, with its sources.list pointing to it.

After the move, I tried to use webfs to serve the repo as
localhost:3143, adding it as a --extra-repository='deb [trusted=yes]
http://127.0.01:3143 ./Debian/repo/' argument when I launch sbuild. In
the build log I see the sbuild accesses the repo and sees the list of
packages -- but it 404s when it comes to downloading :-(

Can you try:

sbuild --build-dir=~/Debian/repo --extra-package=~/Debian/repo

This should save all binary packages to the directory and use them in subsequent runs.

Would it be possible to document using a local repository in the above
wiki page?

Please add it if it works for you.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to