Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-11-03 Thread Daniel Leidert
Am Donnerstag, dem 28.10.2021 um 11:58 +0300 schrieb Uladzimir Bely: > > I need to cache outside of schroot these .deb files that were downloaded by > apt. They are supposed to be used for creaing a local partial debian > repository, so that the second build will use this local repo instead of

Re: Re: Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-11-03 Thread Uladzimir Bely
I investigated $apt_keep_downloaded_packages=1 and found that this feature was added in more recent version of sbuild than debian `buster` provides (https:// bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=933723 is a bug where it was solved) Probably, that's why I couldn't get any results under

Re: Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-10-28 Thread Tobias Frost
On Thu, Oct 28, 2021 at 07:11:05PM +0300, Uladzimir Bely wrote: > Thanks for the answer > > > You have not explained why you don't want to use a caching proxy like apt- > cacher-ng. > > The question appeared while developing for Isar, a tool build create debian- > based distro for embedded system

Re: Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-10-28 Thread Uladzimir Bely
Hello. Thanks for the idea with $apt_keep_downloaded_packages=1. I'll try to play with it. Previously I tried to mount external directory to /var/cache/apt/archives inside schroot, but finally found it almost empty (only some .lock file was there, AFAIR). As I understand, that it was really us

Re: Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-10-28 Thread Uladzimir Bely
Thanks for the answer > You have not explained why you don't want to use a caching proxy like apt- cacher-ng. The question appeared while developing for Isar, a tool build create debian- based distro for embedded systems. In two words, it's similar to Buildroot, Yocto and others, but it uses off

Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-10-28 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Uladzimir Bely (2021-10-28 10:58:26) > When building a package with sbuild, some packages (dependencies of package > being built) are internally downloaded and installed by apt. After the build > finished, schroot is cleaned again (while everything is done in overlay) > > I need to

Re: sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-10-28 Thread Andrey Rahmatullin
On Thu, Oct 28, 2021 at 11:58:26AM +0300, Uladzimir Bely wrote: > When building a package with sbuild, some packages (dependencies of package > being built) are internally downloaded and installed by apt. After the build > finished, schroot is cleaned again (while everything is done in overlay) >

sbuild/schroot: need to get .deb files internally downloaded as package dependencies

2021-10-28 Thread Uladzimir Bely
When building a package with sbuild, some packages (dependencies of package being built) are internally downloaded and installed by apt. After the build finished, schroot is cleaned again (while everything is done in overlay) I need to cache outside of schroot these .deb files that were download