From patchwork Mon Sep 2 10:31:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Ferreira X-Patchwork-Id: 48572 X-Patchwork-Delegate: steve@sakoman.com 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 44C32CD13CF for ; Mon, 2 Sep 2024 10:32:18 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (EUR02-VI1-obe.outbound.protection.outlook.com [40.107.241.68]) by mx.groups.io with SMTP id smtpd.web10.35610.1725273129449070220 for ; Mon, 02 Sep 2024 03:32:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@criticaltechworks.com header.s=selector1 header.b=JV04GD9t; spf=pass (domain: criticaltechworks.com, ip: 40.107.241.68, mailfrom: pedro.silva.ferreira@criticaltechworks.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=USIFi1W+GAd8F1xZYLbSC3uOsqtsopVVz00TyDDVcxoW5gNEpD185kBlZxgZhnTHlbZfMDjubokZ0g93NSZtJlANAe5z6HK6PaHjeKrMoVohl823VJ3Sk5gdOVmkXJE6+lmHLtIQy2VJWzisYvD3TaOHuB31FKsLIXXtHhUH+AcD8MHlykUEcK9g8lYrEhY9jZy1oS+29zMlisf9ehklnicnVdNhneznzGa5pKaO97P88Pn7ilLWJjTiZ2Oi+MeWILZ5mJyumwaen9G6I4q569QWsPUM7NE6TvQofx/BKndpj2xilRAo98vyqumTySp9wqp6nOQF82/E2hQTeq7onQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uzEsrRWS69FEHOLQDmlu4Eu6Ovs07WFvcpCFjt2Ja78=; b=KJlIWWi3cCz3xiVogUzupU0cek0iodDQNYc3s1vZ2gAyrGxmPEwW3ezgI7MBnxMnA+CXVxolsqg3wpSIo/wlSTf4xM6jgcB1QZklgfP0XWMnEivJx0Qee+1FVXRbupK4qFV4JZKVf0jacUnN+3i8tSbVB+sTQPpsTI/YDFBVSKE/mhkuy8+cnBUIQ7SYu3zEFLJgrDWgpnS6VDocZ5y2j+UpuoOJykxfOaTtwOYohgWcuqYm51pBYJHOpsUao3RCia2rVWW2OPwaAdEUFiaMPlj/4DRXlTRkPEU5TRLsTJ9EXP98A6uHZ8S4X4y442E2FgOna6lJZNQ6Yd717cIQUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=criticaltechworks.com; dmarc=pass action=none header.from=criticaltechworks.com; dkim=pass header.d=criticaltechworks.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=criticaltechworks.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uzEsrRWS69FEHOLQDmlu4Eu6Ovs07WFvcpCFjt2Ja78=; b=JV04GD9tKskmK0FmOyy/Fi0Kl12ExpDLFwxoHZy9U7uMvdSWzCZ+H7qByindOAdgbekEth4TwMTqhn9jUvbsorbqLH16jusaviXypeLbylwKFTQfTNNHq+zdMEzcOKhR6GB0znQan+m1JSRQY22j4drmzEIcg/5IinSPpPZLH8qCzXxszCfU2KF8IEotlsR/15m2U5EOwKsx7PvDhlkA2Ya7IHskzBbjRoS0lMMmPfvGwoakbsRMQpZF2szwLuluCMRa+7hRUXB/fBqphnHpjkd0nrg919chsmAMd37Rt58JopyAFSV6v/qkcha5nKP8MU4wIQ5NnZ3G+pOZQY6VlQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=criticaltechworks.com; Received: from AM8P193MB0900.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:1ed::9) by DBAP193MB0890.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:1c7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Mon, 2 Sep 2024 10:32:00 +0000 Received: from AM8P193MB0900.EURP193.PROD.OUTLOOK.COM ([fe80::c359:f497:ed59:65a1]) by AM8P193MB0900.EURP193.PROD.OUTLOOK.COM ([fe80::c359:f497:ed59:65a1%4]) with mapi id 15.20.7918.024; Mon, 2 Sep 2024 10:32:00 +0000 From: Pedro Ferreira To: openembedded-core@lists.openembedded.org Cc: Richard Purdie Subject: [scarthgap][PATCH 4/4] sstate: Drop SSTATEPOSTINSTFUNC support Date: Mon, 2 Sep 2024 11:31:48 +0100 Message-Id: <20240902103148.3762538-4-pedro.silva.ferreira@criticaltechworks.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240902103148.3762538-1-pedro.silva.ferreira@criticaltechworks.com> References: <20240902103148.3762538-1-pedro.silva.ferreira@criticaltechworks.com> X-ClientProxiedBy: PA7P264CA0502.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:3da::27) To AM8P193MB0900.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:1ed::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM8P193MB0900:EE_|DBAP193MB0890:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a4cc4ae-012a-410a-f15e-08dccb3a78c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: UHJLhGKl5LW7MPOs+aj2DVX5VhxjtuQtP8mBj9NHHWmnXrPrTidY6BUIDPaIK8CDGL2cjSU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bP9r6wt62n3Ojh3X8WeH5WnqNNQzVX73Og8dbo9U04wLxzWI/XnaAxfLpyhx5VJlICDyZzjTKC3KON+StbkfDosHdsp04KiLMf1gFA6ZaKNMfAw8/pJvyX9QAwKO44Db3Ypx0+KJruIAYdD8QZx66fT98xdm2L649R+n9MG6xvgqzr8TyJrEc4SfnHnzF1TyZKQmYohBIIemsOpW2C8BO5GmTN3T9+4EAJAGQHtY7rtpggjnkGxanRTLaEwGJni2zEN1S6XeZjsklg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM8P193MB0900.EURP193.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MlVzX/r3DUglJ4VZufHf12D6WFvN8vQ0tXxokbsrQvdNmOpl0QzbR0xZNnvNC2vdtXnuCJBna2917ECZAH57QVEzOKFBUsL+ApBCOzYf8tD1Ft9m1J7agXE/XQ94xig+QV7c1+todyDWlqmiJSWgUPvwUucBs7kZrT5URuzfKHQVGl1rx64GQQSDCJ5RdtgI+KQGjdQQWJwRa6weFcno9boyhfvKWlOyRZaMtp174pvVvBd3BTQ6n/shD6dSeGXucJuQaOM5i10LttkvNYdJ9In/8bFU9k6t8gc1k7KqrryhL6pQ/EgwBIb41GbhsdKcqLhrm3MvO+nZ7KYeQIp+z2ed2o+knsvYcEFsSSg8bFSMigKmXn6v/RsR1y51oWd2lYmVTJu+dP353kJ6huA59ov8JUX4ICUznEBoiS8Yczoch4vBzgKaEyh5hZzTmoYVWAbTwrQCmk2pPdVadGvqnZwHFEZ7def3hLqkDA75h+/vFoQ35NpZMY5BnSLzjoAgwgGXRbCf1mHF/1AFRsOqwZXHOzBP7o1TTsH3T7Dk++ZbExLy+AscTc0vEHdxMvI9PXajonPBg/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= X-OriginatorOrg: criticaltechworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a4cc4ae-012a-410a-f15e-08dccb3a78c2 X-MS-Exchange-CrossTenant-AuthSource: AM8P193MB0900.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2024 10:31:57.5502 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 61f30b8e-4f6b-44fe-9bc2-041e3a9f7346 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SNKT89hC2FJHkCAInOmiVPc1MKdq4Ukhb5xzYDg6kzLieIcGOkI2Lw7RcxwTi4OX/XPK18YpBeHQSoeG6AonQnkAHPrjiC8W7tBFi0FijYc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAP193MB0890 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Sep 2024 10:32:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/204083 From: Richard Purdie This was deprecated with the introduction of postfunc support for tasks in general and only used by buildhistory. Now that usage has been removed, drop the code from sstate.bbclass. Any other users should be able to use postfuncs too. Signed-off-by: Richard Purdie --- meta/classes-global/sstate.bbclass | 6 ------ 1 file changed, 6 deletions(-) -- 2.34.1 The information in this communication may contain confidential or legally privileged information. It is intended solely for the use of the individual or entity it addresses and others authorized to receive it. If you are not an intended recipient, you are hereby notified that any disclosure, copying, distribution or action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication by error, please notify us immediately by responding to this e-mail and then delete it from your system. Critical TechWorks is not liable for the proper and complete transmission of the information in this communication nor for any delay in its receipt This e-mail is environmentally friendly, just like Critical TechWorks, which lives in a paper-free atmosphere. Therefore, please consider the environment before printing it! diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 93df5fa9e6..42b7e03513 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -103,7 +103,6 @@ SSTATECREATEFUNCS[vardeps] = "SSTATE_SCAN_FILES" SSTATEPOSTCREATEFUNCS = "" SSTATEPREINSTFUNCS = "" SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack" -SSTATEPOSTINSTFUNCS = "" EXTRA_STAGING_FIXMES ?= "HOSTTOOLS_DIR" # Check whether sstate exists for tasks that support sstate and are in the @@ -332,15 +331,10 @@ def sstate_install(ss, d): if os.path.exists(state[1]): oe.path.copyhardlinktree(state[1], state[2]) - for postinst in (d.getVar('SSTATEPOSTINSTFUNCS') or '').split(): - # All hooks should run in the SSTATE_INSTDIR - bb.build.exec_func(postinst, d, (sstateinst,)) - for lock in locks: bb.utils.unlockfile(lock) sstate_install[vardepsexclude] += "SSTATE_ALLOW_OVERLAP_FILES SSTATE_MANMACH SSTATE_MANFILEPREFIX" -sstate_install[vardeps] += "${SSTATEPOSTINSTFUNCS}" def sstate_installpkg(ss, d): from oe.gpg_sign import get_signer