From patchwork Fri Jun 21 10:34:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45454 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 9B2F2C41513 for ; Fri, 21 Jun 2024 10:43:08 +0000 (UTC) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mx.groups.io with SMTP id smtpd.web10.70011.1718966578655085886 for ; Fri, 21 Jun 2024 03:42:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mIhEhKg5; spf=pass (domain: gmail.com, ip: 209.85.218.44, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a6f1c4800easo204641966b.3 for ; Fri, 21 Jun 2024 03:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966577; x=1719571377; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L1VVr5bDEPNd9qI/lFXD+1ZaBheV50MScFx58O85tow=; b=mIhEhKg5UG5fE9z1ostqozKZsdnAKAXxcGkyvZ74RzVjiR1WtKZvluNo6y2oAej13A lkxl+Ki82NiF4vUbZx4E9lBGz1HcZH+uTsH2/wih7UvGVhUD6GCwi0wA6I4QywJGHbwT e/CgN6uCbJdR5Z9K67Bk1g1f+9ercBhCqEW6UXsD9eRviVZPUEjOeyjlqweMQy6IbA2X /+87L5nERGpFQahRVLWdKv0q8jK+vome2fEhM1vNaKVvMW8bjd/H02gudzHPKbpu/3NL brPRRHUTVKfIRMl8wAXRAoD2pMFOKY5wrU6/dWO4JW+2nRKxv8DiuY3gp9l7mBDkUm24 hEbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966577; x=1719571377; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=L1VVr5bDEPNd9qI/lFXD+1ZaBheV50MScFx58O85tow=; b=eB51qfIoUu1uhORUAkNZnaefdKdraC22OvPJ9oxO1jXRsdgdPwWDIuqRxMcgYlIGs8 vxSSceBl6GkpFE8m/hSt9eI49bOpW9oo2tSIrCqRiO+zfveWKlqSye6Dyd5ELPJSvUmf I7suRYQfH/vnpj40MBMqYttsVNl0sn5K3q0svzFWekOxnWr5Pgyab90VvLC69DGYFDK7 fCRQbPvjHazDHPFDQByGBApWi+NgynIsM9LVivm4YukKrmSW9sZuIYvQkqmQr3LBanf1 KnJn/VbrkcswW5MGAdlk06LHk49NaAw8ezXNLZco52hKjblvzEqLQ9dqjK2BKL8WbC6b jHIg== X-Gm-Message-State: AOJu0Yz/ImiFpoAzu3zTPZ46X3TiYmI2bNw8f2jxDujq4Y1Hl2DVBNtM HO/v12s427y6VBet33tL1bHjcvLtRYuwSlD+BL3SqwxGWFHPyEi/Tq4HJQ== X-Google-Smtp-Source: AGHT+IECdReVYmCVbT2YoDHB5oeAv875KB3lu2fStV0ZQ6qhv3iocFk6gspxnEaf8HiePp/fz4pI1w== X-Received: by 2002:a17:906:1cd9:b0:a6f:1f40:600a with SMTP id a640c23a62f3a-a6fab62f44amr404587266b.30.1718966576705; Fri, 21 Jun 2024 03:42:56 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:42:56 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 01/11] devtool/upgrade: rename RECIPE_UPDATE_EXTRA_TASKS -> RECIPE_UPGRADE_EXTRA_TASKS Date: Fri, 21 Jun 2024 12:34:04 +0200 Message-Id: <20240621103414.2842509-1-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 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 ; Fri, 21 Jun 2024 10:43:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201006 From: Alexander Kanavin 'UPDATE' as a name is somewhat unfortunate as the variable is intended only for the 'devtool upgrade' operation and devtool also has an 'update-recipe' operation. I also intend to introduce additional variables in RECIPE_UPGRADE_* space, so it's best to unify names now, while RECIPE_UPDATE_EXTRA_TASKS is very fresh. Signed-off-by: Alexander Kanavin --- meta/classes-recipe/cargo-update-recipe-crates.bbclass | 2 +- meta/lib/oeqa/selftest/cases/devtool.py | 2 +- scripts/lib/devtool/upgrade.py | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meta/classes-recipe/cargo-update-recipe-crates.bbclass b/meta/classes-recipe/cargo-update-recipe-crates.bbclass index a19ce16b467..3251d5ef2e5 100644 --- a/meta/classes-recipe/cargo-update-recipe-crates.bbclass +++ b/meta/classes-recipe/cargo-update-recipe-crates.bbclass @@ -18,7 +18,7 @@ do_update_crates[depends] = "python3-native:do_populate_sysroot" do_update_crates[nostamp] = "1" do_update_crates[doc] = "Update the recipe by reading Cargo.lock and write in ${THISDIR}/${BPN}-crates.inc" -RECIPE_UPDATE_EXTRA_TASKS += "do_update_crates" +RECIPE_UPGRADE_EXTRA_TASKS += "do_update_crates" # The directory where to search for Cargo.lock files CARGO_LOCK_SRC_DIR ??= "${S}" diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 432d9c9a673..7d617739809 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py @@ -2017,7 +2017,7 @@ class DevtoolUpgradeTests(DevtoolBase): newlines = f.readlines() self.assertEqual(desiredlines, newlines) - def test_devtool_upgrade_recipe_update_extra_tasks(self): + def test_devtool_upgrade_recipe_upgrade_extra_tasks(self): # Check preconditions self.assertTrue(not os.path.exists(self.workspacedir), 'This test cannot be run with a workspace directory under the build directory') self.track_for_cleanup(self.workspacedir) diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 8e13833b51c..1dd965d98d4 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py @@ -534,14 +534,14 @@ def _generate_license_diff(old_licenses, new_licenses): diff = diff + line return diff -def _run_recipe_update_extra_tasks(pn, rd, tinfoil): +def _run_recipe_upgrade_extra_tasks(pn, rd, tinfoil): tasks = [] - for task in (rd.getVar('RECIPE_UPDATE_EXTRA_TASKS') or '').split(): - logger.info('Running extra recipe update task: %s' % task) + for task in (rd.getVar('RECIPE_UPGRADE_EXTRA_TASKS') or '').split(): + logger.info('Running extra recipe upgrade task: %s' % task) res = tinfoil.build_targets(pn, task, handle_events=True) if not res: - raise DevtoolError('Running extra recipe update task %s for %s failed' % (task, pn)) + raise DevtoolError('Running extra recipe upgrade task %s for %s failed' % (task, pn)) def upgrade(args, config, basepath, workspace): """Entry point for the devtool 'upgrade' subcommand""" @@ -618,7 +618,7 @@ def upgrade(args, config, basepath, workspace): copied, config.workspace_path, rd) standard._add_md5(config, pn, af) - _run_recipe_update_extra_tasks(pn, rd, tinfoil) + _run_recipe_upgrade_extra_tasks(pn, rd, tinfoil) update_unlockedsigs(basepath, workspace, args.fixed_setup, [pn]) From patchwork Fri Jun 21 10:34:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45456 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 B8E13C27C4F for ; Fri, 21 Jun 2024 10:43:08 +0000 (UTC) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.groups.io with SMTP id smtpd.web10.70012.1718966579179358516 for ; Fri, 21 Jun 2024 03:42:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OLomlBeG; spf=pass (domain: gmail.com, ip: 209.85.218.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a6fd513f18bso38979366b.3 for ; Fri, 21 Jun 2024 03:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966577; x=1719571377; 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=7ocosHAnEnei3QFnbg28O87Bb5abGSmGvAHsPTrUFKA=; b=OLomlBeGsYcCUb4VCO850E8Y+2mEyamahcIYsczsHCOj2McnLFH8kw57RZeXqhNh9x 6Gmgas3El+ARiaVMPHVq/0+FzUD7qwv8CnEciwVSPvVLSfns+ob5K/m8g+3AS7JgjM7d XDSgc3Zig0hP/NpFmbYqNt++jhlqEO2xUsLlij0K0GdOMxHtDNAy29i7Db/9e+abCHXp VyAWOSx0ulhVRpotYUgvf+mIzZHTwX/1cqlYM1OGKhV00VolUMbr9n9qSIkMpFZKW7r6 X480hvEUaa1cgyTzQXpJhWQXUISOQK7tDMQzZZKEmdlX8YFRu/0VSg2v2FD2pw24AgjG KfBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966577; x=1719571377; 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=7ocosHAnEnei3QFnbg28O87Bb5abGSmGvAHsPTrUFKA=; b=L37tz/UxVG1xkCwf0sMup5bW72QBr+M8Mb8o1/hYMCtvnSwtFafiPOCs8Q7wz6B2E+ iexHmk2/DrJEi9Va/2Jxb5MNG63ovumzIOVD7fPTxwVPFab9jEnuXetlEN+A8gKuwTkM ErPj9y6RNBl06CoWfDQCus15TObIOKb2rUStU+cAdiE6N0f9s3S8X9/XQu6A3Y6gqTw+ IhcuUL29ves3fmql9subD2kxuQdux4DyfezwNeT2oug4K+YaXyJtf6S85zc9GXsvmAIm ubVEjmqdxGkmtNV2HT6lmwLOOZBgGv8jz8Z5bvflT00XJWDzArK6WEjHIHqq3RQQYxKU xT4w== X-Gm-Message-State: AOJu0YzAPCDDukIGjoQEWxo8Z0vDfDCfCuOAIlnYjuAS4zHF39W+cgls eDcnxa+LPS+BVxfo9J0zo7B67Px+wYF21gJnKvx0wRWxQIyJT5FAhs5nqQ== X-Google-Smtp-Source: AGHT+IHQDZK4cmyewG3VMluIejLz1+RuZGm9XH7+GH2Zd711A/H9SEuZXtobMSuC4P58GZcyXohbVg== X-Received: by 2002:a17:907:c713:b0:a6f:61c7:dead with SMTP id a640c23a62f3a-a6fab61398amr674795666b.17.1718966577289; Fri, 21 Jun 2024 03:42:57 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:42:57 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 02/11] devtool/upgrade: add RECIPE_UPGRADE_FINISH_EXTRA_TASKS Date: Fri, 21 Jun 2024 12:34:05 +0200 Message-Id: <20240621103414.2842509-2-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201007 From: Alexander Kanavin This is modeled on RECIPE_UPGRADE_EXTRA_TASKS with the difference being that the tasks run in 'devtool finish', and only when finishing an upgrade operation. This allows recipes to define custom operations, such as renaming additional supplementary recipes (such as *-initial, *-native etc), or any other custom handling that devtool cannot know about. The idea is to teach glib, cmake, mesa, systemd, libva, rt-tests, go, rust, etc etc about upgrading themselves properly with this, improving success rates in AUH. Signed-off-by: Alexander Kanavin --- scripts/lib/devtool/standard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 1d0fe137887..d22bfe8e4a9 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -2088,7 +2088,6 @@ def _get_layer(layername, d): logger.warning("Consider using path instead of base name to specify layer:\n\t\t%s" % '\n\t\t'.join(layer_paths)) return os.path.abspath(layer_paths[0]) - def finish(args, config, basepath, workspace): """Entry point for the devtool 'finish' subcommand""" import bb @@ -2120,6 +2119,7 @@ def finish(args, config, basepath, workspace): destlayerdir = _get_layer(args.destination, tinfoil.config_data) recipefile = rd.getVar('FILE') + upgrade_finish_tasks = (rd.getVar('RECIPE_UPGRADE_FINISH_EXTRA_TASKS') or '').split() recipedir = os.path.dirname(recipefile) origlayerdir = oe.recipeutils.find_layerdir(recipefile) @@ -2265,6 +2265,9 @@ def finish(args, config, basepath, workspace): else: _reset([args.recipename], no_clean=no_clean, remove_work=remove_work, config=config, basepath=basepath, workspace=workspace) + if removing_original: + for t in upgrade_finish_tasks: + exec_build_env_command(config.init_path, basepath, 'bitbake -c {} {}'.format(t, args.recipename)) return 0 From patchwork Fri Jun 21 10:34:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45460 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 207DFC2D0D1 for ; Fri, 21 Jun 2024 10:43:09 +0000 (UTC) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by mx.groups.io with SMTP id smtpd.web11.69895.1718966579769032319 for ; Fri, 21 Jun 2024 03:43:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MypjOnL9; spf=pass (domain: gmail.com, ip: 209.85.218.51, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a6fb341a7f2so232941666b.1 for ; Fri, 21 Jun 2024 03:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966578; x=1719571378; 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=kNNqZ3ktQBwcgIN3uHLVbRfUm2wKIlaW9Mlt6CfIzbs=; b=MypjOnL97wcp/ny9kOV32t+roeL66mElKcNoQCj3jVSMrlDvj6Cam5wC4UkjIOC8IB KNdo4tDFwqkNolTTCangXGbDgoRpYb46F07FA0SxFiYUiVW4B86M7Eg9eUfQz5qWg2Ec sqSq/MWoFmIg2zsjEqt+piShlCaqaqHhWMhB/k9UGx40I5bBMD3NWhH7rj0XktQsyahM Ykf4JMvYKWfvW69rhqRqkMmBSQIR8hioyleAqqactd64wzfS7IMCVsdEj+MmVNOQhvqI JejzhL3aS2vQ05DcQJeJxntVZOj8VY3Zc/zhZMHmc5UFsyb5Xw1UMZvfCJmTfdkjxw/J +nNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966578; x=1719571378; 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=kNNqZ3ktQBwcgIN3uHLVbRfUm2wKIlaW9Mlt6CfIzbs=; b=hoHK5fuDrA/Iq8pGokrQmT2YYPrShAS78bliuJ5b5nE2HMt6NvF/MfjUBLs+89xYIo IyaSif88wlfWmn8XAi1SSHFq9oJjF6pToXwV35ELlbFo9/ow+hgCr4RzARxhG97iGj+U +04kHfIkTitwrGid1ywWpE+MaOyDjU/CLJvvhubKtz/fKKmjPdQX1oeY4nUXUHvbCLmt LfRcm8HCpPjEnXoGzcXub5RXMpfWU6LoPj63lFIdMzXFc2IFdgnSxL0eRIMn4NvkNjPt jfAXBgcpntb2sesEA/p4tyYP184Fb993kVNajXMj4D9WPzEEPrRD/c+6xc9oTr8wW8RI +yhQ== X-Gm-Message-State: AOJu0YwgvFMta622FDGNitG2vYCZndhCVRMFXzgIj6GTSeW4sAJ2rZat lP6IlCeQUn4KlqvuxyYDsr4MViNPCbytVHtIsw04mMKyNj37Er3hv2mOsA== X-Google-Smtp-Source: AGHT+IEwSiuizEwhkGC7Vpt0qCDbQWsJ8LQ9An5zE7YOvMDo1zG0abFKxDwcDU3zXPHBqQk8tpPCYw== X-Received: by 2002:a17:906:1650:b0:a6f:21e8:ad06 with SMTP id a640c23a62f3a-a6fab62a711mr619758366b.20.1718966577874; Fri, 21 Jun 2024 03:42:57 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:42:57 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 03/11] recipe-upgrade-additional-rename.bbclass: add a class Date: Fri, 21 Jun 2024 12:34:06 +0200 Message-Id: <20240621103414.2842509-3-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201008 From: Alexander Kanavin Please see the comment in the class for the rationale. Signed-off-by: Alexander Kanavin --- .../recipe-upgrade-additional-rename.bbclass | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/classes-recipe/recipe-upgrade-additional-rename.bbclass diff --git a/meta/classes-recipe/recipe-upgrade-additional-rename.bbclass b/meta/classes-recipe/recipe-upgrade-additional-rename.bbclass new file mode 100644 index 00000000000..b173b3d3571 --- /dev/null +++ b/meta/classes-recipe/recipe-upgrade-additional-rename.bbclass @@ -0,0 +1,22 @@ +# This class can be used to add file renames in devtool version upgrades +# operations when there are supplemental recipes that need to be updated +# in lockstep with the main one by renaming the files. This is common, +# e.g. glib, cmake, mesa, libva, etc have this issue. +# +# Example (from glib which has glib-initial to handle): +# +# inherit recipe-upgrade-additional-rename +# RECIPE_UPGRADE_ADDITIONAL_RENAME = "glib-2.0-initial_{pv}.bb" +# +RECIPE_UPGRADE_FINISH_EXTRA_TASKS += "do_recipe_upgrade_additional_rename" +addtask do_recipe_upgrade_additional_rename + +python do_recipe_upgrade_additional_rename() { + import glob + origpath = d.getVar("THISDIR") + newpv = d.getVar("PV") + + for f_pattern in d.getVar("RECIPE_UPGRADE_ADDITIONAL_RENAME").split(): + for f_disk in glob.glob(os.path.join(origpath, f_pattern.format(pv="*"))): + os.rename(f_disk, os.path.join(origpath, f_pattern.format(pv=newpv))) +} From patchwork Fri Jun 21 10:34:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45462 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 56111C3064D for ; Fri, 21 Jun 2024 10:43:09 +0000 (UTC) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mx.groups.io with SMTP id smtpd.web10.70013.1718966580204314215 for ; Fri, 21 Jun 2024 03:43:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dRqsZLJi; spf=pass (domain: gmail.com, ip: 209.85.218.49, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a6e43dad8ecso316521266b.1 for ; Fri, 21 Jun 2024 03:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966578; x=1719571378; 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=L6i+Bp/AhSY1B5o+skPkcM+qXtna3pmcV6e76qqoMNg=; b=dRqsZLJiCjuOa9lrMGYdWf90mK6XMBeWxfSR6A9+2Qhibx8BiN0Wtvon+D4fXSIXMo jC9Aj1yQavd5Kva6eob2+4xAolsNwRlNfCYrSH0Z6Z8tYHtyZmd6tjD2DVMHDSSQtn1J 8ffd/bKadLZAK6eaTz5x3gLFQP0pZFpLI/wjbQKB3Vcy7FbBsZfXmNjVt0qVy8tY42VH 9VRqv9nSMsU/bo6jD4e8PVAHH2HdodtJs5c/A+KuSuardLenprdI+a+JpSug4b54mIm+ Lo54IjwIm7HEPaFwqkNccnyHWqFIRQt9bSScm27MYyYX4HchPCo8fEw/a7vURH9/DySI M5WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966578; x=1719571378; 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=L6i+Bp/AhSY1B5o+skPkcM+qXtna3pmcV6e76qqoMNg=; b=QmPQpChCaMygVXhpMXHs56ZBkwRW05OT1fwXMSXgeOOC8V4OFZdFPNBkQ3AZAd5D+f FxScmaqRuW/Bc8/NQ81oyPHpDUZ5qTRsnUGFZj0Bfv0wQ5rAQsJVT0xjkmJ7hjf1L3DF 2cmXpdetJdbjM1HKjJQ/yFkzNp125I/knx69LAhnqXbKDXL4I289gHJ/H07mTxGIzsKL zH2tfw7BHwocKD6bS19hT1V+PdHHD3ARnBPw07hj6CKSkcBHrnDwg7mLvRnUc5aCwDUq Je/9VssTI7/ywFRNZzEoc8LTzCbGnSueJWVfU45ySZTdoXzDDBQOHTKeKb0BvDxNaQ7Y GfNQ== X-Gm-Message-State: AOJu0YydnMSSkKUj4Pup0po0aMhK8uduBJykRNK8S4EpvwlIpJok6Kwl 0Eiv+WziXGQwQzDNni3XmQUkwXFs2RI7lHpcjQG4hagYhRMlP0OGVVV/ng== X-Google-Smtp-Source: AGHT+IFV9qrr8MNtxPzZWc7wk33iwzRNE/cNkk1Phzx7jsddTQPso+M9vle25KIGqHKt2ygjrQd56g== X-Received: by 2002:a17:906:27d0:b0:a6d:fbed:7953 with SMTP id a640c23a62f3a-a6f9506efe1mr752529866b.27.1718966578517; Fri, 21 Jun 2024 03:42:58 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:42:58 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 04/11] glib-2.0: rename glib-initial recipe as well on version upgrades Date: Fri, 21 Jun 2024 12:34:07 +0200 Message-Id: <20240621103414.2842509-4-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201009 From: Alexander Kanavin This makes use of all the facilities introduced in the previous commits. Signed-off-by: Alexander Kanavin --- meta/recipes-core/glib-2.0/glib-2.0-initial_2.80.2.bb | 2 +- meta/recipes-core/glib-2.0/glib-2.0_2.80.2.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/glib-2.0/glib-2.0-initial_2.80.2.bb b/meta/recipes-core/glib-2.0/glib-2.0-initial_2.80.2.bb index 7da28382650..d9ad8698be2 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0-initial_2.80.2.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0-initial_2.80.2.bb @@ -2,4 +2,4 @@ require glib.inc PACKAGES = "" PACKAGECONFIG = "" - +RECIPE_NO_UPDATE_REASON = "Upgrades are handled in base glib-2.0 recipe" diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.80.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.80.2.bb index ef80cc47cfb..9f3022ea772 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.80.2.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.80.2.bb @@ -1,2 +1,4 @@ require glib.inc +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "glib-2.0-initial_{pv}.bb" From patchwork Fri Jun 21 10:34:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45464 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 62C2DC30653 for ; Fri, 21 Jun 2024 10:43:09 +0000 (UTC) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mx.groups.io with SMTP id smtpd.web10.70014.1718966581358290888 for ; Fri, 21 Jun 2024 03:43:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RAEzS9+L; spf=pass (domain: gmail.com, ip: 209.85.208.176, mailfrom: alex.kanavin@gmail.com) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2eaae2a6dc1so35226431fa.0 for ; Fri, 21 Jun 2024 03:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966579; x=1719571379; 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=DW4ifLrCYa0FRZwMvxxTL3RV9p7o6PIThroXLZk/PDk=; b=RAEzS9+LtymlBYBRyPwLbVTeG+ZDkcEjtGXJOxc4W08WeZIFtzFCFWHG55TEjaFp1m l85RObYZti7reR+gjzGgxB4m6H+DliT2EcnayUz94XYBVhpmsUsP1W6YsO8AGKLE+u84 0L6DVM2GCO4oN8Pkbusae1HN7DEhqkXlqLu6RmHg8GmDr057Qc8wnErRtLAjehGQjR8a QBH80YyBw/Yr2sj+3SK+Qosvvd38YazYxFlkWi96EbFzT0UqO+cLRG5qjdMnQV/BFq8Z wYmr8rSD71wT5DoCPol6l7sBcAbfkwTPdklZLIrrXSuem3+BlaiH2ez/OaMcvM0akV3Y qGJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966579; x=1719571379; 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=DW4ifLrCYa0FRZwMvxxTL3RV9p7o6PIThroXLZk/PDk=; b=bTUkdKckCNeeM8+HcdOA2FiZjcvbK6gMmT4P0BzSq538q2MYJcIZ3hYGSmlKVAEUYJ 39cpqjWPLZPiP6B9M2uuHOF3vb/GpNASRselMKQmpMCXRwvvSMGcA8PeWALi2tGGGvYZ GRhOB+kppMFJhYibS/Jh0VuXBMi5cuYotSEI5O1r38GuIstaovab1Xsoo6AkoJxuw0YP xsP7ACqy7JCfk/qAb5kMwv1wgJZufxZlr1Kfpm0gBAxHCRpn/r/lLfE6F4tQgjGRaCNH Pwq+OfcOp6QYPZyPPYaXVgRyFOMqhaftWBsJ3Umr5JiBTWo6mm+FBi2zUlmIpSyNY1Sg 8iQw== X-Gm-Message-State: AOJu0Yw7Lre+/55DZ1bM3ieFdSOqNWJ/LFmb3Gvi5ckNoL9irsOZP2qt nbcSpH4TNyg4LwPrPKhHGe/Rgy4YZmqLv9I3kLgnpRW+dF4Yo9DsALSoew== X-Google-Smtp-Source: AGHT+IF5cfnUt6CER/2j81p87zPz85S1xHGS81VqgLQay637WjbvM8jxc5wJq2uThitWOWNIBVCPuw== X-Received: by 2002:a2e:8011:0:b0:2ec:575:bf9f with SMTP id 38308e7fff4ca-2ec3cfe9355mr64389981fa.37.1718966579054; Fri, 21 Jun 2024 03:42:59 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:42:58 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 05/11] cmake: rename cmake-native recipe on version upgrades Date: Fri, 21 Jun 2024 12:34:08 +0200 Message-Id: <20240621103414.2842509-5-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201010 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/cmake/cmake_3.29.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/cmake/cmake_3.29.3.bb b/meta/recipes-devtools/cmake/cmake_3.29.3.bb index 9146fa8c0f9..50f760f1c51 100644 --- a/meta/recipes-devtools/cmake/cmake_3.29.3.bb +++ b/meta/recipes-devtools/cmake/cmake_3.29.3.bb @@ -66,3 +66,6 @@ FILES:${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}" FILES:${PN}-dev = "" BBCLASSEXTEND = "nativesdk" + +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "cmake-native_{pv}.bb" From patchwork Fri Jun 21 10:34:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45457 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 F2BF0C2BA1A for ; Fri, 21 Jun 2024 10:43:08 +0000 (UTC) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mx.groups.io with SMTP id smtpd.web10.70016.1718966582234322609 for ; Fri, 21 Jun 2024 03:43:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aXmidSPG; spf=pass (domain: gmail.com, ip: 209.85.208.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-57ccd1111b0so1025403a12.3 for ; Fri, 21 Jun 2024 03:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966580; x=1719571380; 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=7E4DbSCEm/iWbCf3JV/zUfFKEOzkjLcsQbJXJXMY1Yc=; b=aXmidSPGnN6L5h8GCOlWzaVoEFT4gosoDOTj90TvUtiIZgz38mLe/wxLhWFICVMo1U tIBdFCclb5vipuuVs85ZKidIKX7+X8tYaovo64AqNir/ZeerFqkLN0UiTjMUqa/miJ1R NgooxgqDo7k2MlBLOjH9hoW6/Bv+py5fwffpys7aP+akmpjFDjxDjJgDqKTfb5AsBkje vSQF1z7DPLj5I5YaCI4HHPqkL7dK35deJLGS5rbwC3q1kmZcTZlyjry3vl5FnkJ7gqC4 hqvkfgucBKcJLTEglFs/pNqfT6FASFBdEhlj3W5KaDqOIuh6ybs1h3TFYrEt01F8kMBg 23OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966580; x=1719571380; 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=7E4DbSCEm/iWbCf3JV/zUfFKEOzkjLcsQbJXJXMY1Yc=; b=Dc4e6kmKjgSpBXRkZMGCaICpQF2V2qqB9b8a7khMxn+gVNGGDy/MPVrCZBYj2dkawm 4/aDqQ8jSNH6Vu5WnpN97yXhyc9F1fSnuHl0Z/I303Gcl9H3KPiQUjVM6Xba+uXNO/GM e04NavVWaVadTrKZCJw1oj1ik5xETW/nW6ly2XsXvhGyDHlPp68G0hyDaVcsrRF0r/Xy vJa8MLNhsv24IYDU08Yp2Ro6bsvLqVfMO1oojGEliB7gK9kmJwHvGE17UC3iVESH9plr cfRSts2taiVtd4EZSQ96a2LPXieUr8pVtXi1GSdzoA7ZuSlhYj5tmNJJnT0nE7O0MWrb 5bGQ== X-Gm-Message-State: AOJu0Yy6/dZdeHGzsNwd+tJlMktu0AgCAquSv0A3JsQ7gjX6+R0BmazP NVn51N2kRgdSEDrh/m8fh3N3PMOW/VJvmUsZNS7iXOtYOAu7n3daHrk2ew== X-Google-Smtp-Source: AGHT+IHKTXPIpAAOV+mndul2WWBZAr+0S4K9M9GVmo/ZWT1PitCl5wG6ipCO7k+lE6R4Puftlwjt4w== X-Received: by 2002:a05:6402:947:b0:57d:10c7:96b0 with SMTP id 4fb4d7f45d1cf-57d10c7983cmr5218444a12.38.1718966580374; Fri, 21 Jun 2024 03:43:00 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.42.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:42:59 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 06/11] qemu: rename qemu-native and qemu-system-native recipes on version upgrades Date: Fri, 21 Jun 2024 12:34:09 +0200 Message-Id: <20240621103414.2842509-6-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201011 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu_9.0.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/qemu/qemu_9.0.0.bb b/meta/recipes-devtools/qemu/qemu_9.0.0.bb index dc1352232ef..da9b5bc679d 100644 --- a/meta/recipes-devtools/qemu/qemu_9.0.0.bb +++ b/meta/recipes-devtools/qemu/qemu_9.0.0.bb @@ -25,3 +25,6 @@ PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \ " # ppc32 hosts are no longer supported in qemu COMPATIBLE_HOST:powerpc = "null" + +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "qemu-native_{pv}.bb qemu-system-native_{pv}.bb" From patchwork Fri Jun 21 10:34:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45458 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 136B8C2D0CE for ; Fri, 21 Jun 2024 10:43:09 +0000 (UTC) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mx.groups.io with SMTP id smtpd.web10.70017.1718966582602587535 for ; Fri, 21 Jun 2024 03:43:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HBwwX/MK; spf=pass (domain: gmail.com, ip: 209.85.218.45, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a6f7b785a01so199242666b.1 for ; Fri, 21 Jun 2024 03:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966581; x=1719571381; 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=P+SFWFP0bs4k37NSJzArOsCmHYshl8faQMbXjRSd3J8=; b=HBwwX/MKSto9tuGqsKrZrTklz+VfHQI10gzHqy8Rdc9fn81VToqS49aoxnwDPTIP35 0k0EyBuVwGDtpaxFp8YwlR/3S7iqGsEtbJ1n38mXe5Vyf9S/KqqW3Je+vHy3SkLte+Wd 1usgNlEEvIxUH1aRTowshU0kA+/61xlWdxo3YllzNl0RBnfQQ9Rfes/AkH8hFRVUgJaZ dEvsafnZ8s17w5tnuMkX/poguS4KCrgjCZx3ICkwezs2uPnf2h/MtGJwj2JISIZMGd+i 0RzXKMQGvPRVQ+/pt/Wl7daS8k1fsXbf2KhmeXv4PKqDTYr34WcY72Cq+1rd3mk6l/7D Nm2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966581; x=1719571381; 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=P+SFWFP0bs4k37NSJzArOsCmHYshl8faQMbXjRSd3J8=; b=dg+YF1xhW1sVevS1/csjK1VxiUSaErsrshTgMofHhonU3AvZh4IjiyXZ0RF2a82Osv JZ7ZDp4itu+z5IbbMbAoH8iss02sTl/q6gzlctt1DwcZyEDlN8KDy8OqGmVovxBIRAg8 B0BNdLQhrcy7qqiBOO/7qFjiWcmAoqapiFXe27GoEhSFeo8p86RlLIfn3GFk4DOVDQIZ DAOrPhy3fN4kjmTriMWbqhEnN+lgLJwCgTfwA/ih5LdQ+QNxytpHUJmc+DzCNbX8Vf9C /sYCo7WtV1yO03w/ZZO+69/y3xjdrNwGDG4qlzex+GUOrw4z8L1aDU04IlcRhbNxcU1G SzTQ== X-Gm-Message-State: AOJu0Yw4faF8lRh1t9QFUbFhKVqxE8bWvBKo15CS0IHSWTNuTdATSswA 2PzoOLWxZQ3sQL7lYL4Rt7No9aPR2mUlmP4TWHmj5XmHD6xzV1EfgBQ6yQ== X-Google-Smtp-Source: AGHT+IHEH425iXoxZvd6mFkA8LhHkWa718C+LAYyt2R86wdL4HArvq8mRr4mDI6Z7KaC1pARwPtx/Q== X-Received: by 2002:a17:906:ef8f:b0:a6f:523a:8e93 with SMTP id a640c23a62f3a-a6fab7cd45dmr387675166b.71.1718966580943; Fri, 21 Jun 2024 03:43:00 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.43.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:43:00 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 07/11] libva: rename libva-initial recipe on recipe version upgrades Date: Fri, 21 Jun 2024 12:34:10 +0200 Message-Id: <20240621103414.2842509-7-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201012 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libva/libva-initial_2.20.0.bb | 1 + meta/recipes-graphics/libva/libva_2.20.0.bb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meta/recipes-graphics/libva/libva-initial_2.20.0.bb b/meta/recipes-graphics/libva/libva-initial_2.20.0.bb index 453096822fa..4533ed9eacb 100644 --- a/meta/recipes-graphics/libva/libva-initial_2.20.0.bb +++ b/meta/recipes-graphics/libva/libva-initial_2.20.0.bb @@ -6,3 +6,4 @@ do_install:append () { rm -f ${D}${libdir}/*.so* } +RECIPE_NO_UPDATE_REASON = "Upgrades are handled in base libva recipe" diff --git a/meta/recipes-graphics/libva/libva_2.20.0.bb b/meta/recipes-graphics/libva/libva_2.20.0.bb index 63dc5af8f29..172d8fec15d 100644 --- a/meta/recipes-graphics/libva/libva_2.20.0.bb +++ b/meta/recipes-graphics/libva/libva_2.20.0.bb @@ -13,3 +13,6 @@ RDEPENDS:${PN}-glx =+ "${PN}-x11" FILES:${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}" FILES:${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}" FILES:${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}" + +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "libva-initial_{pv}.bb" From patchwork Fri Jun 21 10:34:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45463 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 56538C30658 for ; Fri, 21 Jun 2024 10:43:09 +0000 (UTC) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mx.groups.io with SMTP id smtpd.web11.69897.1718966583184669489 for ; Fri, 21 Jun 2024 03:43:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HJtjy5Y4; spf=pass (domain: gmail.com, ip: 209.85.218.49, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a6f1da33826so233887166b.0 for ; Fri, 21 Jun 2024 03:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966581; x=1719571381; 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=8G1XbNbm7xAHoii6+XEhdCShnB3kGhZD9anq0eD+XFk=; b=HJtjy5Y4fcoeIEUnYKEsZlwxgfd6Yfx73gaK5u0WPdq8KLh9on9r/+5nY4Mia8IPru IljikwWM9nA4x7+kqNvoB5NjZUaGmXxE4JXEZaXUC4bzk8IhLNj3/nUcyOlvllf0MzIb gXK9cOaIQUjmy6A0dvUH7PfA8Kv4UEnCvmxU4kiDbbuiFitPdCs38DJ5t+8wBMM7AW5D se6vPKU8sdznpdMlSMv1TA0oWn/n918NS+3P7jWSSp+VXgyQK/NobZLWqpj1hv/EJ3WH JSO7NcUtPlPnmeEiOIIMakXBuTIneTj3/1pGUeciWB9SZEdt176ZOI3cH6qgub4BjVGu t9pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966581; x=1719571381; 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=8G1XbNbm7xAHoii6+XEhdCShnB3kGhZD9anq0eD+XFk=; b=ArqD+dSIIZaDdHDakWVWX1li305/5rQ42AZ35qchrdM/qp51QZkvvy7AWhhTJR8aVw ZbeQuFrCQ1VS9qX0wX7erFJUgdKK9J2ZLfOmngK1MXryFhmVaQBuchxkn8jsLwB3tDDA kJD6jEpTfUOdhaMRxydbz5fkMAaUN3laBVaT97loe/DdXldXWE8AE/2a6grcO3gIEze8 5Ld5qtRHRwyv9vBK/xHpmHdhoOT2WYdukRgY1LcOP9XLwdhA1XwrI4GplZzVwVooAAjO KdwlI2fn7JuLKHr/9FWS1wh4QAfBJImBU70xk9RH+u6llr9KUoXV89OxJ3QWzE7ozlcQ KZ5Q== X-Gm-Message-State: AOJu0YzjrfqRF8MFP1dtKtqHNQ98AJnN+zQI9TdTIdsg/1Qhd0K+MZ+0 y36PoJ2we8RBIc0Lh4QiwkanhHqYkaY2EGMHvAhIWVchx41eObwWrxr2zw== X-Google-Smtp-Source: AGHT+IHhktyEwX0qHxIXwbksYrA1EQRj9q+3JSplX4P/AJXnYF/tSIUZwnvUCguQMuZSbPydy5pmzA== X-Received: by 2002:a17:907:a809:b0:a6f:b29f:8304 with SMTP id a640c23a62f3a-a6fb29f835amr600214666b.29.1718966581512; Fri, 21 Jun 2024 03:43:01 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:43:01 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 08/11] util-linux: rename util-linux-libuuid on recipe version upgrades Date: Fri, 21 Jun 2024 12:34:11 +0200 Message-Id: <20240621103414.2842509-8-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201013 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-core/util-linux/util-linux-libuuid_2.39.3.bb | 2 ++ meta/recipes-core/util-linux/util-linux_2.39.3.bb | 3 +++ 2 files changed, 5 insertions(+) diff --git a/meta/recipes-core/util-linux/util-linux-libuuid_2.39.3.bb b/meta/recipes-core/util-linux/util-linux-libuuid_2.39.3.bb index ec04c1d3843..71af69e7b9e 100644 --- a/meta/recipes-core/util-linux/util-linux-libuuid_2.39.3.bb +++ b/meta/recipes-core/util-linux/util-linux-libuuid_2.39.3.bb @@ -17,3 +17,5 @@ do_install:append() { } BBCLASSEXTEND = "native nativesdk" + +RECIPE_NO_UPDATE_REASON = "Upgrades are handled in base util-linux recipe" diff --git a/meta/recipes-core/util-linux/util-linux_2.39.3.bb b/meta/recipes-core/util-linux/util-linux_2.39.3.bb index 2cd7750afce..dec4b513087 100644 --- a/meta/recipes-core/util-linux/util-linux_2.39.3.bb +++ b/meta/recipes-core/util-linux/util-linux_2.39.3.bb @@ -346,3 +346,6 @@ do_install_ptest:append:libc-musl() { rm -rf ${D}${PTEST_PATH}/$t done } + +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "util-linux-libuuid_{pv}.bb" From patchwork Fri Jun 21 10:34:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45459 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 CD5F2C2BD09 for ; Fri, 21 Jun 2024 10:43:08 +0000 (UTC) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by mx.groups.io with SMTP id smtpd.web11.69898.1718966583754385497 for ; Fri, 21 Jun 2024 03:43:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CZKC4/+e; spf=pass (domain: gmail.com, ip: 209.85.208.41, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-57d10354955so1995701a12.1 for ; Fri, 21 Jun 2024 03:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966582; x=1719571382; 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=PZhWJexdLj2swoIzaXad+MyTnjfe+v3D8p7LPRql5oQ=; b=CZKC4/+eTnI8sZRMH/SGJX5nbmHvtmxS9uh50ybhl4LaForvNEf/mJoiy/dokR25zu WiXvyVFrWf2HA3Zx902bFswuE8uqV/S+1G6RzUFwsb5t3jlevl09gxoVL+nIyfKFh46d 6kiuwRqxgiJ+wJ/7QpeIq7q+J/Bln2BuH83292CApe9ZrIRTpcegL4lfp1CIAAXwNnDp LaZ9StgM5J0k77yRchuAp5NBDvoiMOstCTxfIe9P4rWMbTKcvkdSf3cr4Z8KIxDJmvjl eBsEjP8OOQ1iDaaHxZNAyPACC/2D81owYloNdfyyc0dshNGDe2QvRncg7ISP3UuW8Gs0 ZMhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966582; x=1719571382; 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=PZhWJexdLj2swoIzaXad+MyTnjfe+v3D8p7LPRql5oQ=; b=O42pCIi5QvyPWSdqpmgORcXZj0ONz9IhsxkULEIeGbBh7dtde6GFHZmxPa8SFicZhe F/eeg3WKFnQs1GaFG/wmfYfDVTWsxS9hh3n1yB7m1aUZjNZFJ9e4Z+GR9TOs1a6nvufj gkXZ4T9OZ7QVCRDbmEJ7wzLfTgnqi+yRh+hyiWrP0OHTCL37G8Zm6mVJpj2HKEVKr96s EmLAnywYI+/RuRk1tp+Xs7DlPXF7km/y4km6R5+Xq4R1+vwwcHDTpRmAHWMVtIt+bU3m aL7/ReK1jWj608y7l9UcvIm/HhCT9UUwJD9cK3Pp094WTGWLWFIWfk7b/XtmDX6Da5yA wSZQ== X-Gm-Message-State: AOJu0YxNq3Kkqik9FSPXJEcBLWzlgxhqFfVdRXCo1Nl/+bbLlAMAs3op apteXlc1QJ/4eTwZINga/dCVTasnFX0jbQCeff4asFmfUSO4c+JrWjL7XQ== X-Google-Smtp-Source: AGHT+IH6LHVBP83weVqhbJLfp7xC3IwQqCVXyqo3WuV+e29W9tw4hWr0Ai5JK6gKprC9s3aKj5gRAg== X-Received: by 2002:a17:907:a4cb:b0:a6f:77bb:1713 with SMTP id a640c23a62f3a-a6fab602e75mr537356966b.9.1718966582072; Fri, 21 Jun 2024 03:43:02 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:43:01 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 09/11] systemd: rename systemd-boot on recipe version upgrades Date: Fri, 21 Jun 2024 12:34:12 +0200 Message-Id: <20240621103414.2842509-9-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201014 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-core/systemd/systemd-boot_255.6.bb | 1 + meta/recipes-core/systemd/systemd_255.6.bb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meta/recipes-core/systemd/systemd-boot_255.6.bb b/meta/recipes-core/systemd/systemd-boot_255.6.bb index 4ee25ee72f8..b57156a94b8 100644 --- a/meta/recipes-core/systemd/systemd-boot_255.6.bb +++ b/meta/recipes-core/systemd/systemd-boot_255.6.bb @@ -65,3 +65,4 @@ do_deploy () { addtask deploy before do_build after do_compile +RECIPE_NO_UPDATE_REASON = "Upgrades are handled in base systemd recipe" diff --git a/meta/recipes-core/systemd/systemd_255.6.bb b/meta/recipes-core/systemd/systemd_255.6.bb index 15b631fc07c..98973fae610 100644 --- a/meta/recipes-core/systemd/systemd_255.6.bb +++ b/meta/recipes-core/systemd/systemd_255.6.bb @@ -899,3 +899,6 @@ pkg_postinst:udev-hwdb () { pkg_prerm:udev-hwdb () { rm -f $D${sysconfdir}/udev/hwdb.bin } + +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "systemd-boot_{pv}.bb systemd-boot-native_{pv}.bb" From patchwork Fri Jun 21 10:34:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45461 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 2BDC8C2D0D0 for ; Fri, 21 Jun 2024 10:43:09 +0000 (UTC) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mx.groups.io with SMTP id smtpd.web11.69899.1718966584321422514 for ; Fri, 21 Jun 2024 03:43:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Gei5dYcB; spf=pass (domain: gmail.com, ip: 209.85.218.45, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a6f04afcce1so217462366b.2 for ; Fri, 21 Jun 2024 03:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966582; x=1719571382; 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=Fjaawwy+dTYvdP6O9e7ZY8hEBAQzMJK4eTVcsipVR00=; b=Gei5dYcBWXOaKe1dHMTCAVXBBDk5j6YhwMYI26Qr+luXme2clXI/CJ2iJZB1fuh9Vr eDGFC8cpqA3UJpLK04cv1/6njidu4t5Cf9ws/IV5a24nHombjQiR6BNdGHTiSnK0p1Y3 Kn5Cy8rtf2EyU8lpSRTglAgOuKKDDRfsmj+3ZaPLMoRglKKJn7TknJDF9zLvLlR2f8b/ 7i7xnvHjwJilIfK9IbhSWfPZZpPPBsAWcklCW+dS3LB+EizYxKEW7nH+f8xgGn273eXO AGKWzL8YfkvJiJZgqq/6kaisa/rOFch8LkwCR7VU8ICJGDdjxr95ldgd9AdcEFGOdxTY lERA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966582; x=1719571382; 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=Fjaawwy+dTYvdP6O9e7ZY8hEBAQzMJK4eTVcsipVR00=; b=pcMXBZVMvmoo6T1BWLXTLUkvo9LKVkD7v6zOfDhsRE2yGVSiIGgkGsvS5Fl9TqY6uc 4IcFjzAdey1KF7Idn4tXdqAq8EXsM8Rgq3/j1KNmNV9jANm74/OXRfkNSGYlW9iqMLv4 GS4g0MJNZGL9aVgi/rExx9dARq4Ai9B0UZBf152DKFVaWEFdKOi2Hgiyf9I5j56V/pdk TZrtdRGhhmOjF6Zf38DJ/zbGzwsZEhipbNw9gbNQMruevs9Q1R6X/+2VcHfRg+TL9f0w jX2k6DZOg42wbd6xEEDVz/LJ3FjzKK5+Nl7UARna7pLBuKGMLmppQjld0WQMWUTsuU3c yKDw== X-Gm-Message-State: AOJu0YxmqGPqbOUMNdwEmom3XEHvby1+/6gfVZZVSRNn2LPAmGlYIOvd xbrqDHwqfU2NY25C4tbf29H0bSvyY3hx2pxNmudK0iJ2o2ZlVMsgvaUc1w== X-Google-Smtp-Source: AGHT+IHDg3Ikz3MKq5diEPzSIIKN+xrWKa00/oPnW2sdbvRFElJ9VTULwNOUiUZ8LTZFRZRzVOmDSQ== X-Received: by 2002:a17:906:2602:b0:a6f:56d2:8f0d with SMTP id a640c23a62f3a-a6fab62a1afmr524108766b.17.1718966582642; Fri, 21 Jun 2024 03:43:02 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:43:02 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 10/11] mesa: rename mesa-gl on recipe version upgrades Date: Fri, 21 Jun 2024 12:34:13 +0200 Message-Id: <20240621103414.2842509-10-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201015 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/mesa/mesa_24.0.7.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/mesa/mesa_24.0.7.bb b/meta/recipes-graphics/mesa/mesa_24.0.7.bb index 96e8aa38d61..0b36d8d5869 100644 --- a/meta/recipes-graphics/mesa/mesa_24.0.7.bb +++ b/meta/recipes-graphics/mesa/mesa_24.0.7.bb @@ -1,2 +1,4 @@ require ${BPN}.inc +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "mesa-gl_{pv}.bb" From patchwork Fri Jun 21 10:34:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 45455 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 9A31DC2BBCA for ; Fri, 21 Jun 2024 10:43:08 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web10.70018.1718966584918131162 for ; Fri, 21 Jun 2024 03:43:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FPWSPqmL; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a6265d3ba8fso188156666b.0 for ; Fri, 21 Jun 2024 03:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718966583; x=1719571383; 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=+BLd9bwV8MAfvrp49cOJEPb+y1l1/GQd56NI1Ej9Py4=; b=FPWSPqmLu+MabSyg7W7GNtG8rLGY92Q7F+LpVXEfjb1BXvFUbXVxdX02F1D1plHetr 4zOVydI1yLfG3GURZN3A2ca3hz6otiyCy/opre2tZnYiHO0+mFctxL1ngktFLBSNhB4O c6W3acRZCw/f18MXiSRQ9kXkI7dtOEnAoAE/u5Gt2+vvttDIn+ZJH9V67wt3nWLA2irc FnKgbzcVU2EbFjQCZV5WIYCjTIwBPt2QRorvSGCIZrn4aGCC7kIWCiv6jBBL6pBg1QmV baKTkrc7BfExC+btFoe1K/t937/HYYz6G0VID0dh0jOE6+6VkP9ckEC9QVLuxmBnoUYT vjNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718966583; x=1719571383; 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=+BLd9bwV8MAfvrp49cOJEPb+y1l1/GQd56NI1Ej9Py4=; b=fC9DKW1lM/eytndwULTM2r3D2PSDR4yiS+Arpv9tqAo601gjvoeEGeTHg/G+6G3fpR oSLcZP73HdRy0vUebMNMnIR+pkPxQDGB3N8m5CZXqxToQoZrDOChn++Xe/0rg5X+Whg/ C+h6MPXRsxSmHtn2ui4d4L3Gj3QIMi9yBoHjZ3PyctJJEpF/GlqYQtQZj9klOttglYOP o/5WLcgFsSwAgz4m+4TnGZnA7NdKKcI5El1rNtA2e3h7SQ1nELg7aMFfCy5TAaAtF3UX g7451S32iCYj483Rdy+g3kRiXsLzevSF/BP6h0jIBzvjM4fM4viG4T5Nb8fwiORgwb2B MJXw== X-Gm-Message-State: AOJu0Yzrr+gRjoA4MJP9jvgAzZ1WHHircIVWgoATXpujuMx6PdHw7nDt zzOmswbVd4bgnIGBzFKB4fwGPZIqcEcFesv5MhQerBhh503e/dvoOZRr4g== X-Google-Smtp-Source: AGHT+IEQG678l8GermtChqSriWUUMyK/iyO+USwfbq+vaFeaVU9fW2bpnSBghhJ9abbhABHRmzmbTA== X-Received: by 2002:a17:907:9d13:b0:a6f:badc:8d2 with SMTP id a640c23a62f3a-a6fbadc0a04mr334169166b.70.1718966583206; Fri, 21 Jun 2024 03:43:03 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf560addsm71378066b.175.2024.06.21.03.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 03:43:02 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 11/11] rt-tests: rename hwlatdetect on recipe version upgrades Date: Fri, 21 Jun 2024 12:34:14 +0200 Message-Id: <20240621103414.2842509-11-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240621103414.2842509-1-alex.kanavin@gmail.com> References: <20240621103414.2842509-1-alex.kanavin@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 ; Fri, 21 Jun 2024 10:43:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201016 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-rt/rt-tests/hwlatdetect_git.bb | 2 ++ meta/recipes-rt/rt-tests/rt-tests_git.bb | 3 +++ 2 files changed, 5 insertions(+) diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_git.bb b/meta/recipes-rt/rt-tests/hwlatdetect_git.bb index 2dcc80965a3..0238b7e9794 100644 --- a/meta/recipes-rt/rt-tests/hwlatdetect_git.bb +++ b/meta/recipes-rt/rt-tests/hwlatdetect_git.bb @@ -24,3 +24,5 @@ do_install() { FILES:${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" RDEPENDS:${PN} = "python3-core " RRECOMMENDS:${PN} = "kernel-module-hwlat-detector" + +RECIPE_NO_UPDATE_REASON = "Upgrades are handled in rt-tests recipe" diff --git a/meta/recipes-rt/rt-tests/rt-tests_git.bb b/meta/recipes-rt/rt-tests/rt-tests_git.bb index 1f48e143d47..266a6a6da9a 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_git.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_git.bb @@ -34,3 +34,6 @@ RDEPENDS:${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-date FILES:${PN} += "${prefix}/src/backfire" RDEPENDS:${PN} += "bash" + +inherit recipe-upgrade-additional-rename +RECIPE_UPGRADE_ADDITIONAL_RENAME = "hwlatdetect_{pv}.bb"