From patchwork Fri May 6 06:43:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominique Martinet X-Patchwork-Id: 1627414 Return-Path: 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=GOgPK9gx; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::53d; helo=mail-pg1-x53d.google.com; envelope-from=swupdate+bncbcwivbv7sugrbfmh2ojqmgqehlapiai@googlegroups.com; receiver=) Received: from mail-pg1-x53d.google.com (mail-pg1-x53d.google.com [IPv6:2607:f8b0:4864:20::53d]) (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 4Kvgy12McHz9sCq for ; Fri, 6 May 2022 16:43:37 +1000 (AEST) Received: by mail-pg1-x53d.google.com with SMTP id t70-20020a638149000000b0039daafb0a84sf3217008pgd.7 for ; Thu, 05 May 2022 23:43:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651819413; cv=pass; d=google.com; s=arc-20160816; b=0tliODYNp7wgr/NSzoaVzfII/mFIwMdh9c0yq1S+WzV/9KiPSBwe/ggibwh3Mlp9Go b5QTVA0YEem7DvQb0eQMawPEdWxfJDDVPal9AlQSmGNGtNeTu68LsJB+XRnCBgulii++ vEV20kJWnTtHYqeEkAt/FrPj6P6Xki+0yasaCApLENMlMFJCszE9QTeTaWfTzU3cs/0Q Q36P6AJJq3jNbq8VuRPVOQtj6bXi2tO51pp9z2yocsWBbWgGDM38IdDojQVlMq9hq8p9 6NxwZk8xjlyCIoh2Ksa8EvyEAZP4IhSnwBF+fbg46Izmbqmv6s+ssiG88Wv/3Isj6DbI 6cNQ== 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:sender:dkim-signature; bh=/BY7/g0pYTB/qofIs6h3lnSfuwrH7uRIV+vt3pNJ+rc=; b=toHFr5RdMZp/j4UKgawZ3rU7NXY09TM97zozqBZv0b5jGDiO7Lpfeu4/3W7XHT7pgx UZg+mPLXUmzkkVeDauMOczj5WjusCYbTq3OoBY3d/uYhh7XtzEH2hp4QpfG2uMSpxWzQ wSOxs5o+Ne90JTOohYA1kLGJjq9oy6GRCYj/QdOXzOU7CAgYf15lD9qrhvPxRYKANvRS +cDdiBmnvwiHGukGduKVB1e0zxVFC4K+rTvSaukMjg+sx/jv7MCZytX8Ogxyne3TXwTY NdK+e+F6OFoABswUSUgRRV4JS6heiq9AY860tkXvYMFxC+EiTTeZV6l4T0hu15DJpTia +ndA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender: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=/BY7/g0pYTB/qofIs6h3lnSfuwrH7uRIV+vt3pNJ+rc=; b=GOgPK9gxpbWmoeepsnbg5Pf20/N0Lsfew0yWj5LchLtaedX4Y4QuwLj/Bc7gmSFme2 /EdyR/YaEdj/N4gqLlG79HxdwXMppyX5S3xe8jdAZ9i6/+6Ti1f6xe/RbfUgw+L4iTcc 52p9GhSHcgFe0L+Ini3kSLq580WQaNxoB8ju/SGU0pR4+L+9D95x+2fxF9oy7aKK5HTk rt6s6C/bkLH7Dw31SKWmsl95az/mgyvx+ju7YqIxjif4+gtCvxAzI/XcEOD1eHfNwRRK x9CqNmhgFL7ojiFYpf4f11yJ6Lw7DAvb/X5KL3onjUK51d1ybeqKzH/8TsgdCpVrI9u8 tcZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state: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=/BY7/g0pYTB/qofIs6h3lnSfuwrH7uRIV+vt3pNJ+rc=; b=EDmTSrDnQbmpZ3J3qX2XV5zYa3/AWEvjzqK+yXNkdAFZBvAR0BpBfWmrgEpEPEzfag OddWxo07niOntLU20ywvn20LxWR7JNW9r3fM8MgmKPoy6l+2wUkDLUBftBsvtEjeD5OI 0aKUfdpbFXukLROYbzyfoXRP4/IU0p05K+jGrn5qBxSXdhqTd9V2SpJJVOQH3FPXXf4n cxtECy0unoIWdrAiBE6OF7T2sbymBk/vYeelNQAaQ1LskKU9MH5TtG3dt9oaR1tVvUvq btZVgQ/YHISB3FXy50jmJEXHhWtme8e8ebL8mpmOmEGSBH9yCtre3Hp0av7/JSiqDGCY f9CA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM530OKBTg32GOl+BJtsMr1yQRl+/XbGwayPos2orhvO5V4cbRtKDi kClipAJTauaM5QeDIwVmL68= X-Google-Smtp-Source: ABdhPJzHJDME5UIbJ/CJQp8WR8Fmu/VazfelOHFr8QllnJWNVDu3ZrpVQF1jXAGdBXfFl8mwLSgOgQ== X-Received: by 2002:a17:902:7296:b0:14b:4bc6:e81 with SMTP id d22-20020a170902729600b0014b4bc60e81mr2217257pll.132.1651819413182; Thu, 05 May 2022 23:43:33 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6a00:ace:b0:505:bb88:8eb0 with SMTP id c14-20020a056a000ace00b00505bb888eb0ls3136721pfl.10.gmail; Thu, 05 May 2022 23:43:32 -0700 (PDT) X-Received: by 2002:a63:2c10:0:b0:3a9:fb93:4858 with SMTP id s16-20020a632c10000000b003a9fb934858mr1614900pgs.262.1651819412550; Thu, 05 May 2022 23:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651819412; cv=none; d=google.com; s=arc-20160816; b=MOETlea89DDwYZskx+oNxltjIlw08StbPG0YR7IXKj6rc/q6+a+FGaiXwHITAngjNo k+ZDwahu1got/Sp+WGTtK5PG7aQCDPpD6ZrHH0hy+FGasISCnKqurWyoayMMLkoJtFJt HTJXnWn+QNeH2RRQUDOn10an9qscx8bi0pjsmSyhqCAWSZFFLmk8sdNxZtL3KPa4ID4s aneUBleinuYMkxipUn2rXyG7rax/lIjMmw93d9MygThel7ZNe2CSkahh6+NvwOR+N3V9 0ltIUbubkqOasGDbp9mwvUoRBSnXLqymQVgSAj+AbEkt7cWo5X2AK4FcqoF8+4A/HqjZ k9iQ== 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; bh=2jwfyggWc4vMpgdqFoZDgp0NJho21K7w/dcqX4LEMCs=; b=AQb/so2DfyBhmLsXuCGnGVBcYGsknJIeBmji02OTj8jZuBy7HCnV8ZoWBUJR/WHpKT sdEcY+9VNNXBIjB1hDWvvSXOMOLR0WMcHx77OhJIht/HNa4DHft5JOOA8HPqZ8U/nRXt p8wdDpK1co1ETrW473UCP27HUo0vQAsJZa5MGntf4ItEWymor/BLWDqzdtsMWgnUem7W M2CPo0x1UzNTYCkVGsKC+7Xhm6LUBNxfdwm4oFCGcAdHH+cH4Ne3sZIaxWy6nItnVXa8 yzV+FuF2GlRPBGFNmLxDFTy6Z6sdpg4AbMeE8rkT3+O/DEbj9VD7qX/1EdV5jf39UGg4 hBug== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com Received: from gw2.atmark-techno.com (gw2.atmark-techno.com. [35.74.137.57]) by gmr-mx.google.com with ESMTP id rm10-20020a17090b3eca00b001d9832f7b82si150747pjb.3.2022.05.05.23.43.32 for ; Thu, 05 May 2022 23:43:32 -0700 (PDT) Received-SPF: pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) client-ip=35.74.137.57; Received: from gw2.atmark-techno.com (localhost [127.0.0.1]) by gw2.atmark-techno.com (Postfix) with ESMTP id 6987E20CF3 for ; Fri, 6 May 2022 15:43:31 +0900 (JST) Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by gw2.atmark-techno.com (Postfix) with ESMTPS id 2CB9920CF3 for ; Fri, 6 May 2022 15:43:31 +0900 (JST) Received: by mail-pf1-f199.google.com with SMTP id y5-20020aa79425000000b005104c6e01efso2091748pfo.23 for ; Thu, 05 May 2022 23:43:31 -0700 (PDT) X-Received: by 2002:a17:902:d505:b0:15e:8b5c:bbe3 with SMTP id b5-20020a170902d50500b0015e8b5cbbe3mr2002739plg.38.1651819410271; Thu, 05 May 2022 23:43:30 -0700 (PDT) X-Received: by 2002:a17:902:d505:b0:15e:8b5c:bbe3 with SMTP id b5-20020a170902d50500b0015e8b5cbbe3mr2002732plg.38.1651819410052; Thu, 05 May 2022 23:43:30 -0700 (PDT) Received: from pc-0115 (162.198.187.35.bc.googleusercontent.com. [35.187.198.162]) by smtp.gmail.com with ESMTPSA id z21-20020aa785d5000000b0050dc76281fdsm2578450pfn.215.2022.05.05.23.43.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 May 2022 23:43:29 -0700 (PDT) Received: from martinet by pc-0115 with local (Exim 4.95) (envelope-from ) id 1nmrgW-00EbsE-9Q; Fri, 06 May 2022 15:43:28 +0900 From: Dominique Martinet To: swupdate@googlegroups.com, sbabic@denx.de Cc: Dominique Martinet Subject: [swupdate] [PATCH] documentation: fix 'install-directly' -> 'installed-directly' Date: Fri, 6 May 2022 15:43:27 +0900 Message-Id: <20220506064327.3482157-1-dominique.martinet@atmark-techno.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Original-Sender: dominique.martinet@atmark-techno.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , while the code variable is install_directly in images struct, the configuration setting is installed-directly (in sw-description) and installed_directly (in lua). Signed-off-by: Dominique Martinet --- Noticed that one while making reproducer just now... doc/source/sw-description.rst | 2 +- handlers/delta_handler.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst index 72a5cb8e2f2f..fe4fc4720090 100644 --- a/doc/source/sw-description.rst +++ b/doc/source/sw-description.rst @@ -1232,7 +1232,7 @@ a "-", it is replaced with "_", because "-" cannot be used in Lua. This means, f :: install-if-different ==> install_if_different - install-directly ==> install_directly + installed-directly ==> installed_directly Attributes can be changed in the Lua script and values are taken over on return. The Lua function must return 2 values: diff --git a/handlers/delta_handler.c b/handlers/delta_handler.c index f8d330c26603..80d109d9dde2 100644 --- a/handlers/delta_handler.c +++ b/handlers/delta_handler.c @@ -883,7 +883,7 @@ static int install_delta(struct img_type *img, * No streaming allowed */ if (img->install_directly) { - ERROR("Do not set install-directly with delta, the header cannot be streamed"); + ERROR("Do not set installed-directly with delta, the header cannot be streamed"); return -EINVAL; }