Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.3404.1796372644796875308 for ; Fri, 04 Dec 2026 00:24:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=lG/GYxcp; spf=pass (domain: smile.fr, ip: 209.85.221.41, mailfrom: bastien.jauny@smile.fr) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-4a7b8abe209so422931f8f.0 for ; Fri, 04 Dec 2026 00:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1796372643; x=1796977443; darn=lists.openembedded.org; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=DDv1GNR6qctXNJ1Mo0O/xWIE/MjstA+4mU3ZNnxp53A=; b=lG/GYxcpgX3QE0tDot3hChpuSQq6UNfT8QqB6ECQldz45ZL7LPI8W5wo5/o+1VtJBB D+EH0mW7vzRu7ame2b/nOo8I9dabtk1pNpHLt07GjyP3FSmZ2djTJJMxTmQjffh+/ual FM6KHRCfeXHZx9hi1GmDlIZo0DhBQhL1MuUiYghxsPCS0dvoTtdAeoQYyybZxQxrhGvb 4yHXcBuKXF2Q1HBjRnJaMiKa9Gybh4ieqebhJNX320ftLHft1Hxkm/gUPnOqcY2SA+Iw zybIp6izL7WHIywedNR4+LDemA8x8pNSQHkRhVdxtg8/alBYI4M42EBzoMPs3X/HXvip Y4mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796372643; x=1796977443; h=in-reply-to:references:cc:to:from:subject: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=DDv1GNR6qctXNJ1Mo0O/xWIE/MjstA+4mU3ZNnxp53A=; b=qtyARev+shG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4qGbO2x+Ds0GMwTKLMw5HBoE2iAHbeUx4n4PwbjWoEWhaHvEv3k L5baJ+FD68W2A5oaG5DmcQYp0j86CXKyXSAWRP4gdW4jqvcgEsgojJkyY2RtQ6E9vV6OEp6gzZQ BTbMeFZQVaubgHvNuvxbY4pVL4+ueZDYeVn8wFLuYqcwFoM3qStApUf+zinLF2tOMN3qJk6CnKY xpCCgKXswowj4ByMyyw== X-Received: by 2002:a05:6000:258a:b0:48e:3767:d885 with SMTP id ffacd0b85a97d-4d1ebab7850mr2277386f8f.53.1796372643208; Fri, 04 Dec 2026 00:24:03 -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 ffacd0b85a97d-4d174fe6fbcsm3877625f8f.58.2026.12.04.00.24.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2026 00:24:02 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 04 Dec 2026 09:24:02 +0100 Message-Id: Subject: Re: [OE-core] [wrynose][PATCH v2] image_types: keep the rootfs mtimes in ext2/3/4 images From: "Bastien Jauny" To: , Cc: "Alex Kiernan" , "Mathieu Dubois-Briand" , "Richard Purdie" X-Mailer: aerc 0.17.0 References: <20261120073056.2733080-1-hsimeliere.opensource@witekio.com> In-Reply-To: <20261120073056.2733080-1-hsimeliere.opensource@witekio.com> 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:24:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251942 On Fri Nov 20, 2026 at 8:30 AM CET, Hugo Simeliere via openembedded-core wr= ote: > 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_ROOTFS > that reproducible_final_image_task gives every file, so an ext image > carries different mtimes from a tar or squashfs image of the same rootfs, > 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 shoul= d 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, --=20 Bastien Jauny Smile