Message ID | 20220517140531.199382-1-m8charle@enib.fr |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDC5XPUE6YERBOWXR2KAMGQEIOQ2ARA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=FBdW/vv2; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::339; helo=mail-wm1-x339.google.com; envelope-from=swupdate+bncbdc5xpue6yerbowxr2kamgqeioq2ara@googlegroups.com; receiver=<UNKNOWN>) Received: from mail-wm1-x339.google.com (mail-wm1-x339.google.com [IPv6:2a00:1450:4864:20::339]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L2dFH5Kycz9s2R for <incoming@patchwork.ozlabs.org>; Wed, 18 May 2022 00:05:53 +1000 (AEST) Received: by mail-wm1-x339.google.com with SMTP id 26-20020a05600c021a00b003940660c053sf8231034wmi.2 for <incoming@patchwork.ozlabs.org>; Tue, 17 May 2022 07:05:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652796346; cv=pass; d=google.com; s=arc-20160816; b=vVHzboY/+ysGM0xt/njmCUM+9LB+RBFQIDbRUSwc6xbSyp12J+BKEX00XHkYlN0KuE 3VAwkDs7Y5oCwFxdgK5Tf9W8JecTVgMWsqveRsbmoMo3I5IYnnNJXOX5W4JkFNusAaQy B959UuGlB1pdVrPm0E6MoRrsnKPtJHFyE5UDc8+36ESep/4FM0N8S5/HUPxfteqPf/hW JOF+kNrVROoREQFpHGHqY40SwCrHMOV1abMdye/qIvYHuWFRUKLnN4+4YgjiKI5gScBB pGhiyCQ9Y97AUkIswF5cycPhWerElBs7ErAtWh4bQF6gKG1XOAH/TpyeobYPElGSmW9h 2aqA== 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:mime-version:message-id:date :subject:cc:to:from:dkim-filter:sender:dkim-signature; bh=krlLhGnbTc/g/HdG1Kuifq+1dXMp5BnYaAi0rVQ+Ib4=; b=H1ioDnLAT+nPyrlMGfp/jaiJl6PX+niDCgJwgqr8Qx1kDE1U8Nj6FCLhObf3m2Nrhz J6abqbiNzzSIeS40/a4ydJP2HflUGI7mdDEOicfxMTN8o4UdpmP9harYexmXR8roI/MT wXVUWjnmROHWAjPrWfJtYiKAo1dA4+P2jnAeI3gOGaxSlu8DVeCSSAjPiQSWiBnsmhCm ikRXUsrtIKzjABs6382SyO34czgpgQfVlCXE75CYvLT2uruOUAYJGw8oPvdK09qpJlLc 8EzYE7PxTDPzLAkzKHf2wr9sdpJjUdzUOpyMvzCDb6gaQPQxKpQozpQejoPxMnyTEsAn S7sg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@enib.fr header.s=334D60F3-38D2-41CC-A313-276A274465E5 header.b=tSf+9TSq; spf=pass (google.com: domain of m8charle@enib.fr designates 194.254.241.31 as permitted sender) smtp.mailfrom=m8charle@enib.fr; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=enib.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:dkim-filter:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=krlLhGnbTc/g/HdG1Kuifq+1dXMp5BnYaAi0rVQ+Ib4=; b=FBdW/vv2OkZg++ai/0/JW0EbbcU6y5j+2kNqT3xOLA1x0VhuUWA/s4F2Z9v4nbsgZ7 /cz+EFLZFdTiuEspWiIVjhpRLkf3fAPA02u5wDm3cBfalE78QxN+7KeZLBzzIqsKKpQG 1liQ3KFWCbaBieufkqJzW0XV72byfXxGrZz9ivKHYb2ZlHLwwH+xj9r89g4RBtKxcqxh YuYc32KH5RXTOYFmdWIeUVxbrNZapWJXAhsrTNaBqBASGfaGJiBMmNX9hC3hq0dG/IN9 o9FEo5DbkPyXcYPMCgUd/Dmmzr9Z8T0daqCAOzVD/NIPBYIQzyYS0uQXg3PPGunEdNgV wj/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:dkim-filter:from:to:cc:subject:date :message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=krlLhGnbTc/g/HdG1Kuifq+1dXMp5BnYaAi0rVQ+Ib4=; b=QZncEqy6fnVAL14nnPLsQnWKn1q4JokvQi5V/yUCPEdQTBZgWpqVn3/RAD5HzdmUc2 EiWT8lN0wCBLE50L2mYe32JMPjEHdteLyXoYmNJS4e4asbJSenMinkjucqunznmq+hwk l8S+IltXSUol912eKti7Jzau6XUzS8F32waHbAJP1gSk0mX9CNo4+EX95d140DS871yE ufHsD/OwgPiXO4JT25phVQjB6b8DOVYNo8HORrGoFXFmcCd/fsGc89hpX0T3f7ws8t9j 7JU65KR+QMpvoeRKGOR0m1VdEgf2V4y7+MedjTA7w6h1awPnLUKyF31cVOdaH3XyPiom nShw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531mwwtni5wVpzQaLs0sK05cqNMuL890AOfnlEMzFKzQFxZbn5x+ 3Cm03zsitJ7Az2MoSZqRrEY= X-Google-Smtp-Source: ABdhPJwe2vfEpJbuYaeWrvMjFoBcY2MnomhFx60IAIw5O3mcMJFmsR8UVpUELSEq/Id4D+qbZWxrIw== X-Received: by 2002:a05:600c:3542:b0:394:6e2f:ffa2 with SMTP id i2-20020a05600c354200b003946e2fffa2mr21941404wmq.132.1652796346382; Tue, 17 May 2022 07:05:46 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:4f0e:b0:396:fee5:f6f1 with SMTP id l14-20020a05600c4f0e00b00396fee5f6f1ls1328988wmq.1.gmail; Tue, 17 May 2022 07:05:45 -0700 (PDT) X-Received: by 2002:a1c:f314:0:b0:397:10a5:a355 with SMTP id q20-20020a1cf314000000b0039710a5a355mr6993882wmq.176.1652796345336; Tue, 17 May 2022 07:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652796345; cv=none; d=google.com; s=arc-20160816; b=U/ElMovUawSwHHjykrTDCBXxW3AHzkvBfE+3A+42XaIyr2oxNLTYMX6r6ffjqq67BU UoOq+meSCX+fWQn63XSfOWU5v1Wtic3amSHRZobMBCmijTr5CwOopOrkB6sp195Zes1y r0j48NN43PvSDctHU+s8ajtZQhuYckNF9ZC0egMnWAGBAUMglQz3hNgi/e219ARVU/0W NSEzm+Svy6k5yvaT64nm43e/Q3lPznVJ3CQFYJqovRjP0ASfxY7wZILGh/B9BlqcSuvX 6NXHtkPo/US/WZmagRzDE8coXT4yfWsxWT+Yvrxqf4qblSMJCeNHlrpxOR4iom84MwVW 1BNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=n9T8WqOEFXF9mwJVExyX9UPgDGfjsV3DTodOacogNt0=; b=xzw5Wu15m6X6ot+3XuDgGrYq62JCICMWWqUWFPITyvq3om0edXoT43drZfBGU5RwiO wICz+/RPOMkPEO5xcZAd2Pm0xe+p9xcGZXW7w+aXt/xoeolbn6qXMI/uca6XKbh3Gbp0 mQUrqNxKwQFI5rbkMqPfHaTX26OphVDD+/Stjs6MSNirWUkkqrvVLc2tztd/87A2520u Um3FY4r9NT/JsyTavOT8G7SUbAgTXryUn7Dqg8wagKDJ96CLsFnQ+O+eVrUPWEirGhd6 6eURX0ctUNwJ35gj8awmjrRC5Cd7cZzY8KZ4Y0i/my+uezry5yzXyIWUWGDTtxcKOVdY 4tfA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@enib.fr header.s=334D60F3-38D2-41CC-A313-276A274465E5 header.b=tSf+9TSq; spf=pass (google.com: domain of m8charle@enib.fr designates 194.254.241.31 as permitted sender) smtp.mailfrom=m8charle@enib.fr; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=enib.fr Received: from smtpout02-ext4.partage.renater.fr (smtpout02-ext4.partage.renater.fr. [194.254.241.31]) by gmr-mx.google.com with ESMTP id ay14-20020a05600c1e0e00b00394803e5756si150974wmb.0.2022.05.17.07.05.45 for <swupdate@googlegroups.com>; Tue, 17 May 2022 07:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of m8charle@enib.fr designates 194.254.241.31 as permitted sender) client-ip=194.254.241.31; Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 25A59C0005; Tue, 17 May 2022 16:05:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 81EB31C0305; Tue, 17 May 2022 16:05:39 +0200 (CEST) Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id w211f4Lvq43U; Tue, 17 May 2022 16:05:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 43E931C02F3; Tue, 17 May 2022 16:05:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr 43E931C02F3 X-Virus-Scanned: amavisd-new at zmtaauth04.partage.renater.fr Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XHjAxFpd-JLq; Tue, 17 May 2022 16:05:39 +0200 (CEST) Received: from 85.255.108.31 (unknown [194.254.241.249]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id E7AD51C02E9; Tue, 17 May 2022 16:05:38 +0200 (CEST) From: Mathieu CHARLES <m8charle@enib.fr> To: swupdate@googlegroups.com Cc: Mathieu CHARLES <m8charle@enib.fr> Subject: [swupdate] [PATCH] Doc: Updated auto sha256 syntax for sw-description Date: Tue, 17 May 2022 17:05:31 +0300 Message-Id: <20220517140531.199382-1-m8charle@enib.fr> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrheejgdeilecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepofgrthhhihgvuhcuvefjteftnffgufcuoehmkegthhgrrhhlvgesvghnihgsrdhfrheqnecuggftrfgrthhtvghrnhepieeggfehvdevleegueduffetuddujefgheevteeiffeuffeggeevlefhjeffkeeinecukfhppeduleegrddvheegrddvgedurddvgeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdegledphhgvlhhopeekhedrvdehhedruddtkedrfedupdhmrghilhhfrhhomhepofgrthhhihgvuhcuvefjteftnffgufcuoehmkegthhgrrhhlvgesvghnihgsrdhfrheqpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepshifuhhpuggrthgvsehgohhoghhlvghgrhhouhhpshdrtghomhdprhgtphhtthhopehmkegthhgrrhhlvgesvghnihgsrdhfrh X-Original-Sender: m8charle@enib.fr X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@enib.fr header.s=334D60F3-38D2-41CC-A313-276A274465E5 header.b=tSf+9TSq; spf=pass (google.com: domain of m8charle@enib.fr designates 194.254.241.31 as permitted sender) smtp.mailfrom=m8charle@enib.fr; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=enib.fr Content-Type: text/plain; charset="UTF-8" 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 |
Doc: Updated auto sha256 syntax for sw-description
|
expand
|
diff --git a/doc/source/building-with-yocto.rst b/doc/source/building-with-yocto.rst index e7abb95..49830de 100644 --- a/doc/source/building-with-yocto.rst +++ b/doc/source/building-with-yocto.rst @@ -153,13 +153,13 @@ is signed. Each artifact must have the attribute: :: - sha256 = "@artifact-file-name" + sha256 = "$swupdate_get_sha256(artifact-file-name)" For example, to add sha256 to the standard Yocto core-image-full-cmdline: :: - sha256 = "@core-image-full-cmdline-machine.ubifs"; + sha256 = "$swupdate_get_sha256(core-image-full-cmdline-machine.ubifs)"; The name of the file must be the same as in deploy directory. diff --git a/doc/source/swupdate-best-practise.rst b/doc/source/swupdate-best-practise.rst index b01d3c3..4c7cead 100644 --- a/doc/source/swupdate-best-practise.rst +++ b/doc/source/swupdate-best-practise.rst @@ -188,13 +188,13 @@ is : :: - sha256 = "@<name of artifact>" + sha256 = "$swupdate_get_sha256(<name of artifact>)" You can again use variable substitution for artifact names. Example: :: - sha256 = "@@@SYSTEM_IMAGE@@-@@MACHINE@@@@SWUPDATE_IMAGES_FSTYPES[@@SYSTEM_IMAGE@@]@@"; + sha256 = "$swupdate_get_sha256(@@SYSTEM_IMAGE@@-@@MACHINE@@@@SWUPDATE_IMAGES_FSTYPES[@@SYSTEM_IMAGE@@]@@)"; Please note that each variable is double delimited (at the beginning and at the end) by `@@`.
Signed-off-by: Mathieu CHARLES <m8charle@enib.fr> --- doc/source/building-with-yocto.rst | 4 ++-- doc/source/swupdate-best-practise.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)