Message ID | CAGiQmy8ee7vkm-gKoioGk-=Xd4qih9RrGZENNm5Y6K9ZcGqPrQ@mail.gmail.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBCT3DAFR2YLRBYPVQCWAMGQEMQJCPBQ@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=Y5xMOJl5; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=EAosRwno; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::23f; helo=mail-oi1-x23f.google.com; envelope-from=swupdate+bncbct3dafr2ylrbypvqcwamgqemqjcpbq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-oi1-x23f.google.com (mail-oi1-x23f.google.com [IPv6:2607:f8b0:4864:20::23f]) (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 4Stzd10yM7z23yq for <incoming@patchwork.ozlabs.org>; Mon, 18 Dec 2023 23:28:20 +1100 (AEDT) Received: by mail-oi1-x23f.google.com with SMTP id 5614622812f47-3b9fe1a9f16sf4403556b6e.3 for <incoming@patchwork.ozlabs.org>; Mon, 18 Dec 2023 04:28:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702902498; cv=pass; d=google.com; s=arc-20160816; b=VRSDnH3FRKzMI8MxOm6l0WCVbsWkalze8LE6RybI12JBVFOp5WPECfdkA9mjQfZ8BW 2v2xlMuial4SM3yWc4OVfwyEBNAu0QcDBN1rAKIjm3G18zkGvCKMj+rXniVRuW5k8f/p 8N5S9nLgFgC3yqPORE81LC8vCqZO6DOKcl2yEO7Ksn0o3lCWZUhrgDAqwQaqWlzLzT/U DspVaxV0GQkvuJycwnHlpwEZH3YZjDxmINqW4imY5wuwL16FRnYKbUs+omMql+IR2ByL ngJ0cYJlLzXEAdh/wucHcdy88O26nCfz8vLTvMiVMKwQzQwcLZWrhjCaIK1D9dP8aIdJ qLBg== 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:to:subject:message-id:date:from :mime-version:sender:dkim-signature:dkim-signature; bh=b/YNdeGDlOXk++sFGrP6K65dmZ0jkOtX3Iww35vkkR8=; fh=nvZsCFpxgpf+fsVXzjnWA8g1K3V/kNbRAKogjNDW4HY=; b=q0rWBX2v65ik/rtkl3LK+REG1LIKOjkzhxy4oa6OiUBoqgFHuIkVSLHGzWiYjMJny0 ZVgLjH/VRteiy31YfzeXkIIxguL/bDVnaVPjVvA4SVR2oV/JZ3kO1wTMeGDIl5gSJxxH Q6hk/tpvYAICroqv3dfJZBwHe1f7sMxHM6vvYxAnSffVX8yhtusUx94LCvhE+swTD5KE OsR1cn6qqqE06aKNtvLKNCWZhIuflzZujWNTB+z3k/6qyZ8rwtxAjOeyiXYNZyWAPb+D fd/Cfi72XLLkY9juPM0Np/iEXijnzBrdKY0E7zENqT8c0Y45JEbp+r2OVvAhBrFgGD4A bZIw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fqNrb4B9; spf=pass (google.com: domain of neumann.bastian@gmail.com designates 2607:f8b0:4864:20::82a as permitted sender) smtp.mailfrom=neumann.bastian@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1702902498; x=1703507298; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:to:subject:message-id:date:from:mime-version :sender:from:to:cc:subject:date:message-id:reply-to; bh=b/YNdeGDlOXk++sFGrP6K65dmZ0jkOtX3Iww35vkkR8=; b=Y5xMOJl5lhK9CjkgsdxhrHumOV+9OUPmPBQGllTxFSZ5tzBYdiGFkwdfgyDqzrAIj1 KP9KagQnS+vhKPG1YUEp9X+bhh8JHJCY/6ZVSVvqZME6Go0UZbpm9HG376SiEOVYLx79 rn/lF3sSkI4FFWryh4jgQ4P2oFjqZEb3lR/bQFo2GEHnsWSMqwZ98/KnUH/wZ9oEYQ+U PhwYFCxGSk21M/15qeijXe97sPOtVTytxgQIOiMrXB7FFgdlKmMxWESOdB52/n/iVvtA qJQuvIs7NVdMjLNzN0LtcISfySd1coZSgIfPY8GK9GT/zvSvLeT80kGsPM1rwWsBtmpR TRsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702902498; x=1703507298; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence: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=b/YNdeGDlOXk++sFGrP6K65dmZ0jkOtX3Iww35vkkR8=; b=EAosRwno/D42kJTqEJ5HZoJuU58f5U0Gv2GHd9eZKxWC8g0b+76RHN6QqeMj4JDDZC BrSt+B7PD724TNS1Ri3K0m26WOodkLAcUsetOtF39yqwukV9QMgqXzwvjcC6mDfmwnx6 7YrbBJGS1MCKEDrL9Lv12sjNw1XCsFYTQQFukyj1gwtpyeDTlpDriXQN44/Uag+ogMaw XG33tUXJKkS3L96wxm9puiSwAcfqQ2DtvAjmig7C5ALKwtcVVqYnX9Jc7WaNeTkeyNl+ zkDH4Id2yUNx3sHgne+IGokiIEajITxgnetzM3Y7jrAC33zYwGxFnSAUKqIXkyDSJMaG pVUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702902498; x=1703507298; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:mime-version:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=b/YNdeGDlOXk++sFGrP6K65dmZ0jkOtX3Iww35vkkR8=; b=R2QgyoUnGdkV5SDD+TIHONOGMOuKULI30D0QoaUaDYcYFV6bij1WSyXhBgsvQSNBYz wQGhNztsFbbfNQgfDSunwM84SPr1YCFUvyKqjqHStuQUB6Fw2iXP/YRAGriyNhpuZFte LH3QrficTwdG9GIc/s5yIfPydnTgTlL/3PtHLAzxErpGHm1FSKT62Sfw48+gBhc4aFeS 3LmcEjxJ6B/L5BZAuX2ShrTa83RptglAW5GcMB9VPXSPRsJrXBYeKuqT1mYI9d3r51Od Jho2odJcEGT6mJhV5N4As/LnT1kaqoYUrZxSQ/+om56NbpQYBYIYBNHjJtoC8ie1PhEf FmDA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YwN2BRJ/TViWHmJmokMkHdJSpPkvKyZ1mDqQJ2FfyGtjts7o/i3 939GqzWIII6Lbq76L+qPLNk= X-Google-Smtp-Source: AGHT+IFxTXDCcaUAh/STf55TOj30gGturKdlNqQ4CnvrGgDoBaF+DXnr4t5K0WwGEs0TIex6OvhB8A== X-Received: by 2002:a05:6808:d51:b0:3b8:b063:5046 with SMTP id w17-20020a0568080d5100b003b8b0635046mr18547583oik.71.1702902498289; Mon, 18 Dec 2023 04:28:18 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6214:3019:b0:67e:e84c:a16f with SMTP id ke25-20020a056214301900b0067ee84ca16fls3612227qvb.0.-pod-prod-01-us; Mon, 18 Dec 2023 04:28:17 -0800 (PST) X-Received: by 2002:a67:c091:0:b0:464:7f57:b474 with SMTP id x17-20020a67c091000000b004647f57b474mr9124677vsi.19.1702902497307; Mon, 18 Dec 2023 04:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702902497; cv=none; d=google.com; s=arc-20160816; b=u6vG57N9kaZ0DIgsOhQ52Za2jjfrrnTYaGVgbrWHMTz1Wls5KDlHMf3iNYeLIQsgje EtxKGw3WVJ7WK4Qz81/5dB64uUvFdIldL3ciqzaZkdZjUP/iKiG+2D4DOMG73WVrCl8e HvVuUGhZZ1SF7ohgve8s3/6WJpegvfBeISroen0q0R197n8uMKe68mqkqz1usEN7H8bu f++NJSnY/jtGddEvEem1ZF13mnJu7Fo9OCwrSCRcIEGt4sgj4Fs+IEyxZvq9Ecflio5/ 0Fn7fI8FfysLN83SZxjg9MUYhWGby8PjhrK2eWyUwK0nLJZmGciGDwDhZDbO2BPnfI9G P+/w== 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=OA79JHok2OdGpQz8DRazZ7uMn49fpj8ZL+X/V2o/IFk=; fh=nvZsCFpxgpf+fsVXzjnWA8g1K3V/kNbRAKogjNDW4HY=; b=u0p1FBPMUMGf1/6ASKbVa++unZvNbh7qtDkjSBZhrvQXLEwUoEPqhUwL0SRi+TaxRG pf2VXAESXRBfnjdXfLCZFNOAPv2ABcxAZaQ1QTYPiSo0yQWmyw0gGaXKNq36qSOu78Qd K7b6W1c+lAyKuzvKnCDPQLQ2GQEsPUZ4nCz0tr7bfxuGILFSRb4PQBHq3r2hP2XvceZ1 KobNLdZslO1DmTEqZfuceJocq3y0PznVULWIgUg879raJ7bdsUJ1gGGXrNtOhRhdzmsH lyk27mAyMOIAsLNwPmUtBsJkjkfdePumLVeC7xLETsbmwMmfj6jWWiX+bO1bagUKTmzU /JXg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fqNrb4B9; spf=pass (google.com: domain of neumann.bastian@gmail.com designates 2607:f8b0:4864:20::82a as permitted sender) smtp.mailfrom=neumann.bastian@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com. [2607:f8b0:4864:20::82a]) by gmr-mx.google.com with ESMTPS id jf11-20020a05610217cb00b004668b5a07cfsi564192vsb.0.2023.12.18.04.28.17 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 04:28:17 -0800 (PST) Received-SPF: pass (google.com: domain of neumann.bastian@gmail.com designates 2607:f8b0:4864:20::82a as permitted sender) client-ip=2607:f8b0:4864:20::82a; Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-425b9acaf80so28175951cf.1 for <swupdate@googlegroups.com>; Mon, 18 Dec 2023 04:28:17 -0800 (PST) X-Received: by 2002:a05:6214:226f:b0:67f:43dc:f666 with SMTP id gs15-20020a056214226f00b0067f43dcf666mr2554448qvb.52.1702902496779; Mon, 18 Dec 2023 04:28:16 -0800 (PST) MIME-Version: 1.0 From: Bastian <neumann.bastian@gmail.com> Date: Mon, 18 Dec 2023 13:28:06 +0100 Message-ID: <CAGiQmy8ee7vkm-gKoioGk-=Xd4qih9RrGZENNm5Y6K9ZcGqPrQ@mail.gmail.com> Subject: [swupdate] [meta-swupdate] Update BitBake auto versions documentation To: swupdate@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Original-Sender: neumann.bastian@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fqNrb4B9; spf=pass (google.com: domain of neumann.bastian@gmail.com designates 2607:f8b0:4864:20::82a as permitted sender) smtp.mailfrom=neumann.bastian@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: 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] Update BitBake auto versions documentation
|
expand
|
diff --git a/README b/README index 6975ae9..63cac53 100644 --- a/README +++ b/README @@ -28,20 +28,13 @@ pass $swupdate_get_sha256(IMAGE) (where IMAGE is an image filename). BitBake auto versions --------------------- -By setting the version tag in the update file to `@SWU_AUTO_VERSION` it is +By setting the version tag in the update file to `$swupdate_get_pkgvar(<package-name>)` it is automatically replaced with `PV` from BitBake's package-data-file for the package -matching the name of the provided filename tag. - -Since the filename can differ from package name (deployed with another name or -the file is a container for the real package) you can append the correct package -name to the tag: -`@SWU_AUTO_VERSION:<package-name>` +matching the name of the provided <package-name> tag. To insert the value of a variable from BitBake's package-data-file different to `PV` (e.g. `PKGV`) you can append the variable name to the tag: -`@SWU_AUTO_VERSION@<package-data-variable>` -or
Some time ago the aforementioned SWU_AUTO_VERSION was removed and is replaced with a function call to swupdate_get_pkgvar Signed-off-by: Bastian Neumann <neumann.bastian@gmail.com> --- README | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -`@SWU_AUTO_VERSION:<package-name>@<package-data-variable>` +`$swupdate_get_pkgvar(<package-name>@<package-data-variable>)` SWU image signing -----------------