mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Purpose of ptxd_install_fixup_timestamps
Date: Fri, 22 Jan 2016 16:18:48 +0100	[thread overview]
Message-ID: <20160122151848.GE6233@pengutronix.de> (raw)
In-Reply-To: <CAHChq8Or776RUQsFb1poguacVgsxOS2Eqz2nsEaG0HDHEa1MZQ@mail.gmail.com>

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

      reply	other threads:[~2016-01-22 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 13:59 Albert Antony
2016-01-22 15:18 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160122151848.GE6233@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox