From patchwork Tue Jun 20 15:37:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26059 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 5B34BC001B3 for ; Tue, 20 Jun 2023 15:40:05 +0000 (UTC) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mx.groups.io with SMTP id smtpd.web10.714.1687275600378988104 for ; Tue, 20 Jun 2023 08:40:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=MlUkPiEg; spf=softfail (domain: sakoman.com, ip: 209.85.215.175, mailfrom: steve@sakoman.com) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-553a998bca3so2414145a12.2 for ; Tue, 20 Jun 2023 08:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275599; x=1689867599; 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; bh=jzQTAkRd/07o6iN79uHaDbNyeUyP+1v3dWVpJ0BLBek=; b=MlUkPiEgJ3ps8owNGSOjtrXu+zyB2qQRSKygtCIIfZ/4e4kRPMbgYwKuLM/io8rdUI nAxysnQFXmb89K/asp8EvxSTqmT5Bz2vk/QJ6TbUFR+HpXyTPLU0mV3NzKGqv5UtmSt/ e9KLXK/EY6Wov614fQMbOdNZC+3finDdVamq/Hjc8Blb5sLCdScrXq1Cqi3/bcFExjFG e3j3en0DaKD/fsdfxk4bjNU9aDN6LiaIqu2BXQG6qIz7zcZ4Ba+n1sXaa09xhKyndiyq b+AY2InwOQcHqyDZlw7XR2FjXifJm0mny7opTbyY1Wio9t5+093vZ0NBqZ336mXDukik eOag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275599; x=1689867599; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jzQTAkRd/07o6iN79uHaDbNyeUyP+1v3dWVpJ0BLBek=; b=USFmilSQkRk3TCjEkB5pI3ViLG0Iw26SoJvmIMaXXvpnsIBXLe+FWMxvXuP9EApbBI YvHPfAz5Tt0kgGpo1eCNkTAV4FAOcoJzr2tvHKzJ6abyiAEXEyfNp1HeOc08VPikJghr 7BmRJOp0efPpZOXGLimqUz8Igyc3FMgcgOo2rPZujELOGFgnJE8jP41a0q4VgpLZURl9 Ph/5gFEwl4QQDM2saZAyxUyASO8OgHb4nUwC4M5OHdtavv34RnQmti9HDcBqMvVSVMOi SLl5EFVtpQMkgv6q3jTF9JMzCLKQe3ltEJPFA/CnRIqUT6Fgm4Dk0hXurTUKZfLaAtze 0mYw== X-Gm-Message-State: AC+VfDyuyATPh+pE/oZYWy96MVQ4EDsikSJ1AoPTffcMjRoMmQhoy9dd eYq6X0JQRLkxryzuu6+kiNmbrv4nRfxC2UAKR6o= X-Google-Smtp-Source: ACHHUZ4z2DQfdMtZzM+rqO9uCw2hJ+OZPEO3IV5ZjAYsxDeN7ZUSZn/AW4iO2+WGWaB5Vmt+3bQ/fA== X-Received: by 2002:a17:902:e752:b0:1af:fbb6:23b7 with SMTP id p18-20020a170902e75200b001affbb623b7mr15578047plf.3.1687275599313; Tue, 20 Jun 2023 08:39:59 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.39.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:39:58 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 1/9] nasm: fix CVE-2022-46457 Date: Tue, 20 Jun 2023 05:37:20 -1000 Message-Id: <6b82d998184112c42b4298aef6a0b9e314fc8ee4.1687274724.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183144 From: Archana Polampalli NASM v2.16 was discovered to contain a segmentation violation in the component ieee_write_file at /output/outieee.c. References: https://nvd.nist.gov/vuln/detail/CVE-2022-46457 Upstream patches: https://github.com/netwide-assembler/nasm/commit/c8af73112027fad0ecbb277e9cba257678c405af Signed-off-by: Archana Polampalli Signed-off-by: Steve Sakoman --- .../nasm/nasm/CVE-2022-46457.patch | 50 +++++++++++++++++++ meta/recipes-devtools/nasm/nasm_2.15.05.bb | 1 + 2 files changed, 51 insertions(+) create mode 100644 meta/recipes-devtools/nasm/nasm/CVE-2022-46457.patch diff --git a/meta/recipes-devtools/nasm/nasm/CVE-2022-46457.patch b/meta/recipes-devtools/nasm/nasm/CVE-2022-46457.patch new file mode 100644 index 0000000000..3502d572cd --- /dev/null +++ b/meta/recipes-devtools/nasm/nasm/CVE-2022-46457.patch @@ -0,0 +1,50 @@ +From c8af73112027fad0ecbb277e9cba257678c405af Mon Sep 17 00:00:00 2001 +From: "H. Peter Anvin" +Date: Wed, 7 Dec 2022 10:23:46 -0800 +Subject: [PATCH] outieee: fix segfault on empty input + +Fix the IEEE backend crashing if the input file is empty. + +Signed-off-by: H. Peter Anvin + +Upstream-Status: Backport [https://github.com/netwide-assembler/nasm/commit/c8af73112027fad0ecbb277e9cba257678c405af] +CVE: CVE-2022-46457 + +Signed-off-by: Archana Polampalli +--- + output/outieee.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/output/outieee.c b/output/outieee.c +index cdb8333..8bc5eaa 100644 +--- a/output/outieee.c ++++ b/output/outieee.c +@@ -919,7 +919,7 @@ static void ieee_write_file(void) + * Write the section headers + */ + seg = seghead; +- if (!debuginfo && !strcmp(seg->name, "??LINE")) ++ if (!debuginfo && seg && !strcmp(seg->name, "??LINE")) + seg = seg->next; + while (seg) { + char buf[256]; +@@ -954,7 +954,7 @@ static void ieee_write_file(void) + /* + * write the start address if there is one + */ +- if (ieee_entry_seg) { ++ if (ieee_entry_seg && seghead) { + for (seg = seghead; seg; seg = seg->next) + if (seg->index == ieee_entry_seg) + break; +@@ -1067,7 +1067,7 @@ static void ieee_write_file(void) + * put out section data; + */ + seg = seghead; +- if (!debuginfo && !strcmp(seg->name, "??LINE")) ++ if (!debuginfo && seg && !strcmp(seg->name, "??LINE")) + seg = seg->next; + while (seg) { + if (seg->currentpos) { +-- +2.40.0 diff --git a/meta/recipes-devtools/nasm/nasm_2.15.05.bb b/meta/recipes-devtools/nasm/nasm_2.15.05.bb index 59b1121bd4..bcb7e071d6 100644 --- a/meta/recipes-devtools/nasm/nasm_2.15.05.bb +++ b/meta/recipes-devtools/nasm/nasm_2.15.05.bb @@ -9,6 +9,7 @@ SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 \ file://0001-stdlib-Add-strlcat.patch \ file://0002-Add-debug-prefix-map-option.patch \ file://CVE-2022-44370.patch \ + file://CVE-2022-46457.patch \ " SRC_URI[sha256sum] = "3c4b8339e5ab54b1bcb2316101f8985a5da50a3f9e504d43fa6f35668bee2fd0" From patchwork Tue Jun 20 15:37:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26058 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 5D513C0015E for ; Tue, 20 Jun 2023 15:40:05 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web10.717.1687275602037357805 for ; Tue, 20 Jun 2023 08:40:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=hUQp+Ljx; spf=softfail (domain: sakoman.com, ip: 209.85.214.182, mailfrom: steve@sakoman.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1b52bf6e659so21848525ad.3 for ; Tue, 20 Jun 2023 08:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275601; x=1689867601; 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; bh=4yAt2WUbF3YHunetQbSXexUN3VKsDsPMfpDnDvPFHLs=; b=hUQp+Ljx3xNinDxfYgxgz3yqdgL7wbFBTFlxalraSJjyF6htG5I2ai1W6Tw/CCp2zE /JlQ+TW7HeGbTXFaqDARaoR+1bdVAgELQpIgrTj+mSHruCcpMvEBs3u8l2IoAHKbxA8Z VwZUGJpcZ7QHi22OfGCWHskAkKiYf6pMH9+DWG8p+NOwypfFXNop3HdMlw8OIY2Ig8Sy mvRAzsHJRYBc9pqccj+K3Ty/mWn9In/IYeTLa1dGdelEnZYNldSExG0k47lq3+QAIR4x vULu/ICbIgv/PT2GV2tZ1roD+pRRwvIbsEdkGwPi6AmtkgexZ+3B387EAgRInDRZ7u4I 3GdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275601; x=1689867601; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4yAt2WUbF3YHunetQbSXexUN3VKsDsPMfpDnDvPFHLs=; b=TtuWrUWugV1nleD0bgucaWsOpWG9xAdqCy/mu0hggi+6ulDBjV3f5QRSVlef42nkmU g29I8x9VQL0vcXCQNL6AlR0HKlKN1UB4YahaYN/zCN8HeTHPZF7ERWa1krFXPQrtmkMT wwrBg3NNFYbwxLgFgF/+MgAkuBtIuDkvhPLGFjxGntWBDjpqNd18LGjAtCesxoPb2N2U Pgz6XM97fNKrRndjCEy/Ox2HmHfI3tdHy/gyRN7bX/kolHWAMTPjUpgemy+Y3k0nuOT+ DKfI4KD7l3yksQFqlDJ+4KHyf9oUf+4xljUMuaRBw4zwRmp9ugKfZk82t2PiaeV6AbVh WZjA== X-Gm-Message-State: AC+VfDyaetCOVfa9pN7joevZO4P6xKBCCCZ5gcHG8+T7IlX7sn55ijbz lBRJ8z28TOHHD1UtGFaRqzZyocirlO9onk1GTvM= X-Google-Smtp-Source: ACHHUZ6ctYLg+5U4U+4FRi4R6jFFL976rCMGGrXfKuXV4QgS1bLfKtK1REoZenThv7mynsoiSACcWQ== X-Received: by 2002:a17:902:cec6:b0:1aa:ef83:34be with SMTP id d6-20020a170902cec600b001aaef8334bemr9397621plg.47.1687275601092; Tue, 20 Jun 2023 08:40:01 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:00 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 2/9] iso-codes: upgrade 4.13.0 -> 4.15.0 Date: Tue, 20 Jun 2023 05:37:21 -1000 Message-Id: <86e8e31a413fdbb8ffa825c41d0fe83c292a6b76.1687274724.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183145 From: Wang Mingyu Changelog: ========== - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-3 - Translation updates for ISO 639-2 - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-2 - Translation updates for ISO 3166-3 - Translation updates for ISO 639-2 - Translation updates for ISO 639-3 - Translation updates for ISO 639-5 - Translation updates for ISO 4217 - Translation updates for ISO 15924 * ISO 3166-2: Fix wrong Spanish translation Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni (cherry picked from commit 355f2f9fe8a1e6c5e78f136cb3ed77c9004fb75c) Signed-off-by: Steve Sakoman (cherry picked from commit b189240b211e5d8f40747a0128834ed83c38a8f4) Signed-off-by: Steve Sakoman --- .../iso-codes/{iso-codes_4.13.0.bb => iso-codes_4.15.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/iso-codes/{iso-codes_4.13.0.bb => iso-codes_4.15.0.bb} (94%) diff --git a/meta/recipes-support/iso-codes/iso-codes_4.13.0.bb b/meta/recipes-support/iso-codes/iso-codes_4.15.0.bb similarity index 94% rename from meta/recipes-support/iso-codes/iso-codes_4.13.0.bb rename to meta/recipes-support/iso-codes/iso-codes_4.15.0.bb index f3ead5e8c1..b789a99035 100644 --- a/meta/recipes-support/iso-codes/iso-codes_4.13.0.bb +++ b/meta/recipes-support/iso-codes/iso-codes_4.15.0.bb @@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=https;branch=main;" -SRCREV = "ab6b01d5b56af7da9f0d2d1619a3cf84e43ed76a" +SRCREV = "69ba16daef3c5c5e3c18f2d919e25296a4b946be" # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which # are inhibited by allarch From patchwork Tue Jun 20 15:37:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26056 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 45B3EEB64DD for ; Tue, 20 Jun 2023 15:40:05 +0000 (UTC) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.web10.719.1687275603855702437 for ; Tue, 20 Jun 2023 08:40:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=PyFf8JVe; spf=softfail (domain: sakoman.com, ip: 209.85.214.174, mailfrom: steve@sakoman.com) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1b52bf6e659so21848765ad.3 for ; Tue, 20 Jun 2023 08:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275603; x=1689867603; 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; bh=dxuCSPIjXcCFA6VE9io5o3mAshrjpiul3fIpp2+ZIOk=; b=PyFf8JVeymYmtZKI3Fe1D6xYX454yHanxh91ya0xR4P1g9jg7nXi0OxOdCA/ofLVp4 B6M9u3fpIgA71XgWdcjRs7z3jBFF7dTYL93MZG9z1V9cphIwzGzIiNXMjDsYJEwMxh05 RXkmOt68IuDvtSUd1SWQ3852NSjW/VyJbUr0pR3xTL1dAUKPlIkiDd87VUWtCNjKc0TU 1RHKkV5UCU7YWPr6//u9di6L/2HPfDLPx9mZgfFfrW6zku+kPnz/qEOR2aZhvesRYcQi X3tl4Hx4saqs7NLIhW8bvmAwVrwKk4hIpSUDVJ8ov1R6R5nOkueoA/6RLRbzOGQe4zA1 osKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275603; x=1689867603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dxuCSPIjXcCFA6VE9io5o3mAshrjpiul3fIpp2+ZIOk=; b=JpIaP47AaKs44PAm51q07CXz/T8sN64c4AOGRxccR4JYXfzmzLCys9/+G9o1jTJrov nqGFdXBL2kbJ0DM+PU9aq5yCtIADfIDXKTTQ8Ll8v2LcbM68L1iEeA7h0ZgtyTCC0f7L hweTVH/pEZIiMz0Z9e7V6gZffgo6Ib6cBTd4/09rInF/ZCDgi3jDBZXtPIUDGTb6SQqv ZNUKsCciYX8natNs2/fTFiOgqDMbfH2HYFNg8bY+6Yxzs7jaH6zOAwFnjBJY8/3s/zbZ P3LdYRzfJC0CiXzTS+aZxL6U8EM68fail27r5zVtECi1t5gPV0v6YrJhWyx1Bp/7mfUB n0+A== X-Gm-Message-State: AC+VfDx+VF6MXzTblz4+jnVk2cIsult/F8y+FQfd5aogSFd/56ZnEW3J aDZH7vwWCW36+EfVsKk9kxPY5TZ6W+8THUjW/rw= X-Google-Smtp-Source: ACHHUZ6vK1oaqcgBIC1KVb/6cFwigcqOjZhe7hqpBMV3VNe3e75W3WvdDLoxpz3lCGqwULGIEa6zvQ== X-Received: by 2002:a17:902:8ec8:b0:1b3:c578:c3e9 with SMTP id x8-20020a1709028ec800b001b3c578c3e9mr7175037plo.62.1687275602875; Tue, 20 Jun 2023 08:40:02 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:02 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 3/9] go.bbclass: don't use test to check output from ls Date: Tue, 20 Jun 2023 05:37:22 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183146 From: Martin Jansa * avoids possibly confusing error message in log.do_install like: ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory Signed-off-by: Martin Jansa Signed-off-by: Alexandre Belloni (cherry picked from commit 2f1777e6ac5269a71203b6a2c562a43503be95ae) Signed-off-by: Steve Sakoman --- meta/classes/go.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index f3d83febbf..d944722309 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -122,7 +122,7 @@ go_do_install() { tar -C ${B} -cf - --exclude-vcs --exclude '*.test' --exclude 'testdata' pkg | \ tar -C ${D}${libdir}/go --no-same-owner -xf - - if [ -n "`ls ${B}/${GO_BUILD_BINDIR}/`" ]; then + if ls ${B}/${GO_BUILD_BINDIR}/* >/dev/null 2>/dev/null ; then install -d ${D}${bindir} install -m 0755 ${B}/${GO_BUILD_BINDIR}/* ${D}${bindir}/ fi From patchwork Tue Jun 20 15:37:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26064 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 3A8D4EB64D8 for ; Tue, 20 Jun 2023 15:40:15 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web10.721.1687275605498174900 for ; Tue, 20 Jun 2023 08:40:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=5hxJ8WB+; spf=softfail (domain: sakoman.com, ip: 209.85.214.181, mailfrom: steve@sakoman.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1b4fef08cfdso24259285ad.1 for ; Tue, 20 Jun 2023 08:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275604; x=1689867604; 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; bh=l0gkuVn4bw6kfGM8S+gRCbTe/RMDnuvvQ1jRJTg9IME=; b=5hxJ8WB++OEHWRlSAFUvLj+emBvRejjvZMTG6NBkwbkq19NaETzSZWnFD6ExqCEIY5 wRpeVfdrAshL1fQNjibIqweE7HoqjP6m/FmBFuMXe8OrzR0JCfmafIt17LF1Zg1MYvG/ ZYreZQV7sYxOBjPoumm9PlF3spDztxt6H74bE9FMAZK1QtNm2kTuy0FWnUGOOMumjKck bxsNNXeaMZ/Q0TAlLIv+NRAyvmKgrcUDyDY29wcDHjYeinc2rB95RYEnTQvKaVShfQHQ sqARAHCZc0OfNuwln29iwalJpHev6MMf357NpfghhNFrF6qTeIBhsBKDrn4KzrIiucHs 6d2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275604; x=1689867604; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l0gkuVn4bw6kfGM8S+gRCbTe/RMDnuvvQ1jRJTg9IME=; b=ddRj5ZQyFaO0BzqMq/CHqc4xhvt3GgVN4T8ZgpIfkrOFl97H21yMZeg6+Ol+LZTWzY 9KdhPxazaNkhAvCGqtreDJ6+w0eOGyE9OdaZWAUQrzWDc/p5SJLJvO3CwccGdw283LK7 3pZUhZs8t6VgPzCjkRiZM8d2gUgQahRwxPyeNMwCXtPfX77NBzyFst/W9NTmpfLvv1mN WWCkvMHkmTGorQNQ4S3IwpljkUsHKYc2fwRB7vXnKJrtEZhLdiBdgLKAPUGhgldsl8tO BD7WMqDEr0qCzSMMd4MkWPSsJlc/zQv6shmdC2nqrxP1D1eYPePrk6ZwsYpL1bKbcU2F FQUQ== X-Gm-Message-State: AC+VfDzkJJnWxV6zQboyNlJDQpYqmOxjyLFvuDqDYiUQ3fgG5g6qmnqZ oZMMd6H/DrX5W4tWtxQ0pUkMCAdLHiTjdm+q8wI= X-Google-Smtp-Source: ACHHUZ6uCrY26xXkjEFBMHkOorITy79ZLDPE4QrKF2iPHnhiz5tm86Aja82ClqbUZ6/83L6RJCVzzw== X-Received: by 2002:a17:903:124d:b0:1b0:3a74:7fc4 with SMTP id u13-20020a170903124d00b001b03a747fc4mr9273821plh.24.1687275604541; Tue, 20 Jun 2023 08:40:04 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:04 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 4/9] conf: add nice level to the hash config ignred variables Date: Tue, 20 Jun 2023 05:37:23 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183147 From: Lorenzo Arena This is needed as each user could be setting different nice levels while building, however this should not make the shared cache unusable. Signed-off-by: Lorenzo Arena Signed-off-by: Alexandre Belloni (cherry picked from commit 42784f9360345da1c01d988070253e7ffd5ac4ac) Signed-off-by: Steve Sakoman --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 82b115e3a2..8ef4b00d08 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -948,7 +948,7 @@ BB_HASHCONFIG_IGNORE_VARS ?= "${BB_HASHEXCLUDE_COMMON} DATE TIME SSH_AGENT_PID \ PARALLEL_MAKE BB_NUMBER_THREADS BB_ORIGENV BB_INVALIDCONF BBINCLUDED \ GIT_PROXY_COMMAND ALL_PROXY all_proxy NO_PROXY no_proxy FTP_PROXY ftp_proxy \ HTTP_PROXY http_proxy HTTPS_PROXY https_proxy SOCKS5_USER SOCKS5_PASSWD \ - BB_SETSCENE_ENFORCE BB_CMDLINE BB_SERVER_TIMEOUT" + BB_SETSCENE_ENFORCE BB_CMDLINE BB_SERVER_TIMEOUT BB_NICE_LEVEL" BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \ lockfiles vardepsexclude vardeps vardepvalue vardepvalueexclude \ file-checksums python task nostamp \ From patchwork Tue Jun 20 15:37:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26060 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 369DEEB64D7 for ; Tue, 20 Jun 2023 15:40:15 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.722.1687275607040402574 for ; Tue, 20 Jun 2023 08:40:07 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=OxHEAA9k; spf=softfail (domain: sakoman.com, ip: 209.85.214.180, mailfrom: steve@sakoman.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1b52bf6e659so21849195ad.3 for ; Tue, 20 Jun 2023 08:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275606; x=1689867606; 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; bh=7cLP2ab70gmuIdvvYyIEahp4/ioRluVANLCDJIPY05c=; b=OxHEAA9kzOCSRS/uc0nbfFeWq3Z8ZGAzF9k/EC/WqL/IfaYzSEYLezXboz1EsEcBf5 o7K2q1RVqh8eGfYeRiu7kiWbqZlPwR+jzagHonYhMLKza3gPfokkiQXpOmy2bogD3nd6 AH6BEqIh/4DY9lkP3GXLDpMkM6yfdfUAm9jxe2p6qk2IQ0D0A5OS649AHA+qS83j3bMp 54ulE4NNFQaTNY4RNn0LBgiY3OneX5onq/siG5HouqYkSBmy/ZIrOew6UTUckNrYUXiJ THMK4xhEtuSs2y3/8QyxBj8u2uuz3COAxa5wFvq/Gl6KXCfCsvozRUN/GiCPOuGpZv1U 11Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275606; x=1689867606; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7cLP2ab70gmuIdvvYyIEahp4/ioRluVANLCDJIPY05c=; b=UcCAX31CTZxs0y3apEcLZFGwn8bkhr3dE2RRZBXDhjXyZ/j1MrtlCAzRDhdQCe8BCH PAdYL+2I/cNt14qIL2n9jtX8iVEPDfFi7/36XPR/aFTWDQjCbVgszI2kHlqMO76/xLq/ Th4XtZOG/Ps75C9T16fgbrTYimmrgMyTC/SJRZj5O3ChWVjZL3F4MSF1Y0qF6oE4iwpv WBLMyugGeqCO6MqPm0JuVN5pY0xhTq1FzTUgGx6Ii9r4ioO/ex9JsPXWcMiGnYF966Ut ccpl2cF3fFuMjXj2O1pLYgv5PI+8PmIFYxD6z1OyhNryG4ph+z9ytZ4gF+aWE7jfrBAj 8LLg== X-Gm-Message-State: AC+VfDyhqb30o/iVUd3an7GFaAg0G9leTV8/wE/8VGY83EfQvUMGOJUY ZNPjjbsQywwKMZRbMe04IUCxCwGMWsJ2grD1eh8= X-Google-Smtp-Source: ACHHUZ71gaLzQ8nJdTVMcTPANMDgcvhGvkxeIGrC3xmsO+hHuWAsYWt9BZso/I31pbJyMo9BRLO2tA== X-Received: by 2002:a17:902:900c:b0:1b1:76c2:296a with SMTP id a12-20020a170902900c00b001b176c2296amr6433327plp.60.1687275606114; Tue, 20 Jun 2023 08:40:06 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:05 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 5/9] kernel: don't force PAHOLE=false Date: Tue, 20 Jun 2023 05:37:24 -1000 Message-Id: <44b75c7442b05a2fedcc0d73982566c2bef84357.1687274724.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183148 From: Bruce Ashfield If a specific kernel provider or configuration wants to enable BTF and pahole analysis, it isn't currently possible due to the explicit definition to false in the base kernel build arguments. pahole is now detected by the kernel built itself, so unless pahole-native is enabled, the result is the same. If a kernel does require an explicit disable of pahole, it is better to carry PAHOLE=false in those specific recipes. Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from commit b1e4851a36ed47ce6ba880a49264b9a57c78cf4f) Signed-off-by: Steve Sakoman --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 3d5422b09e..fc48737869 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -232,7 +232,7 @@ KERNEL_EXTRA_ARGS ?= "" EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}"' EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"' -EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}" PAHOLE=false' +EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"' KERNEL_ALT_IMAGETYPE ??= "" From patchwork Tue Jun 20 15:37:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26063 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 4B252EB64DD for ; Tue, 20 Jun 2023 15:40:15 +0000 (UTC) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mx.groups.io with SMTP id smtpd.web11.797.1687275608691675456 for ; Tue, 20 Jun 2023 08:40:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=nggxLT6U; spf=softfail (domain: sakoman.com, ip: 209.85.215.174, mailfrom: steve@sakoman.com) Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-543cc9541feso2645027a12.2 for ; Tue, 20 Jun 2023 08:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275608; x=1689867608; 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; bh=8jXzH/i2ECj7OL016EvKq7IHoeuNFZ4ZbkwFsSOChFk=; b=nggxLT6UeUFYEzkcrMzYeg4gyYEYzng+UwWrRuz7hsQ+YIHzCa7HsLNO9kVa/x/0nt 9IEz52FtX3orCG+bF/pN6uv0mdE498c/LvIcjuQ8OuhdyKoz/MMsuLbKex0aGL3sakX4 HpAAWWx+mp2VQH+KSvCrq7HdJPGjI+9kN+usXEJKt0/bu5YKVK7HDjzhV6oNJKef4wDZ OFpJ3sTZrTQCMYuAoSMdA25TmVFpIw6CGq/XaSAf31I/7z3Z8sGpkVXhOiASMGQbHl6r 8DQDUYc7KJ64SjijI9O6LFOHSpdGPndCJXmYzmRrR2oiHSMAGN+IMHkMVckhMk5EOyqi IYdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275608; x=1689867608; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8jXzH/i2ECj7OL016EvKq7IHoeuNFZ4ZbkwFsSOChFk=; b=aofkK3RbEz5d547fXwcy/LnwpauuH9Ar5rKzYtioCm5uNgLrasx/le72atDG8niv3B GbASnXUAeHJGCX7XfXjvgHL2ju+I9w7ThjIr0m2lNeeCJTIbavtSB77+QhroPHUVYQ2H IihZSOjYhRZcNS/+ZmieULnBsW/EBleub7X9Y7QXmeTM/q06DqlfMZJdKTmAeUXPdjEI 3URoEzLVv6djM+pbSd0Zdv9mNTveM2sVWYoEd+dJiXLU02j71qSEujUTjKAvQl0kqzUQ iNOfI0OyVs1jSD1TXqSqIVZTeXR+AAe03lrCz1nZMgoyDkSLTVQFfzr9ZARr4G/5eST6 0FIw== X-Gm-Message-State: AC+VfDwiUC4vpav7ZzYZOfaDthDBj5UEdR7M2BGaKpzsu5GHFhd3Le/P gP+WE25CsyIGCw0KBNNNnOelTiYbK5SP63cmRUw= X-Google-Smtp-Source: ACHHUZ7fRRLpgIoK8cgr+Jw59JGcyfRdRBL7Rrox96C3doxf7TfBlji33Mh4+occ4W/GJzv5ZGt5sQ== X-Received: by 2002:a17:902:e544:b0:1b6:7c9a:3a53 with SMTP id n4-20020a170902e54400b001b67c9a3a53mr2616820plf.67.1687275607839; Tue, 20 Jun 2023 08:40:07 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:07 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 6/9] kmscube: Correct DEPENDS to avoid overwrite Date: Tue, 20 Jun 2023 05:37:25 -1000 Message-Id: <5dec509c33ce3d01fa1cd44408f0ef198dc4f6c0.1687274724.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183149 From: Ranjitsinh Rathod As part of the below commit, DEPENDS gets overwrite which is wrong Link: https://git.yoctoproject.org/poky/commit/?id=bd947d3343dcd96e79fc8157f32a2a087cd710a7 So correct the DEPENDS varibales Signed-off-by: Ranjitsinh Rathod Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 63f338255000874c62bf01ccc11f2c100014c3d9) Signed-off-by: Steve Sakoman --- meta/recipes-graphics/kmscube/kmscube_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb index 58ce26a3d5..98f110527e 100644 --- a/meta/recipes-graphics/kmscube/kmscube_git.bb +++ b/meta/recipes-graphics/kmscube/kmscube_git.bb @@ -6,7 +6,7 @@ OpenGL or OpenGL ES." HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/" LICENSE = "MIT" SECTION = "graphics" -DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm" +DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm virtual/libgbm" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb" @@ -20,7 +20,6 @@ S = "${WORKDIR}/git" inherit meson pkgconfig features_check REQUIRED_DISTRO_FEATURES = "opengl" -DEPENDS = "virtual/libgbm" PACKAGECONFIG ??= "" PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" From patchwork Tue Jun 20 15:37:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26062 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 4A389EB64DB for ; Tue, 20 Jun 2023 15:40:15 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web11.799.1687275610719143089 for ; Tue, 20 Jun 2023 08:40:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=owgytW7P; spf=softfail (domain: sakoman.com, ip: 209.85.214.182, mailfrom: steve@sakoman.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1b52864b701so37854755ad.3 for ; Tue, 20 Jun 2023 08:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275609; x=1689867609; 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; bh=rfWvnopzSRZ95lgZ1tyj20TX4aACXRkbl2HQ8oKb2zI=; b=owgytW7PKyZ+zlp6hXrfc03Wt2f9TJxpkwQ61vQppydzqwSoSLcimD4U0Pf/cA9nMj +6akQCdpsmP4YDo5F5SyrdOulPsk6O0bFduuqb7DF+IGRJis85FrMS0Vbx6NoD76rHo0 BAMxh2iQyK6lpEYMHWbcsHP2SecibPynbHP//+biokVXoGVAL87EOYHJfGLVQcKgpJo5 Fg4KOqrUI0gY3tSE1wa/lg0sRrKQfYUmHaVgAI95CHvLWP6d/oJklu1IL6kdOM1IIQam U8LbVy4NIt5zrRByB/CWVJkMKENgSFT+EJ6o8/jqZoxQ2SrypUwCJdZb8/toRgcJt4pK s0Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275609; x=1689867609; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rfWvnopzSRZ95lgZ1tyj20TX4aACXRkbl2HQ8oKb2zI=; b=B/IIFMYC/ZFjmexlpThdDIHzJSmzfgtf7D7nEI+7lCI1nZRoOWNd+mKEWty1+jYFG/ kiL/SHClQfDPQ86iBTqtd6r/oBVnCyCm0gBfYnoxU5DJozyOCZDooKsBIQ363YYGvWO3 zPdeDz/5Cq+kxBltSOn3fZB/ayhdehpAKP9qi85jMtQ+Fd1FKGXfSClPB22GFXczTWsk x9+emymORyEqAoioEiVmgDeWnUNBCOIoIpvXx80S3RY8W/2fs/9UU08AdyarKP4ZimD8 f4/LUx+LA07CtvsT5zFQVPbfY0z3JpOdZhfYpwZ0Gr2Q4gOBxqWlR34b25AzrL2QuoTl 0FHQ== X-Gm-Message-State: AC+VfDxK8vjnGf5MWOcw/Y8dUrUmAegVOI1NXLuUcKyyFtanfL4BJ9ex 0heEcIZYdVLVc429mW9ogceEKnFYHo9yOs9bV6A= X-Google-Smtp-Source: ACHHUZ719leCjiSoHCKLd9+/6L5Z8qIO2RDu1G+78zsE4SMXQFuLDdPTe+3hIyi1GcngkxJ9cgNX6Q== X-Received: by 2002:a17:902:c255:b0:1a9:21bc:65f8 with SMTP id 21-20020a170902c25500b001a921bc65f8mr12179018plg.11.1687275609374; Tue, 20 Jun 2023 08:40:09 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:09 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 7/9] oeqa/selftest/cases/devtool.py: skip all tests require folder a git repo Date: Tue, 20 Jun 2023 05:37:26 -1000 Message-Id: <9ce30faa488ea905292b9944fb3c1b471019f28c.1687274724.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183150 From: Thomas Roos Devtool selftests require poky dir a git repo, when downloading poky as a tar, this is not the case. Those tests will now skipped. [YOCTO #12389] Signed-off-by: Thomas Roos Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 95a5bc130dc51ea9de95c64dbf0e9c7892415d50) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/selftest/cases/devtool.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index f512ebc0a0..64179d4004 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py @@ -8,6 +8,7 @@ import shutil import tempfile import glob import fnmatch +import unittest from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import runCmd, bitbake, get_bb_var, create_temp_layer @@ -38,6 +39,13 @@ def setUpModule(): canonical_layerpath = os.path.realpath(canonical_layerpath) + '/' edited_layers.append(layerpath) oldmetapath = os.path.realpath(layerpath) + + # when downloading poky from tar.gz some tests will be skipped (BUG 12389) + try: + runCmd('git rev-parse --is-inside-work-tree', cwd=canonical_layerpath) + except: + raise unittest.SkipTest("devtool tests require folder to be a git repo") + result = runCmd('git rev-parse --show-toplevel', cwd=canonical_layerpath) oldreporoot = result.output.rstrip() newmetapath = os.path.join(corecopydir, os.path.relpath(oldmetapath, oldreporoot)) From patchwork Tue Jun 20 15:37:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26061 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 3B3CBC3DA40 for ; Tue, 20 Jun 2023 15:40:15 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web11.801.1687275613986454366 for ; Tue, 20 Jun 2023 08:40:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=i+Q3VKA7; spf=softfail (domain: sakoman.com, ip: 209.85.215.179, mailfrom: steve@sakoman.com) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-54fb3c168fcso3974753a12.0 for ; Tue, 20 Jun 2023 08:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275613; x=1689867613; 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; bh=1yRsAbHY9S2qkZGyfQDv/ZBZnwlsvI8LMj1qx3UG8iM=; b=i+Q3VKA7yRY0nTfg2fkp1whH8AJgJHUcqcKU9m9IUBgXP8r1m9ukRSjgVVybAHvVj6 Yd528w8ZzpuLRgdpO6nI6TeG3QoeG/WxOxsQ1qGPY1SPckNUL/fjctmELibS8gl9SoYz bxR0C8sdORxOk/L+Bxnd22o/A+FaXxDJ3hJ2GEB0bq/0xmbYgYNGIwOzohqjzNyfHaJW OZPs/NesAfzP1qWDfQFIrMAQr0EbKh8UW3RQxHVqrwa5KAmWRKOUoiljsXY7gy4urvqy 5DdBzaexVPwj53GJEEQWRt4WRJeMuDUymclUZx6RBTfTObOLETRq3eXOoxdGga99IPWH JoGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275613; x=1689867613; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1yRsAbHY9S2qkZGyfQDv/ZBZnwlsvI8LMj1qx3UG8iM=; b=bYFNhqYBRg6efa6R9puMMxBX8tcewsFpsimRIP852gpCVUErF5uQ62N+4QFOB5NeuN wdUPDIF4c4bQ9brWg5yidlJuy9lT3slVzCT/gtk3o+Uhh0LAiQu4do331X8Wx6i0NELf YtwP2S+70deck8rXwlTAht02/f6GsXRetp1OuN606drzFKugdfmD8hFeT/kav4V0rSm0 mndqnki94MzqRcDAIToGjp9daURmx6JebwFCk6B4mGhDe1EWdh2IBzn1809Qp8WtvobS WA0fs/PX0MOSVbNa0xbnm/MHEa06HvdTyF6hZ7ieweTWa27/LCjFmPbWUzCg6C5noxCG 6LdA== X-Gm-Message-State: AC+VfDxkB5CV+lSPq85hIq5Pz93jHuFori6EaAxpN3lWE4inkV5H+uaj WmOHR4nmIgENyyHJzGUYFO6OVS9ag05Db/T/ncI= X-Google-Smtp-Source: ACHHUZ448PKMaMerqL44KFVhxEdcwYQP7Y8ETamUuJ31THyPeUwRNCKimiz9jO6DLQzJVPa9eokgFQ== X-Received: by 2002:a17:903:2615:b0:1b2:48a:57fa with SMTP id jd21-20020a170903261500b001b2048a57famr13252297plb.56.1687275613187; Tue, 20 Jun 2023 08:40:13 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:12 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 8/9] staging.bbclass: do not add extend_recipe_sysroot to prefuncs of prepare_recipe_sysroot Date: Tue, 20 Jun 2023 05:37:27 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183151 From: Chen Qi When running prepare_recipe_sysroot task, the extend_recipe_sysroot is run twice. What prepare_recipe_sysroot does is executing extend_recipe_sysroot, there's no need to add extend_recipe_sysroot to its prefuncs. Signed-off-by: Chen Qi Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit bf7584a2ac16ee46ff5b41536b06bb46d0cbada7) Signed-off-by: Steve Sakoman --- meta/classes/staging.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 044873c9ae..a78839bdc2 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass @@ -648,7 +648,7 @@ python staging_taskhandler() { bbtasks = e.tasklist for task in bbtasks: deps = d.getVarFlag(task, "depends") - if task == "do_configure" or (deps and "populate_sysroot" in deps): + if task != 'do_prepare_recipe_sysroot' and (task == "do_configure" or (deps and "populate_sysroot" in deps)): d.prependVarFlag(task, "prefuncs", "extend_recipe_sysroot ") } staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess" From patchwork Tue Jun 20 15:37:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 26065 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 3D164EB64D7 for ; Tue, 20 Jun 2023 15:40:25 +0000 (UTC) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mx.groups.io with SMTP id smtpd.web11.802.1687275617040230016 for ; Tue, 20 Jun 2023 08:40:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=GP7tq5yN; spf=softfail (domain: sakoman.com, ip: 209.85.215.175, mailfrom: steve@sakoman.com) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-543b17343baso2477621a12.0 for ; Tue, 20 Jun 2023 08:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1687275616; x=1689867616; 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; bh=1YstHWgu/QrOfzmLmMSIFmqgecc9LKkl0ktkaLQFJ5g=; b=GP7tq5yNy5Mzy8howcWn58G91S1sU13XwCySveDNVKRP9IJWi5L7Ew2BaG9A1QDPec Yr3fHaYOWOx0NS0LW92axqHQVRRPbb8EE5mMKiv6pTcnuPXXq0HFk0awUKEPPi5Rs63J RzcbsN744lhnNd2QqvRJBsHiNN+Rligxi6ERhptWIc7DFaXfVb0kMt9SpKKRuMsrWphO ItmihoYoSlp8aZ+Rsg1byRDRSaGDglS+hDZEwUAw8hWb2Jyw248vGavMqWgocZ+htqo5 ziBBmJrY4jXTXPqrqWxpITyaDBIxd4drgZIpUjix0ZNM3G6TG+rq3CPU3Xxl9SZ44Irr uxpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687275616; x=1689867616; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1YstHWgu/QrOfzmLmMSIFmqgecc9LKkl0ktkaLQFJ5g=; b=IAP6VfMePm2gvUuDmlOaQ7CPEJJ3G6SEiJ+gbMeJhR1cAjeJ9vGBvf1kw+9DZjCKhf 3QOdL86Umh5TVtQREwA6t4S1A8USKUYqocFKJz71LrONmrfPfk7dljSnuICdwuCcvEtS ilaBgWurk9COOw0IIN7bFONXNSSBAFIcgC+IafkVY5Exa06/eI1/DHZ5FLM3bKh2Oq02 TlBSxTe/2UvOptMY78TYABKgGEwIXCOWFHoiWl9FOBj6sPYU89BtzAGsdQk+ON2/DvEF uSviTydVvCAmDLcGazCoMhuglb1IPVjQjDBo1Coxr3QmhU2wp3LtustqYdTEvf2jcEEX NHjw== X-Gm-Message-State: AC+VfDyeXKoA0riemnKBEQ9nhflmyxp0S+yvsO9AsxHtnZipunyRpZKV UkfsH8qI64RygIc0IqmWXQSqlv2YiN7u31uiG0g= X-Google-Smtp-Source: ACHHUZ5pjr3TfmJ8TcWh82dUgifn/bWke0QvZcfUe4mqKswDvGLqPmrFGojEQV5vDLPzbuUe5zg9iQ== X-Received: by 2002:a17:903:22c4:b0:1b0:6e1:4b9f with SMTP id y4-20020a17090322c400b001b006e14b9fmr3503160plg.43.1687275616089; Tue, 20 Jun 2023 08:40:16 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id c14-20020a170902b68e00b001ab2592ed33sm1792119pls.171.2023.06.20.08.40.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:40:15 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 9/9] lib/terminal.py: Add urxvt terminal Date: Tue, 20 Jun 2023 05:37:28 -1000 Message-Id: <59f1a1b2326e2191aa882cfc73a851ea79672a6f.1687274724.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 20 Jun 2023 15:40:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183152 From: Pavel Zhukov This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color [1] WARNING: Terminal screen is supported but did not start ERROR: No valid terminal found, unable to open devshell. Tried the following commands: tmux split-window -c "{cwd}" "do_terminal" tmux new-window -c "{cwd}" -n "zephyr-helloworld Configuration" "do_terminal" xfce4-terminal -T "zephyr-helloworld Configuration" -e "do_terminal" terminology -T="zephyr-helloworld Configuration" -e do_terminal mate-terminal --disable-factory -t "zephyr-helloworld Configuration" -x do_terminal konsole --separate --workdir . -p tabtitle="zephyr-helloworld Configuration" -e do_terminal gnome-terminal -t "zephyr-helloworld Configuration" -- do_terminal xterm -T "zephyr-helloworld Configuration" -e do_terminal rxvt -T "zephyr-helloworld Configuration" -e do_terminal tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal" screen -D -m -t "zephyr-helloworld Configuration" -S devshell do_terminal DEBUG: Python function do_menuconfig finished Signed-off-by: Pavel Zhukov Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 8d2fe4df8ae33e033caf4119a76715f085be1d15) Signed-off-by: Steve Sakoman --- meta/lib/oe/terminal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index de8dcebf94..b674335654 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -102,6 +102,10 @@ class Rxvt(XTerminal): command = 'rxvt -T "{title}" -e {command}' priority = 1 +class URxvt(XTerminal): + command = 'urxvt -T "{title}" -e {command}' + priority = 1 + class Screen(Terminal): command = 'screen -D -m -t "{title}" -S devshell {command}'