From patchwork Wed Sep 24 07:56:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 70864 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 E2C8BCAC5A5 for ; Wed, 24 Sep 2025 07:57:04 +0000 (UTC) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mx.groups.io with SMTP id smtpd.web11.7177.1758700616587554737 for ; Wed, 24 Sep 2025 00:56:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kZn571VD; spf=pass (domain: gmail.com, ip: 209.85.166.172, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-425635acc4dso41707275ab.1 for ; Wed, 24 Sep 2025 00:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758700615; x=1759305415; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4tY7VD/2JQlrmgOiLl/D+sK3zVPwk3nfYeMyZlHpvE8=; b=kZn571VDReWedglEBMfNd5QzihaniYahbCzj7vi8L6GqkVFirP7pMu6Hcig05AnoNN KT0Br8hxErQEMoET+8O04VmjSeU/DTwd5NNjTWwI200/0J1ujPpD4yssnW+qVYJM/hrl a7mo68j/t3ylLHJc9RwB3v+8kqX5OZNGmwGYa3AL9AEH4QEXEzwgASvWjAz1KflNyCTR mE/Xvl3T9/VxNkUj8mXv75y0vqlHZrqvKWqfaMblRbItFyPzLM5L25Hh8aHV3rl7ITWq WV6Sg6osuIUf85ou8Isb5EE1lBiCotkbDVKMccvMnpuJuGcEyuykvp10pWt+opE0S3yv RKyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758700615; x=1759305415; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4tY7VD/2JQlrmgOiLl/D+sK3zVPwk3nfYeMyZlHpvE8=; b=pWg/5zidyDP9TMbl+oDPl7qGLYBZN4Hq5ZNIJe6E9x87A929+l82a9R9Levo7FVSIU /3blHxntbvE5sZI/QdyVqSJthR7AQ+MegWuBEgrQRPS1qr/+xoq7qJ/AAz+SluKcnTft OLm6sD6HvCL2vKy9O7P9Nb0qpqjoBcSRuFW0E2qgPxX2nSPtdjO5YxHQxJPG+Ka1vdK/ dlnCW2IJFGhv4m3miv7e4xDW+MtaeKZuGEJkDEnMjoi4zJ2RqsozJOBNyZb7nrDO4Avx x2pVFeBUoCd79ElNwJh+aMMxqRfE3EwbHjSOEG5uMXKk6B0i1Yys32v7/eBSycjz/tfH uryw== X-Gm-Message-State: AOJu0YwNysN5GMt+wGetWH7HXMw7E2EU71JVPTQK6P+CNsnIQP9m286Q 4zOqTuaW5CgMtAkkBW9fLhhU3aRwzH75F/dD3Jro5ZBtizXQLc0rP0YcQJIUWQ== X-Gm-Gg: ASbGncs9SAFI2sa7N1r6uLCKKbaiqmUj0EArl/Imxz8FcGty/zb6ggT5aupVXIpU0eu V0VZqNQjUBjvhgMcF0yYDfIZstl/nQ71JwHza6sYNVb7PKe6ByG2ifdZTNM51PRcg9VkGA1AH5t W3d/OLUtfga6a+iLCH4YvCV6+w/Yys7OJVpiWNL2IwldrKXAvKvJZTesEwZlrPecGIf81qMGYC1 okKP8YBM6vfs/N8XVGoAgXa2Qnt4YxL4UB+AZ6c7dxJmUOXI0CGVF0eVoCvWoS3wHzzzJO3pOSB zE8S7FjiWhyYfaNb0xZNp+5QiR3WRByvpDyU4kSsxklpK92kWitATdgQwB+e90tY2m4U7HSY7ki JGMV7aQlsQ2XSmqbyu3N1MAsn4yZoLDFHexfH+OoW1m5QBQJWHrro5V/h0tCmZmI= X-Google-Smtp-Source: AGHT+IGZJ7sNBGue14VfD+BP8dKluIYPleSilK6HdTkZKcLWvKydgPZuuMMFGXCmIIbS5IGu1ZQu1Q== X-Received: by 2002:a05:6e02:b2c:b0:425:7e42:c005 with SMTP id e9e14a558f8ab-42581e8eca7mr75681565ab.24.1758700615519; Wed, 24 Sep 2025 00:56:55 -0700 (PDT) Received: from NVAPF55DW0D-IPD.brunswick.com ([147.161.216.253]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-55dba4465f4sm3203576173.37.2025.09.24.00.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:56:55 -0700 (PDT) From: Ankur Tyagi To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu , Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][walnascar][PATCH 1/6] bolt: upgrade 0.9.6 -> 0.9.10 Date: Wed, 24 Sep 2025 19:56:38 +1200 Message-ID: <20250924075643.2047506-2-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> References: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 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 ; Wed, 24 Sep 2025 07:57:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119756 From: Wang Mingyu Changelog: ============ - Fix bolt exits when opening an empty version file - Fix failure on integration test due to the change of the latest pygobject - Several CI improvements and fixes. - Fixed memory leak in boltctl - The unused codes were removed from daemon - Fixed a NULL syspath variable causes SIGSEGV - A new NHI for REMBRANDT. - CI fixes. - Don't install an empty DB directory. - Fixed: Determine the string length before writing file. - Fixed: Free on error to prevent resource leak. - Add a 'nopcie' security level since some devices report 'nopcie' when Thunderbolt is disabled through BIOS setting. - Markdown lint styling is used for documents. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj (cherry picked from commit 98969e3b441183ae8bb0c30258cbe5377c18d979) Signed-off-by: Ankur Tyagi --- meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%) diff --git a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb b/meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb similarity index 92% rename from meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb rename to meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb index c278a0982a..2e7237bd8b 100644 --- a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb +++ b/meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb @@ -8,7 +8,7 @@ DEPENDS = "udev polkit dbus" REQUIRED_DISTRO_FEATURES = "polkit" SRC_URI = "git://gitlab.freedesktop.org/bolt/bolt.git;protocol=https;branch=master" -SRCREV = "f03c50b22ae3fda26711ddabd91e2c5dd8103478" +SRCREV = "c0d4cb2f4399e86417907a37c0d8ef3bb9fb406f" S = "${WORKDIR}/git" From patchwork Wed Sep 24 07:56:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 70863 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 DBD7FCAC5B2 for ; Wed, 24 Sep 2025 07:57:04 +0000 (UTC) Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) by mx.groups.io with SMTP id smtpd.web10.7283.1758700621815507720 for ; Wed, 24 Sep 2025 00:57:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AosH6/0W; spf=pass (domain: gmail.com, ip: 209.85.166.173, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-4248c9a64f7so4329875ab.0 for ; Wed, 24 Sep 2025 00:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758700621; x=1759305421; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=g9tiVRQVknczAoRMHQiUG0hW+BKVEmZhc7S/5ruDyok=; b=AosH6/0WPESk3ldH0kvNUdrwPehojsDhFLTf+a92GkLAYVyIGan8NXs/rMrIrMLsf3 KnZIs6s7RmW+ghIg1LPDq8Y6rvx3oU4RFNRCTWKeMs+fPFaR7RdnehW8fBFnMDALHPmC APwO4zfBNIuYzj/GFYhm8OhSSMPh9JC15j+a3fV9F9txM11qHqZ527DCsgmPw0/yAZpm ZI6MkJZlkAVOuYfBti6yclTTgv7QaJhaX/yGrVEKBVnQUlpKis6oGkg8tY7MW3wJwsZO dYCLLwbDz6WtlpV+1odJum9/2fpRLSFQ5mjyBK9WSYRqsR3VRSaex82XFDSHRPHRk2Op Kl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758700621; x=1759305421; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g9tiVRQVknczAoRMHQiUG0hW+BKVEmZhc7S/5ruDyok=; b=P7T4AVRTuSlBc/JzXPjFy2ztpJHA3G2Y13QpkE+m74mCcLcdhAHwhyehcjA+FDdhVN uLKT/UyNRmsxoJFBHdxSd7i0SzzJ2RgbGCAi2nER+S6tugRvKd6e7MwNgy0QP5SyXnQH 3DCXleKPv1ixHpoUa/s51EFJlB5c5qMJCh/L8GSDWsUlE0ZNv8SZJbnUPt0AzhCn8B3e 2W6Df2eCAPmU1U5qWaI95sYNw3C27OsdEEPZgwdmL6+loBd8qdTXxcFmjuND7K82eBDA 3TPgn5LUHf702/u1tgwhzJp7/rRLf+p71jvy217u6T7ZHbf2zJDZGFLr81xF3MqIIrH5 FrwA== X-Gm-Message-State: AOJu0Yz3mORmzwgr6wHP17TPYzG8ayE0ZmboF6PCDX0ASuM4eEpQCToC ThKQqq8BCKPMN017iv1Dt79k+Pfsfkqy4DlcIMh8K32u0BpbNzmuaF9lCfuWfw== X-Gm-Gg: ASbGncuwbLWXo8bEkS6gOuNz5yN2hFlJa04e/nbPj2bOP+rtEs3OhkJ3cccjpNErRd1 e4q5FuztIJinFtjWyMU/efkO+G72EXmdid2ebzvLzWL7vGaXe/YEHA9vvSuXNGjtLwH1l1DJ6Nj 6jnXqo1bcWaCB1sFiuZvXVT2td270sWoPEw5PyyM7EznwhWiIeinepjWefNDfRDL6DNYtjPTyCz /6didXnCQGWPiXf43AN+0nK8XPOKmBfROHcmvVYMigTtmP4YUrlnBA6AaQEJne5Xgoe4+modUS5 aAL4ZHq6l4VqkPy0Ku0GcrBS78Q6k15l4o4EV1mfBlX5Ild8pMS49plGWRGYWCJgiLT4ubwGim+ W0kYHND6Aor9uVPeLj92omCAv+cSMqgKlPsK0LJgkPrRo+Zl8lBQRX/nDjGyVmKs= X-Google-Smtp-Source: AGHT+IG3fNuF0kxJfppdv8FPD/J/AAR5e++Peo4VGY3bh2Uczw08wF6Ee4um9E++GsyXDSUQzmnO/w== X-Received: by 2002:a05:6e02:3982:b0:424:52b:add8 with SMTP id e9e14a558f8ab-4258d8588a8mr26672245ab.3.1758700620725; Wed, 24 Sep 2025 00:57:00 -0700 (PDT) Received: from NVAPF55DW0D-IPD.brunswick.com ([147.161.216.253]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-55dba4465f4sm3203576173.37.2025.09.24.00.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:57:00 -0700 (PDT) From: Ankur Tyagi To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu , Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0 Date: Wed, 24 Sep 2025 19:56:39 +1200 Message-ID: <20250924075643.2047506-3-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> References: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 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 ; Wed, 24 Sep 2025 07:57:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119757 From: Wang Mingyu 0002-meson-Add-options-pciutils-ftdi-usb.patch refreshed for 1.6.0 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj (cherry picked from commit d03d56c13e3245933bf2308276deefe03279b4cd) Signed-off-by: Ankur Tyagi --- ...02-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++++++++--------- .../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb => flashrom_1.6.0.bb} (89%) diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch index 8dfed855b4..b1dd5d0773 100644 --- a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch +++ b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch @@ -1,7 +1,7 @@ -From 3ea99c117aa4c7a3502c93e4e4df50b3623e46c3 Mon Sep 17 00:00:00 2001 +From 5cf5fc64c6aab35b89b8cf7f69b84b6f5100d7a6 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 15 Oct 2024 10:42:05 +0200 -Subject: [PATCH 2/2] meson: Add options pciutils, ftdi, usb +Subject: [PATCH] meson: Add options pciutils, ftdi, usb The options have been dropped in favor of an array option called programmer. Since this doesn't integrate well into yocto add back the old options. @@ -16,10 +16,10 @@ Signed-off-by: Patrick Rudolph 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build -index 6c8d3d3..61b794d 100644 +index 35feb33..b5bb722 100644 --- a/meson.build +++ b/meson.build -@@ -150,9 +150,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da +@@ -140,9 +140,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da cpus_port_io = [ 'x86', 'x86_64' ] @@ -33,10 +33,10 @@ index 6c8d3d3..61b794d 100644 group_serial = get_option('programmer').contains('group_serial') group_jlink = get_option('programmer').contains('group_jlink') diff --git a/meson_options.txt b/meson_options.txt -index 87456a9..570b152 100644 +index 2829cd1..0e9d769 100644 --- a/meson_options.txt +++ b/meson_options.txt -@@ -24,4 +24,7 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na +@@ -26,6 +26,9 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100, description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.' + ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.') @@ -44,6 +44,5 @@ index 87456a9..570b152 100644 +option('usb', type : 'boolean', value : false, description : 'Select programmer group usb') +option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi') option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260') --- -2.43.0 - + option('log_message_length_limit', type : 'integer', min : 64, max : 1024, value : 256, + description : 'Log message length limit for v2 logging API') diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb similarity index 89% rename from meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb rename to meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb index 9a8e81bae3..4f07da79c6 100644 --- a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb @@ -7,7 +7,7 @@ SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \ file://0002-meson-Add-options-pciutils-ftdi-usb.patch \ " -SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293" +SRC_URI[sha256sum] = "8b9db3987df9b5fc81e70189d017905dd5f6be1e1410347f22687ab6d4c94423" S = "${WORKDIR}/flashrom-v${PV}" From patchwork Wed Sep 24 07:56:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 70867 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 C7072CAC5A7 for ; Wed, 24 Sep 2025 07:57:14 +0000 (UTC) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mx.groups.io with SMTP id smtpd.web10.7285.1758700626366301664 for ; Wed, 24 Sep 2025 00:57:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D+vVBfHJ; spf=pass (domain: gmail.com, ip: 209.85.166.172, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-4258ac8f64dso7042745ab.0 for ; Wed, 24 Sep 2025 00:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758700625; x=1759305425; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wY7b898HAMwKpAwl4pitBvf3DhBncFlBEUza9I66P4k=; b=D+vVBfHJvS1kboYmc8eyJ+KOLqCWGSJ4YDlgmbrMaIbZj5YGvT5prY3D6U3aEkcP8d 9EQWenVlruPaU82NRMheHr0+NI6VP54gwBnVc4cWr6diRuZ4vCFRRVLrdOqMkDKfeEKK P9lrlzmqoiMQZNxWC9ctSdKolrCoxE3LXUBzNKq/NxvzWPZ7o3pkrX1hiHqpwEfBtdkd dwApEvxBPieaATbGJTiK4VqCHVA5bHOexB4OY0Dw4Uvw6q3T5WVKEu608daKiEOmHU5j xUIoZUFC2Nv3VYNOtStH1CqOmNNlZo8qRudEFgFqR6QF+HWxDABOsHV77Ig3RngBtKOF xhPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758700625; x=1759305425; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wY7b898HAMwKpAwl4pitBvf3DhBncFlBEUza9I66P4k=; b=ZjgC3ZY7EjpMSLxjohWCYk96kyLF8Bo3c0INt+Ldiz5YLKnkFHSfoeqZj6r1qeD0OC z9umysQTv+k3haIVbp8J9DiYsy3boyijqHp9RCxhIaQrjGdKQPVpdCRRW4gZfRF+EP3v qFrW4+T+LJkCrhGZZOIp36/CkyiDKztOx+xLWLdFCxlMQCreE5mZowU+YDzNOmIEakEc hI1cyUwMOqQ6zmS9iBDiTHM6ecgkakbzFkUfeNupQvp1nrdJPJzSkIn68QEIBlIZdxSC Xf7lKG4IUdmsvj5ubhKeZnnhQkJBd1ZU5CtAAYh49aKVL1dEsKHqh8aNx8+/wQtrfpQ2 ldVA== X-Gm-Message-State: AOJu0YwpyqPUBIWluIyCGeG9vkONcM50WkMp64+1dioMmqHCLLwnBcVL YFVOiY4fa9JKPpLFYnNhpZy4USPPuVWjt+cnRDGKTgreVhKWaEv7tJBh9A8BqA== X-Gm-Gg: ASbGncuPTKOqnfFnTYZ/bFLHlRsMUSqxnt9uMAnSceANXAuI5IAGoQi7m09QkxJrGAH b3aNT7ZKP4UXm9FJhU/nzobNmDW0mJAIesH0TEcPDdTVVvN4k3RNkf4Hg/m6gpW2FfODWpKlG18 BNtFmTv8L2dhURzwtpyhu36ST20z8H5Sw5wc1DChBfhsNw+YfzTDksl+GtF5IIdKKaWoceoAW59 XVhk2BM9Hij8IEBlyCOywlq1dsuqRWlSuhUoWoEO1VVyIa9P794W4A/AXBr3caVuBcjxLuDssdA cnvpACQPggGaOyZtYbaZkJDQLRDklJqwJzY1zXiIC0J6aB4M8/4I0KK6x2FJ6YScnG+o0RWJT8A 3VM3DmCB5mMBTTtKITFeZGrtp4dVLvUUNqhcho40QzblqrPjepTnt X-Google-Smtp-Source: AGHT+IEuS2L5jS+aTGD+14KkkGun3W1bxshXSJOzDYjhbYKHakK0vpO3nrtDn6qbqQihA3EFhwSEDg== X-Received: by 2002:a05:6e02:929:b0:425:8c01:e416 with SMTP id e9e14a558f8ab-4258c01e679mr19898145ab.0.1758700625147; Wed, 24 Sep 2025 00:57:05 -0700 (PDT) Received: from NVAPF55DW0D-IPD.brunswick.com ([147.161.216.253]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-55dba4465f4sm3203576173.37.2025.09.24.00.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:57:04 -0700 (PDT) From: Ankur Tyagi To: openembedded-devel@lists.openembedded.org Cc: Mikko Rapeli , Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12 Date: Wed, 24 Sep 2025 19:56:40 +1200 Message-ID: <20250924075643.2047506-4-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> References: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 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 ; Wed, 24 Sep 2025 07:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119758 From: Mikko Rapeli New major version release which drops many configure options, changes from libgusb to libusb etc. Upstream changelogs: https://github.com/fwupd/fwupd/releases/tag/2.0.0 https://github.com/fwupd/fwupd/releases/tag/2.0.1 https://github.com/fwupd/fwupd/releases/tag/2.0.2 https://github.com/fwupd/fwupd/releases/tag/2.0.3 https://github.com/fwupd/fwupd/releases/tag/2.0.4 https://github.com/fwupd/fwupd/releases/tag/2.0.5 https://github.com/fwupd/fwupd/releases/tag/2.0.6 https://github.com/fwupd/fwupd/releases/tag/2.0.7 https://github.com/fwupd/fwupd/releases/tag/2.0.8 https://github.com/fwupd/fwupd/releases/tag/2.0.9 https://github.com/fwupd/fwupd/releases/tag/2.0.10 https://github.com/fwupd/fwupd/releases/tag/2.0.11 https://github.com/fwupd/fwupd/releases/tag/2.0.12 Tested with genericarm64 machine on qemu with ptests and manually on AMD KV260. Signed-off-by: Mikko Rapeli Signed-off-by: Khem Raj (cherry picked from commit 738d27a759228e9a2ee52ca5edf728df7edd588e) Signed-off-by: Ankur Tyagi --- ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++ ...-reduce-lzma-compression-level-from-.patch | 47 ++++++ meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 ------------------ meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93 ++++++++++++ 4 files changed, 168 insertions(+), 134 deletions(-) create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch new file mode 100644 index 0000000000..3a4ecb1f29 --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch @@ -0,0 +1,28 @@ +From 2c3896878ba8118b48c55528c6bac98f05f223f3 Mon Sep 17 00:00:00 2001 +From: Mikko Rapeli +Date: Thu, 3 Jul 2025 13:34:21 +0000 +Subject: [PATCH] build-certs.py: use /usr/bin/env for python3 + +Avoids errors if python3 install path is not +in /usr/bin. + +Signed-off-by: Mikko Rapeli +--- + data/tests/build-certs.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Upstream-Status: Submitted [https://github.com/fwupd/fwupd/pull/8998] + +diff --git a/data/tests/build-certs.py b/data/tests/build-certs.py +index 3b8503b72bcf..222e8a4a0f8b 100755 +--- a/data/tests/build-certs.py ++++ b/data/tests/build-certs.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + # SPDX-License-Identifier: LGPL-2.1+ + + import os +-- +2.43.0 + diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch new file mode 100644 index 0000000000..b0d3863eaa --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch @@ -0,0 +1,47 @@ +From c96668ab830d016eeff977d5ca4f99d288cf38c0 Mon Sep 17 00:00:00 2001 +From: Mikko Rapeli +Date: Tue, 8 Jul 2025 07:05:02 +0000 +Subject: [PATCH] fu-lzma-common.c: reduce lzma compression level from 9 to + default 6 + +xz manual page says default is 6 and levels higher than that can cause +huge CPU and memory usage. On yocto qemu target, the fwupd tests +fail to run with compression level 9: + +FuSelfTest:ERROR:../sources/fwupd-2.0.12/libfwupdplugin/fu-self-test.c:6342:fu_lzma_func: assertion failed (error == NULL): failed to set up LZMA encoder rc=5 (FwupdError, 10) +not ok /fwupd/lzma - FuSelfTest:ERROR:../sources/fwupd-2.0.12/libfwupdplugin/fu-self-test.c:6342:fu_lzma_func: assertion failed (error == NULL): failed to set up LZMA encoder rc=5 (FwupdError, 10) + +With default compression level 6 the tests pass. + +https://linux.die.net/man/1/xz + + -6 ... -9 + Excellent compression with medium to high memory usage. + These are also slower than the lower preset levels. + The default is -6. Unless you want to maximize the compression ratio, + you probably don't want a higher preset level than -7 due to + speed and memory usage. + +Signed-off-by: Mikko Rapeli +--- + libfwupdplugin/fu-lzma-common.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Upstream-Status: Submitted [https://github.com/fwupd/fwupd/pull/9019] + +diff --git a/libfwupdplugin/fu-lzma-common.c b/libfwupdplugin/fu-lzma-common.c +index a64ec773da91..d381ed52e135 100644 +--- a/libfwupdplugin/fu-lzma-common.c ++++ b/libfwupdplugin/fu-lzma-common.c +@@ -89,7 +89,7 @@ fu_lzma_compress_bytes(GBytes *blob, GError **error) + strm.next_in = g_bytes_get_data(blob, NULL); + strm.avail_in = g_bytes_get_size(blob); + +- rc = lzma_easy_encoder(&strm, 9, LZMA_CHECK_CRC64); ++ rc = lzma_easy_encoder(&strm, 6, LZMA_CHECK_CRC64); + if (rc != LZMA_OK) { + lzma_end(&strm); + g_set_error(error, +-- +2.43.0 + diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb deleted file mode 100644 index a098bf8eea..0000000000 --- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb +++ /dev/null @@ -1,134 +0,0 @@ -SUMMARY = "A simple daemon to allow session software to update firmware" -LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-native" - -SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ - file://run-ptest" -SRC_URI[sha256sum] = "a1d484778ae87c69b38f417659b33fe3d689373ce0831d1f95617b8aa76e8c37" - -UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" - -# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages - -GIDOCGEN_MESON_OPTION = 'docs' -GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' -GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' -GIR_MESON_ENABLE_FLAG = 'enabled' -GIR_MESON_DISABLE_FLAG = 'disabled' - -PACKAGECONFIG ??= "curl gnutls gudev gusb \ - ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd offline', '', d)} \ - ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'plugin_uefi_capsule plugin_uefi_pk', '', d)} \ - ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ - hsi \ - plugin_android_boot \ - plugin_acpi_phat \ - plugin_bcm57xx \ - plugin_emmc \ - plugin_ep963x \ - plugin_fastboot \ - plugin_flashrom \ - plugin_gpio \ - plugin_igsc \ - plugin_intel_me \ - plugin_intel_spi \ - plugin_logitech_bulkcontroller \ - plugin_logitech_scribe \ - plugin_modem_manager \ - plugin_msr \ - plugin_nitrokey \ - plugin_nvme \ - plugin_parade_lspcon \ - plugin_pixart_rf \ - plugin_realtek_mst \ - plugin_redfish \ - plugin_synaptics_mst \ - plugin_synaptics_rmi \ - plugin_scsi \ - plugin_uf2 \ - plugin_upower \ - sqlite" - -PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled" -PACKAGECONFIG[compat-cli] = "-Dcompat_cli=true,-Dcompat_cli=false" -PACKAGECONFIG[consolekit] = "-Dconsolekit=enabled,-Dconsolekit=disabled,consolekit" -PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" -PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false" -PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false" -PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls" -PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev" -PACKAGECONFIG[gusb] = "-Dgusb=enabled,-Dgusb=disabled,libgusb" -PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled" -PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive" -PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false" -PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false" -PACKAGECONFIG[offline] = "-Doffline=enabled,-Doffline=disabled" -PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" -PACKAGECONFIG[sqlite] = "-Dsqlite=enabled,-Dsqlite=disabled,sqlite3" -PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" -PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gcab-native" - - -# TODO plugins-all meta-option that expands to all plugin_*? -PACKAGECONFIG[plugin_acpi_phat] = "-Dplugin_acpi_phat=enabled,-Dplugin_acpi_phat=disabled" -PACKAGECONFIG[plugin_android_boot] = "-Dplugin_android_boot=enabled,-Dplugin_android_boot=disabled" -PACKAGECONFIG[plugin_bcm57xx] = "-Dplugin_bcm57xx=enabled,-Dplugin_bcm57xx=disabled" -PACKAGECONFIG[plugin_cfu] = "-Dplugin_cfu=enabled,-Dplugin_cfu=disabled" -PACKAGECONFIG[plugin_emmc] = "-Dplugin_emmc=enabled,-Dplugin_emmc=disabled" -PACKAGECONFIG[plugin_ep963x] = "-Dplugin_ep963x=enabled,-Dplugin_ep963x=disabled" -PACKAGECONFIG[plugin_fastboot] = "-Dplugin_fastboot=enabled,-Dplugin_fastboot=disabled" -PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom" -PACKAGECONFIG[plugin_gpio] = "-Dplugin_gpio=enabled,-Dplugin_gpio=disabled" -PACKAGECONFIG[plugin_igsc] = "-Dplugin_igsc=enabled,-Dplugin_igsc=disabled" -PACKAGECONFIG[plugin_intel_me] = "-Dplugin_intel_me=enabled,-Dplugin_intel_me=disabled" -PACKAGECONFIG[plugin_intel_spi] = "-Dplugin_intel_spi=true -Dlzma=enabled,-Dplugin_intel_spi=false -Dlzma=disabled,xz" -PACKAGECONFIG[plugin_logitech_bulkcontroller] = "-Dplugin_logitech_bulkcontroller=enabled,-Dplugin_logitech_bulkcontroller=disabled,protobuf-c-native protobuf-c" -PACKAGECONFIG[plugin_logitech_scribe] = "-Dplugin_logitech_scribe=enabled,-Dplugin_logitech_scribe=disabled" -PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager" -PACKAGECONFIG[plugin_msr] = "-Dplugin_msr=enabled,-Dplugin_msr=disabled,cpuid" -PACKAGECONFIG[plugin_nitrokey] = "-Dplugin_nitrokey=enabled,-Dplugin_nitrokey=disabled" -PACKAGECONFIG[plugin_nvme] = "-Dplugin_nvme=enabled,-Dplugin_nvme=disabled" -PACKAGECONFIG[plugin_parade_lspcon] = "-Dplugin_parade_lspcon=enabled,-Dplugin_parade_lspcon=disabled" -PACKAGECONFIG[plugin_pixart_rf] = "-Dplugin_pixart_rf=enabled,-Dplugin_pixart_rf=disabled" -PACKAGECONFIG[plugin_powerd] = "-Dplugin_powerd=enabled,-Dplugin_powerd=disabled" -PACKAGECONFIG[plugin_realtek_mst] = "-Dplugin_realtek_mst=enabled,-Dplugin_realtek_mst=disabled" -PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=enabled,-Dplugin_redfish=disabled" -PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=enabled,-Dplugin_scsi=disabled" -PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=enabled,-Dplugin_synaptics_mst=disabled" -PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=enabled,-Dplugin_synaptics_rmi=disabled" -PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=enabled,-Dplugin_tpm=disabled,tpm2-tss" -# Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported -PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=enabled -Dplugin_uefi_capsule_splash=false,-Dplugin_uefi_capsule=disabled,efivar fwupd-efi" -PACKAGECONFIG[plugin_uefi_pk] = "-Dplugin_uefi_pk=enabled,-Dplugin_uefi_pk=disabled" -PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=enabled,-Dplugin_uf2=disabled" -PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=enabled,-Dplugin_upower=disabled" - -# Always disable these plugins on non-x86 platforms as they don't compile or are useless -DISABLE_NON_X86 = "plugin_intel_me plugin_intel_spi plugin_msr" -DISABLE_NON_X86:x86 = "" -DISABLE_NON_X86:x86-64 = "" -PACKAGECONFIG:remove = "${DISABLE_NON_X86}" - -FILES:${PN} += "${libdir}/fwupd-plugins-* \ - ${libdir}/fwupd-${PV} \ - ${systemd_unitdir} \ - ${nonarch_libdir}/sysusers.d/fwupd.conf \ - ${datadir}/fish \ - ${datadir}/metainfo \ - ${datadir}/icons \ - ${datadir}/dbus-1 \ - ${datadir}/polkit-1 \ - ${nonarch_libdir}/modules-load.d" - -FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ - ${datadir}/installed-tests/" -RDEPENDS:${PN}-ptest += "gnome-desktop-testing" - -INSANE_SKIP:${PN}-ptest += "buildpaths" diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb new file mode 100644 index 0000000000..eb43c3d865 --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb @@ -0,0 +1,93 @@ +SUMMARY = "A simple daemon to allow session software to update firmware" +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "\ + curl \ + gcab \ + glib-2.0 \ + json-glib \ + hwdata \ + libjcat \ + libusb \ + libxmlb \ + python3-jinja2-native \ + vala-native \ +" + +SRC_URI = "\ + https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ + file://0001-build-certs.py-use-usr-bin-env-for-python3.patch \ + file://0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch \ + file://run-ptest \ +" +SRC_URI[sha256sum] = "83eab17ef2e65249491aef5e99419827b43ac56d40c5b0747b59ee94b147215e" + +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" +UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" + +# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages + +GIDOCGEN_MESON_OPTION = 'docs' +GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' +GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' +GIR_MESON_ENABLE_FLAG = 'enabled' +GIR_MESON_DISABLE_FLAG = 'disabled' + +EXTRA_OEMESON = "-Dvendor_ids_dir=${datadir}/hwdata" + +PACKAGECONFIG ??= "\ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \ + gnutls \ + hsi \ + plugin_flashrom \ + plugin_modem_manager \ + protobuf \ +" + +PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled" +PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false" +PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false" +PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls" +PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled" +PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive" +PACKAGECONFIG[libdrm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm" +PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false" +PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false" +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" +PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline" +PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" +PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gcab-native" + +# TODO plugins-all meta-option that expands to all plugin_*? +PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom" +PACKAGECONFIG[protobuf] = "-Dprotobuf=enabled,-Dprotobuf=disabled,protobuf-c-native protobuf-c" +PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager" +PACKAGECONFIG[plugin_uefi_capsule_splash] = "-Dplugin_uefi_capsule_splash=true,-Dplugin_uefi_capsule_splash=false,python3-pygobject" + +FILES:${PN} += "\ + ${libdir}/fwupd-plugins-* \ + ${libdir}/fwupd-${PV} \ + ${systemd_unitdir} \ + ${nonarch_libdir}/sysusers.d/fwupd.conf \ + ${datadir}/fish \ + ${datadir}/metainfo \ + ${datadir}/icons \ + ${datadir}/dbus-1 \ + ${datadir}/polkit-1 \ + ${nonarch_libdir}/modules-load.d \ +" + +FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ + ${datadir}/installed-tests/" +RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3" + +# ESP mounting, not strictly necessary +RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}" + +INSANE_SKIP:${PN}-ptest += "buildpaths" From patchwork Wed Sep 24 07:56:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 70865 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 C70AACAC5B2 for ; Wed, 24 Sep 2025 07:57:14 +0000 (UTC) Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by mx.groups.io with SMTP id smtpd.web11.7183.1758700630484215542 for ; Wed, 24 Sep 2025 00:57:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GNGZPYwR; spf=pass (domain: gmail.com, ip: 209.85.166.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-il1-f181.google.com with SMTP id e9e14a558f8ab-42486ed0706so28144155ab.0 for ; Wed, 24 Sep 2025 00:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758700629; x=1759305429; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/oxYO/5My4zODQyPasxBS/KTaHh+jipchy5LnEYIl1M=; b=GNGZPYwRj/l2IM/ZQRPNxEVpbRT7dg/w30awOFuDMescN/4Aj3Gh1wbvWrCoK08IOr 8A5aqj4uyHXw24npHxr/iCwTVAryWIMh09qWJbijkaK6ZcEbg5D0opM6mInXix2t8U0D LgCnseVIIhrnno2InUQqA3kf69mmhqJPtarcHEltrOyGIQmizgrtLvismUl4F2FXLVjI kqbAVfHkJRGpSbJzOlw9B9S0OP3ForGQXVy4jcE4CNd50i7jxoaF7vZ/BF0MvVyt+f2m Ky4HjvdCo5o78eOnPbmmBh3dcXgIHX37kQGSNZfDxV90hAr0tQtcO8vZxx9wWZF9AHxk 3B8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758700629; x=1759305429; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/oxYO/5My4zODQyPasxBS/KTaHh+jipchy5LnEYIl1M=; b=IMmq+jRIc/Ye3p21ynQIAGbcU7asXzICdVFMtLuKJ5EHyY3UzWjX7W69UPv2OpMXlx gMEJcwsTwSem2DH38/Fo8+bRVWTPuiQRwec/eeBR3OC7KOg5OYo833JTFRRmHx63sNzY IiBDSXmiknChqRrokEDlnaqhN1lZpd37CowVEIfF7JJzwY8H2EyHQMTos9+ip6tcbvxj A+rjj6EnPAAC7NvNzIMrft3DooFRiTOx866EWp5Yf9BFWoQPcDjqnVk5UtAGa+E2I5Gy 0F5j56i4VR3QV8O7/0PeWJT8GsbaXs5HrhhXTthq0LnnyPhTnjkUU3g68OygV7CZcsXh A9xQ== X-Gm-Message-State: AOJu0Ywy804yNNKgNy7YZuhrbrZI1QG7LQf4UtC0OrLt8Rj/ogHO8lxr MRtagfpzhQAtrDW/BmlMDFURu1DifGv1kGwcWYVTsmwPpXifi94+v6XRWvrlSw== X-Gm-Gg: ASbGncsZFToDXy/z1i9citfwHwFavdTYpc/W1dtPJW4yCa542aDd9Val430pLBgXOc8 eFMeOLVBHz/vHTcZ9r2HetNgRvmxPLFazkp6kmLsZRVClbLC0CfzGgpzI3I4gm0u9+hmE80a46d T5Nsf3aLctxB9b7npBgjK2VBdQY3Bf7LtjXuA4PMCNxMtTUEVeMp5eKx24012dF52jQR1lAMVVT FpC/96bc/lAjR6agk76ORSvqKeKdBp0Y3Z2ofu3pgUsT/5Zz3LnE1a4M1hQBgucC9rPmh/NqQ3a 6exLk0o2fL8kyn3CCoPQGyRppE8QsorDRnXPFzrkKVKr5I9/jqkjxch2xlLUUoBcosQX5nmvWDs MiQ+dCEYMPrmHQrxNKWtRQfz6QD+/JX3MNjvh1aRXV7lda3kk8J+N X-Google-Smtp-Source: AGHT+IGzXmvOazEZ35YfduNwh+K/1XV9rERbZwPNzYIEAc6cGcTPsFb6LZaZI0ROcWY7jhE2GUAQjg== X-Received: by 2002:a05:6e02:1d93:b0:424:cf7:7d04 with SMTP id e9e14a558f8ab-42581e10ec9mr84438595ab.4.1758700629136; Wed, 24 Sep 2025 00:57:09 -0700 (PDT) Received: from NVAPF55DW0D-IPD.brunswick.com ([147.161.216.253]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-55dba4465f4sm3203576173.37.2025.09.24.00.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:57:08 -0700 (PDT) From: Ankur Tyagi To: openembedded-devel@lists.openembedded.org Cc: Mikko Rapeli , Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][walnascar][PATCH 4/6] fwupd-efi: update from 1.6 to 1.7 Date: Wed, 24 Sep 2025 19:56:41 +1200 Message-ID: <20250924075643.2047506-5-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> References: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 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 ; Wed, 24 Sep 2025 07:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119759 From: Mikko Rapeli Remove upstreamed patch. https://github.com/fwupd/fwupd-efi/releases/tag/1.7 This release fixes the following bugs: Fix compilation with GNU-EFI 4.0 Signed-off-by: Mikko Rapeli Signed-off-by: Khem Raj (cherry picked from commit b572fdf8e12c18ad4d349eba692cace4ce584039) Signed-off-by: Ankur Tyagi --- ..._binary.py-Use-env-to-detect-python3.patch | 23 ------------------- .../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 ++-- 2 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%) diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch deleted file mode 100644 index c362681421..0000000000 --- a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 4c8f95fedecbc590eb7cd98aaf97912fa36b8f2e Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 7 Jun 2024 23:58:36 -0700 -Subject: [PATCH] efi/generate_binary.py: Use env to detect python3 - -This enables python3 from native sysroot correctly - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - efi/generate_binary.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/efi/generate_binary.py b/efi/generate_binary.py -index 443472a..a4611bb 100755 ---- a/efi/generate_binary.py -+++ b/efi/generate_binary.py -@@ -1,4 +1,4 @@ --#!/usr/bin/python3 -+#!/usr/bin/env python3 - # - # Copyright (C) 2021 Javier Martinez Canillas - # Copyright (C) 2021 Richard Hughes diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb similarity index 90% rename from meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb rename to meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb index d72f2d9c53..1052437669 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb @@ -2,10 +2,9 @@ SUMMARY = "EFI executable for fwupd" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \ - file://0001-efi-generate_binary.py-Use-env-to-detect-python3.patch" +SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main" -SRCREV = "58a2928f778278ab1f7f8fcddbab81ba587a8962" +SRCREV = "cfd0be286a9b050c1aa4bfa3f0820256903a264a" S = "${WORKDIR}/git" DEPENDS = "gnu-efi python3-pefile-native" From patchwork Wed Sep 24 07:56:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 70866 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 D3333CAC5A5 for ; Wed, 24 Sep 2025 07:57:14 +0000 (UTC) Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by mx.groups.io with SMTP id smtpd.web11.7186.1758700633614999675 for ; Wed, 24 Sep 2025 00:57:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NOgv/Fl8; spf=pass (domain: gmail.com, ip: 209.85.166.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-il1-f181.google.com with SMTP id e9e14a558f8ab-42575d46250so28356305ab.0 for ; Wed, 24 Sep 2025 00:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758700633; x=1759305433; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lTpG5knluwe/LKD2Y0ZMKkYH+tJZ7LzdNnYAbjHYyQw=; b=NOgv/Fl8/sz0IuwFVjZxC/Jv7rZkdC9rV1sSfniQWbVd9qMXs5cXe2jHKOadodhq15 d0Sh7Nt31o4wktZeyc/YjJsAJYMmxvqKzP9VaQuJi8k4M4xV/OeuW0efEkEWRWz0ESIV 0BfdMxPvAtV+XPE+Qadiqky+dBiyB9Ivt4ukuhU/8w1BPOH8pCvsgE1O1phMRg7AAHob wK94e69iG9L45EgIlqCIU0Cf3Xd5J/3ZZH5/Y2zpUvlZCOXrh7itEyBR/yEoNaAa9rUD 3KdjdEhYZxeloA35dBISY/3aR6wwpCySF7ZCTKUgoj7pEA3u2NCsMyp75QJQEbNma4rx MNJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758700633; x=1759305433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lTpG5knluwe/LKD2Y0ZMKkYH+tJZ7LzdNnYAbjHYyQw=; b=iLAXGTaq4qt6HwBb93j+8ygYkUhHZjaZogZKslMI8FABgWT7I/LD9AMOGpOOxIUn06 pP1zJGffuAavqfVK4d8n3vGAtqtMgw9kmKeXG0+j5FvqRA6deaV0U1JmkCVn1MEhuwWf gD1UonJoMoOdYm3+yOuxBCyrTyX/LjVxSxXTu/uBMAA5SYm4OWH8OHqktmOWXSRW34EE VhHez6iqm+MAfOKcdtJrJ4idcGg7A9jFPw2ZAMxLF+NwWV9mNpcGO1Aadws4ThsE5vSi PYKBUUSIVcOpTFNqI5NTmOb4TijDLixaj4WkF6798prGVqkj2FOifxgUj2ECOhPvuOaX cixg== X-Gm-Message-State: AOJu0Yyfual+qcsWSHYWKo245y9PjHOwi0uc82eFJpTI14SVXjcdxSzN GRzHxDZFRFEnJy5N/ykcNDLKqNHFmwnxxl08faxap9zQ8WXJGiaBs7d6k/YOSg== X-Gm-Gg: ASbGncsGn0eVIKYkuCy/PcVJ9EKa4P3ijy3QysouOCVQCooqs7nRuK7lhSiIswQV5yZ 1sHYowiaAgh8fH9gH9nfGmBvqm2IfBd40ui0yIOTDBrS2maC+c6C8FAdSvTFcf0nWO7k5ZUpWOi vx51KROSXp8nxvcEB+R9wQG0pIP3so4j5ez0eQcmIa6833kgVrYvDg1z/X2N65y2AL0cbTXK5K8 LK1Go7qGdo7ymd7HcbfCYOe52gIo9OGZiMDWuwIG/yv7w20+GXfr9zuzgYLQYLvR4SiNJnlE8Ty 8Oj+ldUUazw5ZNR5EoAZaCDVT/uUVD9V1IpgboeO+xTF3QoC4gPsefCjHeiLZD+11a7eHO3YrCE a2opx5+6MQLN1b0dcveagROrj8bkJrFPoMFpEpXZqw5ZUD2HsIuln X-Google-Smtp-Source: AGHT+IEaidrzdSxegSAImEj2giPyk8XQWebGjp5eQkVGle9VhY/AiC9X5scAIhqOqgIQnrr6/8dNGg== X-Received: by 2002:a05:6e02:216f:b0:424:771:418e with SMTP id e9e14a558f8ab-42581eb55d0mr91105745ab.30.1758700632667; Wed, 24 Sep 2025 00:57:12 -0700 (PDT) Received: from NVAPF55DW0D-IPD.brunswick.com ([147.161.216.253]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-55dba4465f4sm3203576173.37.2025.09.24.00.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:57:12 -0700 (PDT) From: Ankur Tyagi To: openembedded-devel@lists.openembedded.org Cc: Gyorgy Sarvari , Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0 Date: Wed, 24 Sep 2025 19:56:42 +1200 Message-ID: <20250924075643.2047506-6-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> References: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 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 ; Wed, 24 Sep 2025 07:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119760 From: Gyorgy Sarvari Dropped 0001-fix-build-with-clang.patch, because it is included in this release. This update also fixes building for x86 platform. Changelog: https://github.com/intel/ledmon/blob/main/CHANGELOG.md Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj (cherry picked from commit 219f5c96cc744c73b732ddfb7c62d0448aa565ae) Signed-off-by: Ankur Tyagi --- .../ledmon/0001-fix-build-with-clang.patch | 90 ------------------- ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++---- .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +-- 3 files changed, 13 insertions(+), 114 deletions(-) delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%) rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%) diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch deleted file mode 100644 index f1e1d6f780..0000000000 --- a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch +++ /dev/null @@ -1,90 +0,0 @@ -From 28fd86fb4e18af181174176530a80672de4449d2 Mon Sep 17 00:00:00 2001 -From: alperak -Date: Sat, 18 Nov 2023 12:27:17 +0300 -Subject: [PATCH] fix build with clang - -struct ibpi2value is a structure which contains 2 unsigned integers. In -a number of cases the code was not initializing a value for the last value -in the pair in struct ibpi2value ibpi_to_attention. This was raised when -using clang compiler. - -vmdssd.c:49:27: error: missing field 'value' initializer -[-Werror,-Wmissing-field-initializers] - {LED_IBPI_PATTERN_UNKNOWN} - -dellssd.c:74:27: error: missing field 'value' initializer -[-Werror,-Wmissing-field-initializers] - {LED_IBPI_PATTERN_UNKNOWN} - -amd_ipmi.c:57:27: error: missing field 'value' -initializer [-Werror,-Wmissing-field-initializers] - {LED_IBPI_PATTERN_UNKNOWN} - -npem.c:76:27: error: missing field 'value' -initializer [-Werror,-Wmissing-field-initializers] - {LED_IBPI_PATTERN_UNKNOWN} - -Upstream-Status: Submitted [https://github.com/intel/ledmon/pull/179] -Signed-off-by: alperak ---- - src/amd_ipmi.c | 2 +- - src/dellssd.c | 2 +- - src/npem.c | 2 +- - src/vmdssd.c | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/amd_ipmi.c b/src/amd_ipmi.c -index 726f77d..ad36e9e 100644 ---- a/src/amd_ipmi.c -+++ b/src/amd_ipmi.c -@@ -53,7 +53,7 @@ const struct ibpi2value ibpi2amd_ipmi[] = { - {IBPI_PATTERN_FAILED_ARRAY, 0x45}, - {IBPI_PATTERN_REBUILD, 0x46}, - {IBPI_PATTERN_HOTSPARE, 0x47}, -- {IBPI_PATTERN_UNKNOWN} -+ {IBPI_PATTERN_UNKNOWN, 0} - }; - - #define MG9098_CHIP_ID_REG 0x63 -diff --git a/src/dellssd.c b/src/dellssd.c -index 3c10ec7..7f02ea1 100644 ---- a/src/dellssd.c -+++ b/src/dellssd.c -@@ -71,7 +71,7 @@ static const struct ibpi2value ibpi2ssd[] = { - {IBPI_PATTERN_FAILED_DRIVE, BP_FAULT | BP_ONLINE}, - {IBPI_PATTERN_LOCATE, BP_IDENTIFY | BP_ONLINE}, - {IBPI_PATTERN_LOCATE_OFF, BP_ONLINE}, -- {IBPI_PATTERN_UNKNOWN} -+ {IBPI_PATTERN_UNKNOWN, 0} - }; - - #define DELL_OEM_NETFN 0x30 -diff --git a/src/npem.c b/src/npem.c -index c21276d..3499169 100644 ---- a/src/npem.c -+++ b/src/npem.c -@@ -72,7 +72,7 @@ const struct ibpi2value ibpi_to_npem_capability[] = { - {IBPI_PATTERN_FAILED_DRIVE, PCI_NPEM_FAIL_CAP}, - {IBPI_PATTERN_LOCATE, PCI_NPEM_LOCATE_CAP}, - {IBPI_PATTERN_LOCATE_OFF, PCI_NPEM_OK_CAP}, -- {IBPI_PATTERN_UNKNOWN} -+ {IBPI_PATTERN_UNKNOWN, 0} - }; - - static struct pci_access *get_pci_access() -diff --git a/src/vmdssd.c b/src/vmdssd.c -index 51af591..9c63d90 100644 ---- a/src/vmdssd.c -+++ b/src/vmdssd.c -@@ -45,7 +45,7 @@ struct ibpi2value ibpi_to_attention[] = { - {IBPI_PATTERN_REBUILD, ATTENTION_REBUILD}, - {IBPI_PATTERN_LOCATE_OFF, ATTENTION_OFF}, - {IBPI_PATTERN_ONESHOT_NORMAL, ATTENTION_OFF}, -- {IBPI_PATTERN_UNKNOWN} -+ {IBPI_PATTERN_UNKNOWN, 0} - }; - - #define SYSFS_PCIEHP "/sys/module/pciehp" --- -2.25.1 - diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch similarity index 56% rename from meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch rename to meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch index 75bf2b4f5e..833f38a042 100644 --- a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch +++ b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch @@ -9,16 +9,19 @@ sys/types.h is needed for ssize_t Upstream-Status: Pending Signed-off-by: Khem Raj + +Adapted to latest release - sys/types.h is already included in the project. + +Signed-off-by: Gyorgy Sarvari --- src/dellssd.c | 1 + - src/utils.h | 1 + - 2 files changed, 2 insertions(+) + 1 file changed, 1 insertion(+) -diff --git a/src/dellssd.c b/src/dellssd.c +diff --git a/src/lib/dellssd.c b/src/lib/dellssd.c index 7b8d431..e97fe45 100644 ---- a/src/dellssd.c -+++ b/src/dellssd.c -@@ -27,6 +27,7 @@ +--- a/src/lib/dellssd.c ++++ b/src/lib/dellssd.c +@@ -13,6 +13,7 @@ #include #include @@ -26,18 +29,6 @@ index 7b8d431..e97fe45 100644 #include #if _HAVE_DMALLOC_H -diff --git a/src/utils.h b/src/utils.h -index 720447a..c106529 100644 ---- a/src/utils.h -+++ b/src/utils.h -@@ -21,6 +21,7 @@ - #define _UTILS_H_INCLUDED_ - - #include -+#include - #include "config_file.h" - #include "stdlib.h" - #include "stdint.h" -- 2.21.0 diff --git a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb similarity index 79% rename from meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb rename to meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb index 23a49a7d1b..eba5428856 100644 --- a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb +++ b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb @@ -8,18 +8,16 @@ HOMEPAGE = "https://github.com/intel/ledmon" LICENSE = "LGPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" -DEPENDS = "sg3-utils udev pciutils" +DEPENDS = "autoconf-archive-native sg3-utils udev pciutils" inherit autotools systemd pkgconfig SYSTEMD_SERVICE:${PN} = "ledmon.service" -SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https \ - file://0002-include-sys-select.h-and-sys-types.h.patch \ - file://0001-fix-build-with-clang.patch \ - file://Correct-get_uint64.patch" +SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https;tag=v${PV} \ + file://0001-include-sys-select.h-and-sys-types.h.patch" -SRCREV = "b0edae14e8660b80ffe0384354038a9f62e2978d" +SRCREV = "f70201d255b667de00f15880e99732699df6dce0" COMPATIBLE_HOST = "(i.86|x86_64).*-linux" COMPATIBLE_HOST:libc-musl = "null" From patchwork Wed Sep 24 07:56:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 70868 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 C41D3CAC5A5 for ; Wed, 24 Sep 2025 07:57:24 +0000 (UTC) Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by mx.groups.io with SMTP id smtpd.web11.7187.1758700637332269392 for ; Wed, 24 Sep 2025 00:57:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HTRQHyqK; spf=pass (domain: gmail.com, ip: 209.85.166.169, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-4248746aabfso25631005ab.2 for ; Wed, 24 Sep 2025 00:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758700636; x=1759305436; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tn06av4p33HspWbBRbVcuUWD3Vz5nEHlka6l6BWWGvI=; b=HTRQHyqKs8zhYm56huYBmmfGCB4yEsi0VwJAAmh65OnsmU6HlA6aUBDEhoUT1S/qFb PUIjTKvZ78FnsZP8NWI6bu4Ki8huBot9pxesiYCIeHTuVsGprABP4yLFf8/tPAmyM7et MYijaw4Yji/8IXFh6wHvCXLC8hE1EYDkaSkeCtok6yJ/e8XmMboXH2CemNkBZtaEJKjm +2immRWNxoVQhRmjZsFe7Yp0EygEAluimF1bsWEk3gG+QfrhwV4lAtzhftyYUzWue+I3 9X/yY0+i91jLVhzdxDTxjRN2e82SEPCF7bgcWQBpybsP6W7frQO53OrEy7r6JnyFTh/l XD+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758700636; x=1759305436; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tn06av4p33HspWbBRbVcuUWD3Vz5nEHlka6l6BWWGvI=; b=Zgfl1Vfyr056xYpPDD9pZ9rGUmIFd1cFOYh54qsJVs6s6lq7RYApczRdV+4gWWJBEk nU+I0+wIxbLr5NeZ2aDvdp+QTrsPi3sFrqmLUI0aVQK1ZZB1ShvE8HuYRpQRxAvB5y5f qLSfLz67NglGjV47va7Azk4NQN1BRvDQAPXCFjRBvqn9h4wixciKWM76R4022WD6WD13 5FkaWzFnFo+9Wo/guf6CSX8tGprRpc3K4WjUFbFAPQdHRdAzqBZ+/GDKnxW80YPrr5WT W1VCIQSgKSiIN6M6BK9YNEoK4i/IdFgHYmyV+yoVqBGSqP6dQ1a8qB9fbdLsck2z1IgK ylHA== X-Gm-Message-State: AOJu0Yzl/32brasYfQSeUbITW1oXyXk+zDhqqIUXbqVz3NLIQ19haI3e UFvG8IP4KV0l8qlKV28GB4XcSaYKbPYCiHekz3Dm1xSXjYMC0VI9F2wPtaACwQ== X-Gm-Gg: ASbGncvbh/Xe1zoN5f8wMzfl5QS9KkK4UlIf4L1+unVxpnJtpA+I+rGZ84XC+RIM7RW IKfXGdctvdXkc33veD+MMkZv/swE25PBYN8gE0IKBMMH1KGt9SWkUriwa4SbuHgXKQ5JfjIilU1 DgK0YjMJd6weXeUrWkxg1Eq8jWlwvcnULIC3v+5Aapw9uQfbgDaWCFenGzYh+h36TaRnXQH1qZ9 A3NU7zEu+R/RDEqkIMcZ21T9jfYtLDNcMenr5a0Y+679JKQMT3b7AuAatkpCygGBg8/dQ+bgBE5 euhFrlVPG5RPQA07K8+xsZB0ZAv9Au+vVdSqdJkdmP4ofVsveRLW0+CQHu79XeatOPlNO2dz8xy iAi+LNjQnGFG55Hw9ChyO67PnqQNS0GYGx62gF81FE+BYbiI3s/eE3en2sVxqSSc= X-Google-Smtp-Source: AGHT+IF2tyHPLwbSQnFCNGPISKaxmYDhbhkPMaJPblQqmgxKVJ6WmN5bQ2AhPZkKrTAFRSp32AGtRQ== X-Received: by 2002:a05:6e02:2509:b0:425:79a0:94d3 with SMTP id e9e14a558f8ab-42581e2ddb6mr89639035ab.12.1758700636168; Wed, 24 Sep 2025 00:57:16 -0700 (PDT) Received: from NVAPF55DW0D-IPD.brunswick.com ([147.161.216.253]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-55dba4465f4sm3203576173.37.2025.09.24.00.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:57:15 -0700 (PDT) From: Ankur Tyagi To: openembedded-devel@lists.openembedded.org Cc: Changqing Li , Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][walnascar][PATCH 6/6] lsscsi: upgrade to version 0.32 Date: Wed, 24 Sep 2025 19:56:43 +1200 Message-ID: <20250924075643.2047506-7-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> References: <20250924075643.2047506-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 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 ; Wed, 24 Sep 2025 07:57:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119761 From: Changqing Li Upstream changelogs: https://sg.danny.cz/scsi/lsscsi.ChangeLog Changes in this commit are referenced from 51e410a84eaa9742ea8881435925a242fb5529cd. Signed-off-by: Khem Raj (cherry picked from commit 51e410a84eaa9742ea8881435925a242fb5529cd) Signed-off-by: Ankur Tyagi --- .../recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%) diff --git a/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb b/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb similarity index 63% rename from meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb rename to meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb index 63b94e9d6e..127be8fbfa 100644 --- a/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb +++ b/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb @@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz" -SRC_URI[sha256sum] = "619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15" +SRC_URI[sha256sum] = "0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1" inherit autotools -S = "${WORKDIR}/lsscsi-${PV}r154" +S = "${WORKDIR}/lsscsi-${PV}" + +UPSTREAM_CHECK_REGEX = "lsscsi-(?P\d+(\.\d+)+)\.tgz"