From patchwork Thu May 7 05:38:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moritz Haase X-Patchwork-Id: 87595 X-Patchwork-Delegate: yoann.congal@smile.fr 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 B7EC7CD343B for ; Thu, 7 May 2026 05:39:12 +0000 (UTC) Received: from esa1.hc324-48.eu.iphmx.com (esa1.hc324-48.eu.iphmx.com [207.54.68.119]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.5536.1778132343905223174 for ; Wed, 06 May 2026 22:39:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bmw.de header.s=mailing1 header.b=e7WtETnu; spf=permerror, err=parse error for token &{10 18 256wvd6dc.spf.checkpoint-spf.com}: parse error for token &{10 18 %{ir}.256wvd6dc.spf.checkpoint-spf.com}: invalid domain name (domain: bmw.de, ip: 207.54.68.119, mailfrom: prvs=58084c559=moritz.haase@bmw.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bmw.de; i=@bmw.de; q=dns/txt; s=mailing1; t=1778132343; x=1809668343; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=RjW4yVoLVSBDm1E3HUuOHlpVmfCXUTmZ37qommOEGE8=; b=e7WtETnusXG9KvxLUB1luX12ZmjgiUOh2OjnXktejF9lSOSGqsg7S0hl RT7VARfmDanjsxcObv2IewlyJOlVAsfVtTIE0adFMi5nAp6t9INdh7Il9 rsTWV8IeriPIihkgwL3yHfRig362I7tDskEFO+a3W8EinHnot6v/2HoKa g=; X-CSE-ConnectionGUID: ql8Fl3eLRSGkDyZo26HR0Q== X-CSE-MsgGUID: ChS6MIKWR+eltzRzuby3ig== Received: from esagw1.bmwgroup.com (HELO esagw1.muc) ([160.46.252.34]) by esa1.hc324-48.eu.iphmx.com with ESMTP/TLS; 07 May 2026 07:39:01 +0200 Received: from unknown (HELO esabb4.muc) ([10.31.187.135]) by esagw1.muc with ESMTP/TLS; 07 May 2026 07:39:02 +0200 Received: from smucmp19b.bmwgroup.net (HELO smucmp19b.europe.bmw.corp) ([10.30.13.168]) by esabb4.muc with ESMTP/TLS; 07 May 2026 07:39:02 +0200 Received: from smucmp21a.europe.bmw.corp (2a03:1e80:a01:524::1:44) by smucmp19b.europe.bmw.corp (2a03:1e80:a15:58f::202d) with Microsoft SMTP Server (version=TLS; Thu, 7 May 2026 07:39:01 +0200 Received: from q1054628.de-cci.bmwgroup.net (10.30.85.205) by smucmp21a.europe.bmw.corp (2a03:1e80:a01:524::1:44) with Microsoft SMTP Server (version=TLS; Thu, 7 May 2026 07:39:01 +0200 X-CSE-ConnectionGUID: hRCl9jk+Q+Sz5uxou9xSaQ== X-CSE-MsgGUID: 72bSM90cRL+SiHFfMBj2zg== X-CSE-ConnectionGUID: ULuLWcbXTzKS30zWjn/Eiw== X-CSE-MsgGUID: oDcTCEyVSBm/fj0nrKILZg== From: Moritz Haase To: CC: Moritz Haase , Richard Purdie Subject: [scarthgap][PATCH] devtool: Disable gpg signing when setting up source tree repos Date: Thu, 7 May 2026 07:38:48 +0200 Message-ID: <20260507053848.771900-1-Moritz.Haase@bmw.de> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-ClientProxiedBy: smucmp18f.europe.bmw.corp (2a03:1e80:a15:58f::1:47) To smucmp21a.europe.bmw.corp (2a03:1e80:a01:524::1:44) List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 May 2026 05:39:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/236559 This stops 'devtool modify foo' from failing with an error message like ERROR: Execution of 'git -c user.name=\"OpenEmbedded\" -c user.email=\"oe.patch@oe\" commit -q -m "Initial commit from upstream at version 1.90.0"' failed with exit code 128: error: cannot run ssh-keygen: No such file or directory error: fatal: failed to write commit object when GPG signing is enabled in the git configuration. (cherry picked from commit b5c84b07b87eafb4f68f7662b6cf26d8b73e3247) Signed-off-by: Moritz Haase Signed-off-by: Richard Purdie --- scripts/lib/devtool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 6133c1c5b4..c18887c6ce 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py @@ -202,7 +202,7 @@ def setup_git_repo(repodir, version, devbranch, basetag='devtool-base', d=None): bb.process.run('git add -f -A .', cwd=repodir) commit_cmd = ['git'] oe.patch.GitApplyTree.gitCommandUserOptions(commit_cmd, d=d) - commit_cmd += ['commit', '-q'] + commit_cmd += ['commit', '-q', '--no-gpg-sign'] stdout, _ = bb.process.run('git status --porcelain', cwd=repodir) if not stdout: commit_cmd.append('--allow-empty')