Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.3706.1796373175565612250 for ; Fri, 04 Dec 2026 00:32:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=doiMIwqO; spf=pass (domain: smile.fr, ip: 209.85.128.49, mailfrom: bastien.jauny@smile.fr) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4a35a60499eso3352895e9.0 for ; Fri, 04 Dec 2026 00:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1796373174; x=1796977974; darn=lists.openembedded.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=UWkEHhElZnSPBlRUeEMeAfApqfKNrr0kqgk9zgBdlxo=; b=doiMIwqOP/WU+2rmEdPP6qYCiUonJixpFBaTtvzZdyEUcMBAoRbnSJqhxuIWnqan4p fUzOectu1pyeDKZ0V/4l2GlCcoSxLNEq5tRqIEBPwzmX4J50JIsz+bb5Mo6KN8FvwK5Y aEKZ/gEQnbFSO+eglubm/31K8CKq8AdQuFzC5oVoDHkhRJ/LH/LWHiqL6TTS4pJxLb70 zA1Q+wrDxyvpr717/On0waARI+jjd0CkmXTkTfDi4IQUDUbZ06x2U0IEZs3ztViHtOXT pDr+wdZC8BoYTsyz0a735QNtYNgYQ4Bs53Ap71HyfLDEY5x7VdWtu4IikJOgC/gM8mRo PkwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796373174; x=1796977974; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=UWkEHhElZnSPBlRUeEMeAfApqfKNrr0kqgk9zgBdlxo=; b=0hgX9KpSaPXlXaRnh+mGFmJI1sWogabX1Z+CTNPiwcGHO4wuYIskSP8Upqh+UacYuY wuMeWGMHFuwIVfz/njORFPEbUr9L2kZKejfFT5FVcRMwuatt9HkQLMznckDEtMP331pp HrbUju/dJ62VYzkGFgb5r68XSe1qN14b115ZcVR+MiDAntJgeAK6tuSQ6Z1jnPh6dYV5 n++GQ9YSn85tQ373FTMY/6c6z1cS0Ylgrr4D8a1IUoQvZJCsx1TlyaMbfRr48+f1bwYa mrgD3RtBlEFKfnAdfjTEDyTlelcgzyQFZM12smrRmEDzbMvfEcT9nIi3yM5cnFLiMj9d vBBg== X-Forwarded-Encrypted: i=1; AL+hErErIxD5lvDby7YwtO4fqz8B1zpfHFn3SF79GX1iKavN492StsHSYsa0IQj5Q89AV41WfFtPabCTUOrX/6yyX6fgmQ==@lists.openembedded.org X-Gm-Message-State: APuU4Z/x0ftwVG7wf5wi3T8B0MawYlijqojtE40zyLtVm6KHV8hw+Wzx aCgWg2nqRvI8XkLiTK/2/ngEmuHFjxmdRvtFsYr8G1LyopLgwBLbm6J7hS8DGt09Kh4= X-Gm-Gg: AZFdTZfbauc3lVfAUomCe8XlCutBXRE5MGTt7W6IrS380hRB8MTPQy6yscWproEeB9v wRlaonoBxuooB8eTAZdT8O8oPbOraRcj4ANWvFBtXAYRB9sgNuazTHBjpXgu/cgSzRA3pojk6+t 1D8jQxrl+J/xV42yfZkuQMERUdzzFCCIuIN8vIUyXs5q2okk8zVujxPVSGWl3aWPYD4atnDeonE GQ7NH+S4QioeAcPkLHO3GKJYXHl78nUnMl249R5xiRVj8HVHL0z1GVkHW/mMNtGLlwXYuJRNuoJ my2127zX2BYVo659ekVKzZqSRsc1LDg+6JYm6/f5Qf1GCpx7FYDlsYKORdV4YGD341RU9pddK8r erCTik6WZ2fTdFkXL/m9pjXVrccc8G9rNrP1z8vyc7TwYKg3MbdOYqN1es/vT18fpiUUHBfvoBD L7S8ziSYXHRVg6llQXif4oUaJgrmEjxFPIoxWNZtjEK2l20yntjbWsGIU/ziwuvR9KXxcGKf4p+ auD4vJccQLmPLt6Z20VkNmGxnLBFD68p9X3e4/L+8m6zFwsfWuUxxIewaHuQDbkdyFm07vLXfa9 Q8srvl8slmWlaGii4HNHj98GD4WjwcTSEjNqXsB049QtalU0wA3b9Zan+7SrCmsgDe0OKmalTiw wOKVJH42ncZE3y27o951FdY8KyQE6XY9J3a7f4Wc= X-Received: by 2002:a05:600d:82c1:b0:4bb:eed1:4c49 with SMTP id 5b1f17b1804b1-4bbeed14c66mr4420555e9.15.1796373173789; Fri, 04 Dec 2026 00:32:53 -0800 (PST) Return-Path: Received: from localhost (2a02-8434-bfe9-7501-ea8e-48fc-c9b2-1e9d.rev.sfr.net. [2a02:8434:bfe9:7501:ea8e:48fc:c9b2:1e9d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbe00a30absm140230015e9.10.2026.12.04.00.32.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2026 00:32:53 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 04 Dec 2026 09:32:53 +0100 Message-Id: Cc: "Alex Kiernan" , "Mathieu Dubois-Briand" , "Richard Purdie" Subject: Re: [OE-core] [wrynose][PATCH v2] image_types: keep the rootfs mtimes in ext2/3/4 images From: "Bastien Jauny" To: , , X-Mailer: aerc 0.17.0 References: <20261120073056.2733080-1-hsimeliere.opensource@witekio.com> <18EDFF673D424674.1012@lists.openembedded.org> In-Reply-To: <18EDFF673D424674.1012@lists.openembedded.org> List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 08:33:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251943 On Fri Dec 4, 2026 at 9:24 AM CET, Bastien Jauny via openembedded-core wrot= e: > On Fri Nov 20, 2026 at 8:30 AM CET, Hugo Simeliere via openembedded-core = wrote: > > From: Alex Kiernan > > > > mke2fs reads SOURCE_DATE_EPOCH from the environment and clamps the time > > of every inode it creates to it. bitbake exports the image's > > SOURCE_DATE_EPOCH, which is older than the REPRODUCIBLE_TIMESTAMP_ROOTF= S > > that reproducible_final_image_task gives every file, so an ext image > > carries different mtimes from a tar or squashfs image of the same rootf= s, > > and anything recorded against the rootfs mtimes, such as the fontconfig > > caches, is wrong in it. > > > > Give mke2fs the rootfs mtime instead, as oe_mksquashfs does for > > mksquashfs. It is just as fixed, so the image stays reproducible. > > > > This changes the times stamped into an ext image. Every inode's atime, > > ctime, mtime and crtime, and the superblock's created, last write and > > last checked times, move from the image's SOURCE_DATE_EPOCH to > > REPRODUCIBLE_TIMESTAMP_ROOTFS. An image recipe has no source of its own= , > > so its SOURCE_DATE_EPOCH is SOURCE_DATE_EPOCH_FALLBACK; with the > > bitbake.conf defaults for that and REPRODUCIBLE_TIMESTAMP_ROOTFS, the > > times move from 1302044400 (2011-04-05) to 1520598896 (2018-03-09). > > > > Where a distro sets REPRODUCIBLE_TIMESTAMP_ROOTFS earlier than > > SOURCE_DATE_EPOCH the inode times were not clamped and only the > > superblock times change. The directory hash seed is still derived from > > SOURCE_DATE_EPOCH and does not change. An ext image therefore differs > > from one built before this change. > > > > AI-Generated: Claude Opus 5.5 (Claude Code) > > Signed-off-by: Alex Kiernan > > Signed-off-by: Mathieu Dubois-Briand > > Signed-off-by: Richard Purdie > > (cherry picked from commit 2096871145c16d3b534a252951b960f1306740c1) > > Signed-off-by: Hugo SIMELIERE (Schneider Electric) > > --- > > meta/classes-recipe/image_types.bbclass | 6 ++++++ > > 1 file changed, 6 insertions(+) > > Hi, the commit message only applies to upstream versions. I think you sho= uld reword > it specifically for wrynose, it can be confusing right now. wrynose is > missing at least a commit to be compliant with this description. > > Thanks, Just to be clear: don't rewrite the whole commit message. Simply add a note about the differences. Thanks, --=20 Bastien Jauny Smile