From patchwork Sat Oct 3 21:42:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 99944 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F39ACA5FF4 for ; Sat, 3 Oct 2026 21:43:20 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.13636.1791063795683132748 for ; Sat, 03 Oct 2026 14:43:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google header.b=HowcldC/; spf=pass (domain: smile.fr, ip: 209.85.221.44, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-48afe75f055so523476f8f.2 for ; Sat, 03 Oct 2026 14:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google; t=1791063794; x=1791668594; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=h37iQzfSjWKwnQrGz7g5jtJoX8Bm1TyhFG4iqN0tii0=; b=HowcldC/AWh9QVQyntGd2kaedv+C79GFSicfy9JiH9f1cjlHWJRIZ60foFk6834/+w Zh/fpcsRTGaoR77iReRotL8rTcaXuooiF2xwYUmwvsXoDLA7SS+8zNBT1jmJxkpM80Qf uuqsH2tM6WOK6je736mTIidamy77F5XWBqnDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791063794; x=1791668594; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from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YOU3Fkps/fRY4+tWIMn6B3jNlRcMIVDiqZ+Jgt3o0yKOQooEhKcttjNX+6 cOkiOWTAeCpMcz5guoX2yHOYAbsqg26TdmHGIeWSykgIzpHBG015gqO0EHpeehzCxQ= X-Received: by 2002:a5d:64e9:0:b0:48a:fdb2:f2f4 with SMTP id ffacd0b85a97d-48c4801be23mr5904847f8f.57.1791063793974; Sat, 03 Oct 2026 14:43:13 -0700 (PDT) Received: from FRSMI25-LASER (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48b380f04e2sm12832952f8f.15.2026.10.03.14.43.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Oct 2026 14:43:13 -0700 (PDT) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 5/8] sstate: Update mtime/atime for sig/siginfo files in sstate_checkhashes() Date: Sat, 3 Oct 2026 23:42:13 +0200 Message-ID: <2bd595a9d95fac64174a25759124a0aa3d0dd001.1791061402.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 03 Oct 2026 21:43:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/247181 From: Richard Purdie If we touch sstatefile, we should also touch any .sig/.siginfo file if we can. We try and keep them both updated with accesses so one isn't removed without the other and they stay consistent. [YOCTO #15289] Signed-off-by: Richard Purdie (cherry picked from commit cc07895f951140dbbffcf32d3eabf65788cc4d00) Signed-off-by: Yoann Congal --- meta/classes-global/sstate.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 567797305f2..f2fc4e99524 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -978,6 +978,9 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True, if os.path.exists(sstatefile): oe.utils.touch(sstatefile) + for ext in ['.sig', '.siginfo']: + if os.path.exists(sstatefile + ext): + oe.utils.touch(sstatefile + ext) found.add(tid) bb.debug(2, "SState: Found valid sstate file %s" % sstatefile) else: