Bug#864082: Improved patch

Roland Clobus rclobus at rclobus.nl
Sat Jan 29 08:36:15 GMT 2022


Hello Johannes,

On 28/01/2022 20:22, Johannes Schauer Marin Rodrigues wrote:
> Would you be willing to submit an updated patch containing the name and email
> of your choice and a commit message that explains your change? What you wrote
> above is a good explanation I think.

Attached is the updated patch.

A commit message would be:
<quote>
This patch changes the behaviour of the cache directory filename
calculation to be based on the "source" directory name, rather than
being entirely random if the SOURCE_DATE_EPOCH[1] environment variable
was determined to be present via getenv(3).

The two main scenarios are covered by this patch:
1) Invocation of 'fc-cache' as a postinst step
2) Invocation of 'update-initramfs' as a postinst step where the
    initial ramdisk contains a font (e.g. when the plymouth hook calls
    'fc-cache -s -y TEMPDIR')
</quote>

or much shorter:

<quote>
Generate deterministic cache directory filenames if SOURCE_DATE_EPOCH is 
set.
</quote>

With kind regards,
Roland Clobus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-the-cache-filenames-determinstic.patch
Type: text/x-patch
Size: 2105 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20220129/3a7b2c13/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20220129/3a7b2c13/attachment.sig>


More information about the Pkg-freedesktop-maintainers mailing list