Message ID | CAJqz+h+wJNuyu-_cppqiqV0Z02ZRMgjYAVREPy3JrMR0LkEmuA@mail.gmail.com |
---|---|
State | Rejected |
Headers | show
Return-Path: <swupdate+bncBDXJ72P3QYGBBPWGYKYQMGQE6AQRKAQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=aV+exjOe; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::f37; helo=mail-qv1-xf37.google.com; envelope-from=swupdate+bncbdxj72p3qygbbpwgykyqmgqe6aqrkaq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-qv1-xf37.google.com (mail-qv1-xf37.google.com [IPv6:2607:f8b0:4864:20::f37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VTC8z4htwz23jG for <incoming@patchwork.ozlabs.org>; Tue, 30 Apr 2024 17:52:35 +1000 (AEST) Received: by mail-qv1-xf37.google.com with SMTP id 6a1803df08f44-6a0cc6b1704sf34538546d6.1 for <incoming@patchwork.ozlabs.org>; Tue, 30 Apr 2024 00:52:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714463551; cv=pass; d=google.com; s=arc-20160816; b=03yanYG6lCqx/RzBQugGTlBYlTJb1kidkUAkLF+rxkc9L5+MkcoKjo8tba8addfvfQ FEh6K3IqdX/Ic5BVxhBMWjLuU3EHO5k3c/F5XN76HKN4dJn1LgC6UYUdYLluluoNxpxA Ph9wHDH7abuU+FqQ6648+lsfQmNafCz0xRTUyzPXOif3B/yw2/0kVsnumbP6pWwzxs/h 3UInVhRwCkXxVcrY3LxcedLaSmmYsvvQsndPamzRPSSYp6m9HKm3wT9dBCOmxy376Lkx VC/4Ho2jwXujHUcKqsYVq0lnaPJhbXOKQpi/z3Dr3KDQ8e2VWGSFd0hD6iLehaVt/9FY P73w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:mime-version:dkim-signature; bh=xwPI1mzNQJ0vE6rdofKPYXyXOgx0pRyxP1EbgWMg+HU=; fh=laenY96G+jU9ZkR0PAK4ChqbNnezPixjEu4A8oeIl0k=; b=tw7Km40BnvwAs3iuA6uBY9g5XnlgSgQqFMOGHztQcX0GbiyvNa7ox+FSzB0eBKVR+E +2auRbdUDnzTL/ftnTAsZ5hv2I0dGsPBmxXf4m4DwEnI21s25ypfJNVPJB0G07Fr1KJb SOjSKFYBrf26mnS2+yZX43Gk/W3u2/0d9vm0yuVWGpZSpqUtMYJyPgvSEVh3CdrI7X+z JdO+v+R8uic57XtXYVXdslIvMl+NA1XHzZqASrn5Ox9tu/Oew1fHvUewxZ03Pok9QmNm rr3o5SalW6bggVkhXkvwuAWmJARTqErJCaDsCQCI0YYJIJW/zS45KlqMyObHBH+g+5ja aXwA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b="U/aHUoGg"; spf=pass (google.com: domain of dtyzp4@googlemail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=dtyzp4@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1714463551; x=1715068351; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xwPI1mzNQJ0vE6rdofKPYXyXOgx0pRyxP1EbgWMg+HU=; b=aV+exjOecGHkDhvHrpglCG1ZkbkOmDREZm5y0BwhJCZnVOYTR25ZH7V+HhtBTvC+IY gR5TTdHLqdPgclavYcWpqOY1FFTifM3qSs93M9+N7lchlHS96i3PgIYuQ/c1COCzZ27q kZ2Tol0rG5qlD4wO5BTnVFAO7qCDq+zxkLo1jjk/mZPpaeAX6v5PrDr6AZb5jRcay6TQ DkWkTCTboAHpkRAaJfSXN1zFtGB0WbIAoH/6VHchJ7r3XFisKo81tjRx6HkKZP2FuFKN Udmqn98YcreekQVgt73L9hvgxU2wXl84nUtsw0+dJhD3gya6tiImJPIeY3PmHltKuBZ9 b4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714463551; x=1715068351; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:mime-version:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xwPI1mzNQJ0vE6rdofKPYXyXOgx0pRyxP1EbgWMg+HU=; b=WVO0ruDbbq3cyCpoT/ljr/ljoxzFTUr+1KqASBIqeQeAfGMcXRkENMpwDJ79pE//be GchicMAp2HvQ78s9s8BFAG+6ObMyfMsEpZwl5LOxg8tdooHV2qkctivsBeHXU0QoOIZJ g5Jo/XTp3jmqyS+rQZm9HsjPW7ZgBaGdUWQZffIQq+sSPNxZ58A38jrOBjk23cIswPke 579Jt1bIk8ffLQI5/y4BIdlWEqMIubX0SMCaSVJTa0mK3WGl0Uhw+tbEMjWNwzKfDumT oyFF6Qbk6O0sMZD1HL3W2lhfjsT+bh2GyJmvL1QHF9exENt9P4gSYcYhsiOd8hdECfWO 2+Kw== X-Forwarded-Encrypted: i=2; AJvYcCV2SHHgVr0tKI02Ye1C00x/Z5nt03x2ldnPqwiT/YkxmzF6iCzq17BmavDufrOt4s2U/l0wdNUht3Uj1d5Qyj6niH3oz5eBmfAi+pvIMQ== X-Gm-Message-State: AOJu0Yx+jI+I0njYdLpA6CvS1DUdFtHgq6QmzpTNvffgwsOwlWA28Vod 2DhhB6cc+s9Q6GjGdAMrYlbVQi9hp0InNRycuAWmPrAgSE5UaWk7 X-Google-Smtp-Source: AGHT+IF/WJnuOzCE/DGNLPjLPgn3MT8+/XT6fQxE9YKOYh5lVRE3FMkmzVvZ4+spB94pqk+78yU9bQ== X-Received: by 2002:a05:6214:17cf:b0:6a0:a4db:b297 with SMTP id cu15-20020a05621417cf00b006a0a4dbb297mr2497704qvb.23.1714463550743; Tue, 30 Apr 2024 00:52:30 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6214:501d:b0:6a0:5da1:b6d6 with SMTP id 6a1803df08f44-6a09c61a683ls26835466d6.1.-pod-prod-00-us; Tue, 30 Apr 2024 00:52:30 -0700 (PDT) X-Received: by 2002:a05:6214:5085:b0:6a0:a8f2:5f4d with SMTP id kk5-20020a056214508500b006a0a8f25f4dmr136253qvb.1.1714463549889; Tue, 30 Apr 2024 00:52:29 -0700 (PDT) Received: by 2002:a05:620a:3184:b0:790:f573:2ec2 with SMTP id af79cd13be357-791938409b9ms85a; Tue, 30 Apr 2024 00:43:07 -0700 (PDT) X-Received: by 2002:a19:ca48:0:b0:51a:c2fe:9f73 with SMTP id h8-20020a19ca48000000b0051ac2fe9f73mr8966412lfj.51.1714462985200; Tue, 30 Apr 2024 00:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714462985; cv=none; d=google.com; s=arc-20160816; b=s611q/JDv4gLBwty5rO0wwMXG4zqBsSQWBCzyyjKF7FXKxuPkiYvsQk4z78OofyPWA 7hl365xb4yo+CVe1HzGdNeKf7TcMviEOm+5rXZJyvc7kC0lcNWh3s4cepcN7YQ+5xTSN PlT+CMAAeULM3xlT6q9v8Jw9kqZVy/hSYi+faIKmxKUZXFfJ8Su+EwNS8YvrHnEx9esn kmQhm/oEIXgpOiVbKpO2fGO5YdWm17uvILXNPllBNOWId1Ks39lZ71SIBN8/8eTUVbTa niHJ6WG90HMEvebVNo5yQNekUwBg8jSj4NEwPz8mLoodC5DYJRgR/+o/BdhTTNBXC0v2 RfQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=i3w1GelPc5QKmom22QBl5MtpzC2DMIywnsvG1qzIdG0=; fh=262T970yE3bqnMshdE4s95nQ21s3ybbkQZYvqrj76C8=; b=SBlAH7NOVerEzqIAWBmAE3VPVYPROmig2gFC+R7rlt5oJ8ksJEu371+77K1G+BPJKp w74ArYR23jgSjZLOIMc7Dx5Ny57qE/+aOkJonRpwlHYt0xyiiiSiJnDOvuQ/1kO/jbD/ 8GhZazgegvpAJL+LKcSArTu5lRJKHrJio0wpGxNdvx/hQwtqZjsnRo5ln04bIClQx39v LG5ohtvBSji9/MAHncJRtG1+B8c09SfsLl9gZ35rDUD0Fsq7nyslRHR7MM9TrgCKpRI8 arrcwj+s49mL9t+q/7kuM7gG49poPQDi23pU83eQFWW4rEVUxtLDkDD/dOuiV3GSMp25 GkdA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b="U/aHUoGg"; spf=pass (google.com: domain of dtyzp4@googlemail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=dtyzp4@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com. [2a00:1450:4864:20::130]) by gmr-mx.google.com with ESMTPS id o13-20020ac24bcd000000b0051976dcfdf8si1016360lfq.10.2024.04.30.00.43.05 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Apr 2024 00:43:05 -0700 (PDT) Received-SPF: pass (google.com: domain of dtyzp4@googlemail.com designates 2a00:1450:4864:20::130 as permitted sender) client-ip=2a00:1450:4864:20::130; Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-51e1b9fba81so1336846e87.3 for <swupdate@googlegroups.com>; Tue, 30 Apr 2024 00:43:05 -0700 (PDT) X-Received: by 2002:ac2:4649:0:b0:51d:41e:dad2 with SMTP id s9-20020ac24649000000b0051d041edad2mr8667328lfo.62.1714462984178; Tue, 30 Apr 2024 00:43:04 -0700 (PDT) MIME-Version: 1.0 From: "'DaLo tyzp' via swupdate" <swupdate@googlegroups.com> Date: Tue, 30 Apr 2024 09:39:37 +0200 Message-ID: <CAJqz+h+wJNuyu-_cppqiqV0Z02ZRMgjYAVREPy3JrMR0LkEmuA@mail.gmail.com> Subject: [swupdate] [meta-swupdate][PATCH] Add Variable DEFCONFIG to choose custom defconfig To: "swupdate@googlegroups.com" <swupdate@googlegroups.com> Content-Type: multipart/alternative; boundary="00000000000027129b06174b859a" X-Original-Sender: DTYZP4@googlemail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b="U/aHUoGg"; spf=pass (google.com: domain of dtyzp4@googlemail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=dtyzp4@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com X-Original-From: DaLo tyzp <dtyzp4@googlemail.com> Reply-To: DaLo tyzp <dtyzp4@googlemail.com> Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[meta-swupdate] Add Variable DEFCONFIG to choose custom defconfig
|
expand
|
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 188c25c..f499c37 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -98,8 +98,11 @@ DEPENDS += "kern-tools-native" python () { import re + defconfig = d.getVar("DEFCONFIG") or "defconfig" + defconfig = "file://" + defconfig + try: - defconfig = bb.fetch2.localpath('file://defconfig', d) + defconfig = bb.fetch2.localpath(defconfig, d) except bb.fetch2.FetchError: return
Currently the static defconfig file 'file://defconfig' is loaded. However, if one wants to use a different defconfig to build a custom swupdate on the fly it is not possible. Therefore, add the new variable *DEFCONFIG* to specify which defconfig to use. If the variable is not specified use the filename *defconfig* as default. Signed-off-by: Anton Gres <anton.gres@ifm.com> --- recipes-support/swupdate/swupdate.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.39.2