mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Purpose of ptxd_install_fixup_timestamps
@ 2016-01-18 13:59 Albert Antony
  2016-01-22 15:18 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Antony @ 2016-01-18 13:59 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 377 bytes --]

Hi all,

Could someone please explain what the purpose of the
ptxd_install_fixup_timestamps function is? It is called in the
targetinstall stage just before xpkg generation, seemingly in order to
change the timestamps on all soon-to-be-packaged files to the date
indicated by the PTXdist version. Why would one want to do that? Or am I
missing something here?

Thanks,
Albert.

[-- Attachment #1.2: Type: text/html, Size: 457 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] Purpose of ptxd_install_fixup_timestamps
  2016-01-18 13:59 [ptxdist] Purpose of ptxd_install_fixup_timestamps Albert Antony
@ 2016-01-22 15:18 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-01-22 15:18 UTC (permalink / raw)
  To: ptxdist

Hi,

On Mon, Jan 18, 2016 at 02:59:56PM +0100, Albert Antony wrote:
> Could someone please explain what the purpose of the
> ptxd_install_fixup_timestamps function is? It is called in the
> targetinstall stage just before xpkg generation, seemingly in order to
> change the timestamps on all soon-to-be-packaged files to the date
> indicated by the PTXdist version. Why would one want to do that? Or am I
> missing something here?

This is to minimize the differences between two builds. We're still a long
way from 100% reproducible builds, but it's one step in that directions.

It also reduces unnecessary changes when doing things like binary diff
updates with filesystems like squashfs.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-22 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18 13:59 [ptxdist] Purpose of ptxd_install_fixup_timestamps Albert Antony
2016-01-22 15:18 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox