From patchwork Tue Aug 18 12:28:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaipaul Cheernam X-Patchwork-Id: 95604 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 9AF15C5DF84 for ; Tue, 18 Aug 2026 12:29:21 +0000 (UTC) Received: from PA4PR04CU001.outbound.protection.outlook.com (PA4PR04CU001.outbound.protection.outlook.com [40.107.162.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7636.1787056158598812296 for ; Tue, 18 Aug 2026 05:29:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@est.tech header.s=selector1 header.b=FMhnkdg9; spf=pass (domain: est.tech, ip: 40.107.162.4, mailfrom: jaipaul.cheernam@est.tech) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jryLWd/Nuzef3Lyg7PljcmOM7ABeHE4NGouusrzFeBcBmXfymAkf2l4EcnYFOCo6ajbMsEnqky/1J9NyYzE2TnmmVlQ/LjcPeXJ6nGuAOmn95mmkGmZUDLdbN8VjP9KDEHxjj+JDncqfquqVpSuBc+S/Xre/0aQ+Pdh8ZVya13X36q8p81qsKCwaNkQLqy+A8vORF0I0Jm3W7xFrYVyYsKzcIMlI8IbhmYGBYzdQE5fdkBohZ7nV3KECbaRaBGkAlxAgtLbI2yjeKgo5lNVUh6/p56CJRAKdeeYK9dPMjouZqbaxzIwjDC6JorzfOumts3WbdzujAQ60kioHyoTcUQ== 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=BeSsmTMFc2CU3PI9sHDSVjRv0Q5aFH48XiVydhu7WTw=; b=yYXyjXPIAVM1Tzx+M8DQ38UxBm0dtCQdVsSy7WhgC5L6ONADw6CCDS38TAhSXXpEKl/3s0cAy2hquqTYsucVSBO+t51is5gMK+slY02/Bu86E2NARZwqrazAeu17CqiV3MM4SohuHdnPaDcYvAX4kpdUofnFpApKHJ5EihhAfQ/tx1MsNNRGddzA+CTbXwCnQQhxGzgWWJ5kKMHdQMfI+NFqgXcPGlNQGvV0rQIFhxTHPU0PVY4JpnVCzNRf6FbL6rZDK29CYWvr1TwqZF8MdO+I1CwvGsNY+QOA8B6xpDTicnlBZZXgWBKeatmeytjQoJwGzVxeCzn8QKmK7bhHeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BeSsmTMFc2CU3PI9sHDSVjRv0Q5aFH48XiVydhu7WTw=; b=FMhnkdg9rnDqNXzcKCaVd4OIT7hyzwAn4nxB5wzcMyrEBsYMUi8W5x3FJt9pXLre+ADmUcbRLs8UFySUNej1nO4ouzdhVBeTrtK48zhP2kaThl9MWr1ztWfprWkWYuvFfMksGjnkiztOdiaFRYqR+6+LsS9xKucbX9IFtl3WmYvFIuGLcQrU/EdkvXVggeNpMO/MaZ0hC6TTpN9pZ8wcvMx/g9gAhnJgyicOMBjJ6WEoRwsodX67ZpwoIjbG+18yJbRlk00tx7RobzPB56fqJRIRJz0d9wzZJzPOvbIqSgTwo+eCUQfFUiikSonjhVNR/iKvB2jhLFq9xxqPKfpRxQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; Received: from DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM (2603:10a6:18:3::ad4) by DB8P189MB0796.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:122::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.339.8; Tue, 18 Aug 2026 12:29:13 +0000 Received: from DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM ([fe80::7ab2:c6af:6760:5c85]) by DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM ([fe80::7ab2:c6af:6760:5c85%7]) with mapi id 15.21.0339.007; Tue, 18 Aug 2026 12:29:13 +0000 From: Jaipaul Cheernam To: openembedded-core@lists.openembedded.org CC: Jaipaul Cheernam Subject: [PATCH 1/2] libtracefs: import recipe from meta-oe Date: Tue, 18 Aug 2026 14:28:56 +0200 Message-ID: <20260818122857.54302-2-jaipaul.cheernam@est.tech> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20260818122857.54302-1-jaipaul.cheernam@est.tech> References: <20260818122857.54302-1-jaipaul.cheernam@est.tech> X-ClientProxiedBy: DU2PR04CA0346.eurprd04.prod.outlook.com (2603:10a6:10:2b4::33) To DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM (2603:10a6:18:3::ad4) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU7PPF66507B2D7:EE_|DB8P189MB0796:EE_ X-MS-Office365-Filtering-Correlation-Id: 693eb1b6-3467-43da-2ef6-08defd24500d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|23010399003|376014|366016|10067099003|11063799006|56012099006|22082099003|18002099003|3023799007; X-Microsoft-Antispam-Message-Info: 8HUGyvFZyjwP8pXQLwDfw7xrbNIyzUkuQEJWKfT06n9zykn4ZD2SRv3l44X9DrE8LtOBEIcgu4BeFb4ZAzrTnX6zGH592aNPHrl69NOWFeSl8JektMvSDafHEkCMvSJwlp/xmvddYYqcLZ3yucduE9YvXOMJjHlpN3BH7kgm+H3qvFhvS/z6JWrg7HV0LaZSVt9Uwlz70SAVErYmjsAtpgdnqGu7Oh5nYS4yqpPoKpEnHOKCxbB187zJ8EvWnfI0m2Fcteg9GKYMVn9G/O7zRxiN2al8wvR7Mo859tZ+wV2jWG67efxJtdSV9arb3UfKoQ5ckP4MN4KmWEA0bZjIFIaM9WXLgtDKK0ozk8BVSlk8YjXFre00UnzcH8HdCRCD9ZY/dlGyuGHwT0ucNKuOfRw6WD4df9HnA8T3456devwG4iNQdwluWNvn9u/4Nsl0M3OqIOvY2RH5WXb4nah4mcUu3EnWPinLutfdgo4GJ0C7mr5v8JBYM3gOFld/vSdcVWMu97HFVFVkSzZ2tRNwGAWwXBMBY+WWnLQp3bZIPnZJQDyD5gyWpFFVrKpb+CKlugIXdxnuoBLTPsgreHWT1fgWXJDJmU3wO1WO1Hy4FWwqCxDHjMIU4eby9x1AeiSCxP+T8WT0Uge4oBrJOkY/WZreRz5ZjDbk9BuVvq5CgnY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(23010399003)(376014)(366016)(10067099003)(11063799006)(56012099006)(22082099003)(18002099003)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mB01Ct7Auhs9ltg2gwcMAZOC/606wLPb+++SU/+C3KvhO33QFL27gjyim8rDTEgnnBIBJN8YmdAB2qNx41Yt+J/cH3Pd6uAS04/SaWZShSDTRYiiHeG3hExh0xTjI+lbXSdGm9cr3WByvLPBpQrkHjo5fR068a0EoOb4wJ30fOGF1SzaGIkmQIrvOfkKiGyIU1MIuoYEZ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BhnwsC5mMX7xVHvJqvtvF3/Y/TnqAhScrglh79l0yIc8rawv4cPh/U0C1c5SicQCqJbst4OwFwlDmJMO5LDV3dmy3/fY978b0hsa6Z8UBtvE89rjs1TOaO5ZBkU+Vvrzz1HCce74OuRwpplWbKi7hei1ndSYrLS59UvsEgYSs0lqYotJIXf6wMjiyNIr4AnW8x8ag76xERnpchKoZWSWNvU1EYpAi/+/TlSfFDSUJewQ7sRFfkfmDYNf75hv5+YuZfiD2cMPs8PH6GCPg3TV4gE49YXZpxHadVUeZlDtWtRUM2HAt4mtdcdZLs4q99p3WbmpH5yripNFaS3IwstbMqcLqiTOIBpeb+ML4e9QwnhSInMZg3CMCid/tdyCQ47X8xrM3zXflH5nRAeGmUG0wIEfJtKhkQGzsqtoAGzr4v4WiVzzdjJ8CuPu09P78jom0niHWAyj9d8lVwKEKA8A8xh84Kw== X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-Network-Message-Id: 693eb1b6-3467-43da-2ef6-08defd24500d X-MS-Exchange-CrossTenant-AuthSource: DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2026 12:29:13.7938 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: m8BXN7uQvA114MTjwmHCBFqoJcwBbKZfdOpuUgYHo2KAa8eggkR2tmoL3uzuPSrQj3TY4XUWtAIf3tt7Kkmio+kyk7V2KBFQr6EfAKU7G78= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P189MB0796 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 ; Tue, 18 Aug 2026 12:29:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/243679 powertop 2.16 requires libtracefs (2b133ed [1]). Since powertop is in oe-core and libtraceevent is already here, bring libtracefs over. [1] https://github.com/fenrus75/powertop/commit/2b133ed512c6852cf81cb98831bdfd585c0317bf Changes from meta-oe version: - fix SUMMARY - add maintainer entry Signed-off-by: Jaipaul Cheernam --- meta/conf/distro/include/maintainers.inc | 1 + ...not-preserve-ownership-in-cp-command.patch | 28 +++++++++++++++++++ .../libtracefs/libtracefs_1.8.3.bb | 25 +++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 meta/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch create mode 100644 meta/recipes-kernel/libtracefs/libtracefs_1.8.3.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index ecba7d0db1..30f3d510df 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -414,6 +414,7 @@ RECIPE_MAINTAINER:pn-libtool = "Robert Yang " RECIPE_MAINTAINER:pn-libtool-cross = "Robert Yang " RECIPE_MAINTAINER:pn-libtool-native = "Robert Yang " RECIPE_MAINTAINER:pn-libtraceevent = "Bruce Ashfield " +RECIPE_MAINTAINER:pn-libtracefs = "Unassigned " RECIPE_MAINTAINER:pn-libtry-tiny-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libubootenv = "Stefano Babic " RECIPE_MAINTAINER:pn-libucontext = "Khem Raj " diff --git a/meta/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch b/meta/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch new file mode 100644 index 0000000000..7eaf29e4c4 --- /dev/null +++ b/meta/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch @@ -0,0 +1,28 @@ +From ab6f78bfd6811c648ee71663cfc4dc8be151a519 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 21 Dec 2022 22:50:56 -0800 +Subject: [PATCH] makefile: Do not preserve ownership in cp command + +Fixes +ERROR: libtracefs-1.6.3-r0 do_package_qa: QA Issue: libtracefs: /usr/lib/libtracefs.so is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 7f4f5c3..1ba7b9d 100644 +--- a/Makefile ++++ b/Makefile +@@ -296,7 +296,7 @@ endif # DESTDIR = "" + + install_libs: libs install_pkgconfig + $(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)); \ +- cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) ++ cp --no-preserve=ownership --recursive $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ) + $(Q)$(call do_install,$(src)/include/tracefs.h,$(includedir_SQ),644) + $(Q)$(call install_ld_config) + diff --git a/meta/recipes-kernel/libtracefs/libtracefs_1.8.3.bb b/meta/recipes-kernel/libtracefs/libtracefs_1.8.3.bb new file mode 100644 index 0000000000..c010555b1f --- /dev/null +++ b/meta/recipes-kernel/libtracefs/libtracefs_1.8.3.bb @@ -0,0 +1,25 @@ +# Copyright (C) 2022 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Library to access the kernel tracefs directory" +HOMEPAGE = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" +LICENSE = "GPL-2.0-or-later AND LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \ + file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" +SECTION = "libs" +DEPENDS = "libtraceevent bison-native flex-native" + +SRCREV = "6fad6a14ba0d4c4b437d9e4eed7098d4bb07b4fc" +SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https \ + file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \ + " + +inherit pkgconfig bash-completion + +do_compile:prepend() { + touch ${S}/src/sqlhist.tab.c +} + +do_install() { + oe_runmake install DESTDIR=${D} pkgconfig_dir=${libdir}/pkgconfig +} From patchwork Tue Aug 18 12:28:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaipaul Cheernam X-Patchwork-Id: 95605 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 AF43AC5DF7D for ; Tue, 18 Aug 2026 12:29:21 +0000 (UTC) Received: from PA4PR04CU001.outbound.protection.outlook.com (PA4PR04CU001.outbound.protection.outlook.com [40.107.162.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7636.1787056158598812296 for ; Tue, 18 Aug 2026 05:29:20 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@est.tech header.s=selector1 header.b=mE4uP7dg; spf=pass (domain: est.tech, ip: 40.107.162.4, mailfrom: jaipaul.cheernam@est.tech) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MuRu+eDX0+RxpNTf9hTd0sERB0ZATBPELuRafZKFjLQoLlgi8V4uy889jMHGs2f9w04M2wUR5HlNifEtD/vIvHn1rGkbHq/R5Y5WhMNlpcme3rz8RjCMI+ih1qio8zKvvWiK7/I6TKCzNKEm1AUTzKWwC36khROGR25+CyMUfAeUzqr4zZteTt9g/+Zdrm2uJ3bQgNFrEYK0ZRUY0e2R5uVoomCHbqXbZ/NhiOUqs61kWpBwzeZ9gVPLyZ/uqlHQ8OPvEa3uP8RNLemat9A+G/mrdw4pPVfWD3aSXTwBJhVN1A0lNs1P4cLTAgKuC476R/GnOzwMqpKzQEaQb+CGdA== 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=MAXtrqnfzIJPuJ5suelSCg9oyM5spkJiD4oS+k6ISrs=; b=C2InhSP2fqiu0Dz5i4S11pNFPBH9xVt23uwNyWL8bzk0B9p/A/7LUNJfHQweBbjp/i0Ql5UvkiHQyG7oLresuGOJ3oFvG6odD/jvAeizuk2XbZrfiblyPwlg3bj8QgWa8Y7cNm8kqcyvPSbwET0IhKDuoAHl2D00CBDuDzyxac7k0Q7cJXAEU316qZHwmnkWlqqF8qVvOdBGl83nPkxuWOXxYX+hoglUDmhViZKfGT4GrG+h7xtgcK6q0Vsnu7ZpTCZ4KCZlN/CDTUoOeny3wK6Pw5YO4FrshifcYAjyMrW/OrccTipujvj70qKBr+1fYksF+Fn3UDSanwmjKe7Gsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MAXtrqnfzIJPuJ5suelSCg9oyM5spkJiD4oS+k6ISrs=; b=mE4uP7dgxX9L+j5d95NnZhgi3YmpdP2aHN+ZI76BU8SHNh4DCINGThjTLlnnlyfO/9mSYY1iy6ZzAQENrLW+NAoVkBWQKswBMFXZkblTC/oPpUBF34t2SWoZxwdSkE7jDnmLqEMwjRFwOe6YlxDB0x6lA4zhaXk5K54erG8N4gadZqUp6fNdAnjN5rSMY/XRWDeSbFqogEh5KQbLQOKTMR3XTktSq6/YTTE/5/8z504N+P3JugNqL8a3Vpom0tPgSqZrzOV+0bYjWkgTOn9ajsx+/6Wt/25jpW1N1Oz85YGaKOrrVSyaM6AUF85krTB8pUjM637EFmrwRDaNxLVrWg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; Received: from DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM (2603:10a6:18:3::ad4) by DB8P189MB0796.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:122::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.339.8; Tue, 18 Aug 2026 12:29:16 +0000 Received: from DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM ([fe80::7ab2:c6af:6760:5c85]) by DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM ([fe80::7ab2:c6af:6760:5c85%7]) with mapi id 15.21.0339.007; Tue, 18 Aug 2026 12:29:16 +0000 From: Jaipaul Cheernam To: openembedded-core@lists.openembedded.org CC: Jaipaul Cheernam Subject: [PATCH 2/2] powertop: upgrade 2.15 -> 2.16 Date: Tue, 18 Aug 2026 14:28:57 +0200 Message-ID: <20260818122857.54302-3-jaipaul.cheernam@est.tech> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20260818122857.54302-1-jaipaul.cheernam@est.tech> References: <20260818122857.54302-1-jaipaul.cheernam@est.tech> X-ClientProxiedBy: DU7P191CA0013.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:54e::17) To DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM (2603:10a6:18:3::ad4) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU7PPF66507B2D7:EE_|DB8P189MB0796:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a484056-9dc3-4ee6-06cb-08defd245191 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|23010399003|376014|366016|6133799003|10067099003|11063799006|56012099006|22082099003|18002099003|3023799007; X-Microsoft-Antispam-Message-Info: AoxLCsY6qKeVQSEIFIZptbmfQKbIcr2keOSRrUZ5z6Dfv2d8yBamZbiWwSQ+C8atHGdvTAb3Wh13fQVrwOqMHPDROB/ju4fzTg6hkUutpIst+4C164JZq2UAPoV/yg46EVbY9AW6gwLJOIa54t3amDMM7uVN7hNlk1A9OYG/5FaSAigz+nTBK8xb4NwBvA+kuPbmOI9lqsozX8uhStwa9xz1gM7hbNnb54GuKwoIQUN42fqxc50vd7Qu1ilmv5DsBUnVKcUAmvHzQD+2UPdmODe3O7daZqccBQouT1gL1JD7TOnjYjox++vfZry5znKE71tFvRdVwC68KM4gm23Kd6HWWbYqNMJr0A3nERPRca25hTx40kdIR3a+qgCgL7PylWwP0mZdnQz3P26VMty7ceFJKhLe+G3h1QwLejl+8ydl98s02ILrtPZw50qCvD19HL7x3vBNiElDB6pCvsahP58bXiBwgLMXHsJe46xO5m1BsaEto77Q55IuzY9BEVXww+EVwxVbSWGKXtrAM/KvOqlvG3cNUwjxijSVrH8oMd+FwjUHD+qYr5wGU8N/TaVhCKYt70c99gBjW73/ZRz8YbxDQLeJrIm2zjgYpVRqCkfAkvF/kYEc/H1ROhRChYaL X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(23010399003)(376014)(366016)(6133799003)(10067099003)(11063799006)(56012099006)(22082099003)(18002099003)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lCOYtfSSZOcP1V7NpErfHqAFcAB+tzKM1+C3WcwIR4aXseI/X3GhJq8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DeFNKKG4VX2RxOWEOI958j9ujscxlhBl9MyLxzjHAVM2mIl0t8Zusxy7SciXQ3051CJSGEkVtpvo/CItvN7zjanTsy1gybpoi5IEPidDecR2JAtlb1slUMCB3lvPkivxtmO3dciHx3G2/4YoAsv/JLtLNP/7oF2LI9FJIkwzP7e78Q9Yk8D+N0b1138L0TBbjEsd7MRHppE7eRvO6joPGzHHkYX90d9v8smoZD7HlAg07WSC3y+KfVy1NqzTu8JWCQAlwztdI6uO9MJRAlWHTTPv5Zx4uj3199CueeGLK6HUi8Gfk0JrSTex+3uImokmI2pscV/9hV/QhWFgifJbS8/zxuRFHJZreOTJ1DW0jSph0NrmNBO9DuBDwTmzKzrnZP6jPIVDwoyipGXNuif5PW/nknYZt2orHAVVFw/IBTJiyApuHL2P1mXjbRxVH4v9P914e6Sl7b5WHBLfuAHFnJnpiWS1nrMlU0qtnELMqcxu+UM8imysR64D9V3hPx8mNidmx3hPrIEh/TA1/ZdMWNqtbXf/jDNXqN4Wq5B3E13/dIshErWP0ahKmI2UyEjfYog6QAP3vafPTkcFc/Gul8vqLly6zMg9PKy9s+Czi2CWpnkGE8YExgPdoQCdNRUUXDCEWqbyDk= X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-Network-Message-Id: 8a484056-9dc3-4ee6-06cb-08defd245191 X-MS-Exchange-CrossTenant-AuthSource: DU7PPF66507B2D7.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2026 12:29:16.3529 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mb3f2jWX22OSYldfzSlWtUYCf45y3mJUnwCEUDHW1+EPZriY0N78Xh2qD0e0R+cbtGOS4QeyPgSX3Xa36ILhsR8tg4BlORHuVhzZ3Dyke6Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P189MB0796 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 ; Tue, 18 Aug 2026 12:29:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/243680 Release: https://github.com/fenrus75/powertop/releases/tag/v2.16 CompareLog: https://github.com/fenrus75/powertop/compare/v2.15...v2.16 - switch to meson (upstream default since 2.16, 6a18fe2 [1]) - add libtracefs to DEPENDS (internal copy removed upstream, 2b133ed [2]) - use --bindir to keep installing to /usr/sbin - drop autoconf-archive-native and LDFLAGS -pthread - drop 0001-wakeup_xxx.h-include-limits.h.patch (PATH_MAX no longer used in those headers after upstream C++ modernization) [1] https://github.com/fenrus75/powertop/commit/6a18fe2d933ad0f16ccc64b40e832f571319c518 [2] https://github.com/fenrus75/powertop/commit/2b133ed512c6852cf81cb98831bdfd585c0317bf Signed-off-by: Jaipaul Cheernam --- .../0001-wakeup_xxx.h-include-limits.h.patch | 55 ------------------- .../{powertop_2.15.bb => powertop_2.16.bb} | 14 ++--- 2 files changed, 7 insertions(+), 62 deletions(-) delete mode 100644 meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch rename meta/recipes-kernel/powertop/{powertop_2.15.bb => powertop_2.16.bb} (67%) diff --git a/meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch b/meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch deleted file mode 100644 index 7bfca8abfd..0000000000 --- a/meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 4c24fdd8e0a42359df7308155b2d43c28a5e02fd Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 20 May 2019 20:25:00 +0200 -Subject: [PATCH] wakeup_xxx.h: include limits.h - -limits.h must be included to define PATH_MAX otherwise build will fail -on: - -In file included from wakeup/wakeup_ethernet.cpp:45:0: -wakeup/wakeup_ethernet.h:35:16: error: 'PATH_MAX' was not declared in this scope - char eth_path[PATH_MAX]; - -In file included from wakeup/wakeup_usb.cpp:45:0: -wakeup/wakeup_usb.h:35:16: error: 'PATH_MAX' was not declared in this scope - char usb_path[PATH_MAX]; - -Fixes: - - http://autobuild.buildroot.org/results/a0b3337cf4a827e6566f8b15b6bb180f0dcef7a3 - -Signed-off-by: Fabrice Fontaine -Signed-off-by: Martin Jansa - -Upstream-Status: Submitted [https://lists.01.org/pipermail/powertop/2019-May/002052.html] ---- - src/wakeup/wakeup_ethernet.h | 1 + - src/wakeup/wakeup_usb.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/wakeup/wakeup_ethernet.h b/src/wakeup/wakeup_ethernet.h -index 682bf95..e0fa628 100644 ---- a/src/wakeup/wakeup_ethernet.h -+++ b/src/wakeup/wakeup_ethernet.h -@@ -25,6 +25,7 @@ - #ifndef _INCLUDE_GUARD_ETHERNET_WAKEUP_H - #define _INCLUDE_GUARD_ETHERNET_WAKEUP_H - -+#include - #include - - #include "wakeup.h" -diff --git a/src/wakeup/wakeup_usb.h b/src/wakeup/wakeup_usb.h -index f7a1f7e..15898e3 100644 ---- a/src/wakeup/wakeup_usb.h -+++ b/src/wakeup/wakeup_usb.h -@@ -25,6 +25,7 @@ - #ifndef _INCLUDE_GUARD_USB_WAKEUP_H - #define _INCLUDE_GUARD_USB_WAKEUP_H - -+#include - #include - - #include "wakeup.h" --- -2.20.1 - diff --git a/meta/recipes-kernel/powertop/powertop_2.15.bb b/meta/recipes-kernel/powertop/powertop_2.16.bb similarity index 67% rename from meta/recipes-kernel/powertop/powertop_2.15.bb rename to meta/recipes-kernel/powertop/powertop_2.16.bb index 5dceac17d3..674cf67b5a 100644 --- a/meta/recipes-kernel/powertop/powertop_2.15.bb +++ b/meta/recipes-kernel/powertop/powertop_2.16.bb @@ -2,21 +2,21 @@ SUMMARY = "Power usage tool" DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." HOMEPAGE = "https://01.org/powertop/" BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla" -DEPENDS = "ncurses libnl pciutils autoconf-archive-native" +DEPENDS = "ncurses libnl pciutils libtracefs" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" -SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master;tag=v${PV} \ - file://0001-wakeup_xxx.h-include-limits.h.patch \ - " -SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651" +SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master;tag=v${PV}" +SRCREV = "6147262e506c607036eaca4182ee491b61d06aa3" -LDFLAGS += "-pthread" +inherit meson gettext pkgconfig bash-completion -inherit autotools gettext pkgconfig bash-completion +# meson defaults to /usr/bin, keep /usr/sbin for backward compatibility +EXTRA_OEMESON = "--bindir=${sbindir}" inherit update-alternatives ALTERNATIVE:${PN} = "powertop" ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop" ALTERNATIVE_PRIORITY = "100" +