[PATCH] build: Create deterministic tar archives
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Aug 11 05:43:38 UTC 2023
On 11.08.23 07:39, Chris Johns wrote:
> On 11/8/2023 3:37 pm, Sebastian Huber wrote:
>> On 11.08.23 02:22, Chris Johns wrote:
>>> On 10/8/2023 8:19 pm, Sebastian Huber wrote:
>>>> This helps to make the build reproducible.
>>>> ---
>>>> wscript | 11 ++++++++++-
>>>> 1 file changed, 10 insertions(+), 1 deletion(-)
>>>>
>>>> diff --git a/wscript b/wscript
>>>> index a8fca88dcb..4baf701c27 100755
>>>> --- a/wscript
>>>> +++ b/wscript
>>>> @@ -188,6 +188,15 @@ def process_start_files(self):
>>>> self.link_task.dep_nodes.extend(self.bld.start_files)
>>>> +def deterministic_tar_info(info):
>>> I suggest `tar_user_info` as the name.
>> The function changes also the mtime. What about reproducible_tar_info()?
> That is the out come and not the data itself. What about tar_metadata()?
What about make_tar_info_reproducible()?
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list