All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gaël PORTAY" <gael.portay@gmail.com>
To: ChenQi <Qi.Chen@windriver.com>,
	"Gaël PORTAY" <gael.portay+rtone@gmail.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] classes: rootfs-postcommands: set better sane time to systemd
Date: Wed, 23 Oct 2024 07:23:39 +0200	[thread overview]
Message-ID: <D52XNQQU5C7Y.3J2HGVU7IUNE3@gmail.com> (raw)
In-Reply-To: <fb2ad9b5-3b48-4b8b-b0b1-f6758f6ad4cb@windriver.com>

On Wed Oct 23, 2024 at 4:40 AM CEST, ChenQi wrote:
> The timestamps of all files in rootfs will be changed again by 
> reproducible_final_image_task. To achieve what you what, what you need 
> to do is touching an empty file, $D/usr/lib/clock-epoch, in systemd's 
> do_install task.
>
> And when you create /usr/lib/clock-epoch at rootfs time and changes its 
> mtime to the current time when REPRODUCIBLE_TIMESTAMP_ROOTFS is not set, 
> its mtime will be set again by reproducible_final_image_task to be the 
> commit time of the latest commit. This means the touch action in rootfs 
> time is useless.
>

Thanks for the clarification, I will give a try.

> Regards,
> Qi
>

Regards,
Gaël


      reply	other threads:[~2024-10-23  5:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-19  2:19 [PATCH] classes: rootfs-postcommands: set better sane time to systemd Gaël PORTAY
2024-10-21 10:25 ` [OE-core] " Alexander Kanavin
2024-10-21 17:02   ` Gaël PORTAY
2024-10-21 17:09     ` Alexander Kanavin
2024-10-21 18:02       ` Gaël PORTAY
2024-10-21 18:06         ` Alexander Kanavin
2024-10-22 18:40     ` [OE-core] " Peter Kjellerstedt
2024-10-22 23:13       ` Gaël PORTAY
2024-10-23  2:40 ` ChenQi
2024-10-23  5:23   ` Gaël PORTAY [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=D52XNQQU5C7Y.3J2HGVU7IUNE3@gmail.com \
    --to=gael.portay@gmail.com \
    --cc=Qi.Chen@windriver.com \
    --cc=gael.portay+rtone@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.