Re: Nearly reproducible Bookworm 12.6 live images

Philip Hands <[email protected]>
Newsgroups gmane.linux.debian.devel.cd
Message-ID <[email protected]>
Roland Clobus <[email protected]> writes:

> Hello lists,
>
> I'm sooo close...
>
> Now that that 12.6 live images have been generated [1], there is only 
> one embedded timestamp left (/boot/grub/live-theme/theme.txt and its 
> parent folder)
> I've not seen this timestamp issue before, as I am using a slightly 
> different way of building the image than live-setup uses.
>
> live-setup uses a local cache of the git repository of live-build, to 
> avoid being blocklisted by salsa for heavy traffic, caused by parallel 
> builds.
> This local cache brings that this file could have an old timestamp, 
> whereas my local builds always used 'now' (caused by git clone), which 
> would be properly truncated to SOURCE_DATE_EPOCH, and therefore be 
> reproducible.

AFAIK it's the repeated full clones that get you blocklisted.

I was having the same issue with the openQA workers which I've fixed by
adding a --reference-if-able option pointing at a locally accessible
copy of the repo on the workers (in fact the "local" copy is an nfs
mount, but it's enough to ensure that the worker is not trying to do a
full clone from salsa, and so avoids the blocklist)

I guess the thing to do is a fetch against the cache repo first just to
make sure it stays updated, then a clone while pointing at that repo
via the --reference-if-able option, then it'll still give you the same
result as doing a clone, without overloading salsa.

Cheers, Phil.
-- 
Philip Hands -- https://hands.com/~phil
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3/FBWs4yJ/zyBwfW0EujoAEl1cAFAmaFpwIACgkQ0EujoAEl
1cDIbxAAmSv6K+Le4AJNC4uR6A42+Ju4sgYEbBl8Fq0oa9GK4Lz0Xzpx+kb+T3wE
ya+VabVmkvkAqhqEseVorcct67RCpA6bmQYvS+tNOwzAe0sC2iqUkf6MHAi9Ch7e
c0gIiIhOaB+bckrmQHmFlv2iTveCJEbfjZ1DHDZtN+mgyBbYKgNe5pvdPD9F+DGQ
mb13H4ke8YPCzlbClRoOWl+n+l5EAiCWzJFKrVkJis6VlPiWDzivJbcauFHKpqud
pPt96IDBsgtL90EPfyoy7CWVPoE/g55enxeySr9WKrynaQlLMtNdxrp/zXeg0bMe
SKgU+IrCXh2BxeDaolxDtRFyPL23tjRdLIiqgGjn8F3DtD7A+16nMkaM6acH0nw8
CqeX4HB3xMJremaPdfDmUvfXsH1Npt2QruH91i28unRlV/d3CkW0gnPvRgCTKqIC
OydNeKr72dS5XIyxU6jX4AMg78HNiGUgGSedGaK7Ul5qX9eThsX4UgWMXsZIM/Ip
XIDJqtBoHQP0aZaJo6x4SvHF/irXsVKR+hu6KGbcuWsh5JiglyNAwJlz4uL7vzno
akxW9mqkAjlZUbeZ/K2B2xak6UI6IokcIbFBXAfB/nHdzyxpWl5CFLJn0IWm2hJk
aIGboVDD2+Yd3Wv8QO83eif4PFZkvWsFEcRK/c6jvGB2dd0VgaY=
=0qar
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.