Message ID | 20240820153159.1886501-1-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBD2ZDGN6SEKRB6HNSK3AMGQEMPLVMIY@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=eGDyySFz; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23f; helo=mail-lj1-x23f.google.com; envelope-from=swupdate+bncbd2zdgn6sekrb6hnsk3amgqemplvmiy@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23f.google.com (mail-lj1-x23f.google.com [IPv6:2a00:1450: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 4WpD3k0yLmz1yXf for <incoming@patchwork.ozlabs.org>; Wed, 21 Aug 2024 01:32:16 +1000 (AEST) Received: by mail-lj1-x23f.google.com with SMTP id 38308e7fff4ca-2f3f4c39dcasf2222891fa.3 for <incoming@patchwork.ozlabs.org>; Tue, 20 Aug 2024 08:32:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1724167931; cv=pass; d=google.com; s=arc-20160816; b=ciYuvRl9YB3PcURlL2f/3ESh4j139cUAc4KwVorMeYTbkbVpo/Hj8O6zxnBzqv58Q5 SjQmfLHbuDjdCD+ufqPWHHVFJILAZ1dk6qSCVIyARshpcAG7+strIQIgoMvcFgLUy1d2 GmXr8wewn8Aw/KsMhxr0NeYVNHy3Y8J6Y9dIi65msyV8fBaVr2+VHQjD1K2p7tmxDvV4 3f2Gik+GECtIPmvLDj7+QkiYxL6RiGFDFkg2tdLptGr0x8nJz280SLkX+IF7N3dAx4Gq WrAz6OJuO4BzOHwIYwKgvElg20laJD5SBfkHwMjD7gm9Ejabj5xEMwHfCVN9/RbolNmK UHnw== 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:ui-outboundreport:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=Betc0hlLK6JqM4/bl9t6u646vPHMfDHgfvAznN/h6ZY=; fh=qbbSuLJb31Hkajzd2Jatjo66PJ7uop/nxikzRLj+8M4=; b=PFeY9fAR7MYG7M1PmDis0JKi29MdhHd6k9O1HzKIoJTb5jtetz1zjova4RFluE0gC/ z593WCBmtJfzPsI3jtuDnlPcHk7levjpUUEyeymQq4ZuxVBexqhO1W2S/n4BOVsRqoNk MRUcbBAM1I1aOFzRB7Y2zVSabHZOQf2VPE7HpDSvOBVklHRj6WcZDnvTuyB9umkdAcLi SA916AsuZyrL8Fd2IkwzTOgYJ/CU8/QeisiyUmzRpfw+8HJWKkn0PEW7teSwqnitB91x w0a0JYHdc6GNHKt4QXiCBLGc/+SF+atVDDAcjo8rfxd1vBS+HCo3gmNiBCuMhaD/Mreo 242w==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=udsSlePA; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1724167931; x=1724772731; 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:ui-outboundreport:mime-version:message-id:date :subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=Betc0hlLK6JqM4/bl9t6u646vPHMfDHgfvAznN/h6ZY=; b=eGDyySFzPAShlp1Oh+wF8n90pXfKqhK6dinniecZIXzBu/eQirxlWcQ/58JXyBIKye tQpznb5LX9UGJ9Ppgj5lgCIQP98a9epn9yEmv+IkSuQf6lmFIh7TO54ln/FmlZ+Lmjnt u3rFPrvYUJfnrBYsz5gIJagCax/9/x/MGz+V8iAKf4gMDocFE+J5J3A3uPWfjVONDnqG 4xAK9wgYr0IwQw/LS1oITZ1HWV4aOTimx/LmRaxlpAbY/nwh1/YwJ/57VG3X/rOWZvym H4h/8kHh/lE4jhiwh2jeE5ns79/R5VxFUnteREHxQHqxP4iImSUWR+OzbjpNIt12KydQ 9nQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724167931; x=1724772731; 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 :ui-outboundreport:mime-version:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=Betc0hlLK6JqM4/bl9t6u646vPHMfDHgfvAznN/h6ZY=; b=WXz5U462cpjyvrQTaM3o54ooWUXflzZmN6XGoJdjYZLILtxoGeEU2P2hnF0xCPYuvy BjALBYywDezBPTIQJKCylqzvwht36ci4KHs4AI8+dE3XJG1I8HP0NB5a0O0/XxZ/18Rl UNB+gxDu9jPmX3tT64c5fFj6wpBRKhLtiej7ELccCgk01MBkyA+dkL+bc9UkY0OjAsGy MmFbzwHUAKMeOI0Ui3O87JD2p+XijU1ZX9NEEwpLxGYgxbPqY0QJXUCm12CqAfH82Kk6 wNVEnhMq6E2uzEtRS8odTl4rOQxunDjaSRDL2mNWQbb8DkO4OZdYyYT6JMtomgQhY61e 6wtw== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUCuDwvcaVcNi6QEs9gHb95ysDDlzYr55rI+gABylgtNyPWlBUIvK2Cs/4tPweRVMHQlw891xro9A==@patchwork.ozlabs.org X-Gm-Message-State: AOJu0YwZwYvgYp5Qb2LnKqrmtplSam9n1ztlj+qGkKOFmOWP/AyZvB7q JRc5bG5lBGzeT36ku0lRk9n6bIHxqITU72NuEMP5MMhAaNLbmZa2 X-Google-Smtp-Source: AGHT+IE4eCqx1uR1Ht3XMnwkT50wHaguzNPUspaXHcEE4N24XIs2nV2Z1MdJU/12j+aknmKIYZYuow== X-Received: by 2002:a2e:9ace:0:b0:2ef:206c:37c4 with SMTP id 38308e7fff4ca-2f3be600e65mr92853271fa.33.1724167929756; Tue, 20 Aug 2024 08:32:09 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:6d12:0:b0:2ee:89a7:12ac with SMTP id 38308e7fff4ca-2f3b37b4705ls5753571fa.1.-pod-prod-06-eu; Tue, 20 Aug 2024 08:32:05 -0700 (PDT) X-Received: by 2002:a05:6512:2c98:b0:533:4191:fa47 with SMTP id 2adb3069b0e04-5334191fc44mr1794786e87.47.1724167925468; Tue, 20 Aug 2024 08:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724167925; cv=none; d=google.com; s=arc-20160816; b=mYV/ymakZIDawGe1/qEDLPY+m1iMb7ER9nQ4Uqckxrc/UgbGYUgj/os2LhZn6/5yk2 Uh4UmpODfHAyzcm1qOzVdp5Ozx2myA+qzJ+IVMRS3Uay6UZcJ2WCwUYxvhp3eeoDBbJA Z0e/VRAc8/erh5BjJ423NkE1FmscbysUWv+PEvRd82sFVG0NfvL2nSqdXoXflhuu4peT 9gXiP26hfrL/mmjjgpx3VIYCb3y5uMEniFdgOdrbwe21tB/MhtpfiHaXWqCeHkV3dwBr wUp8FY2nsqRssbc0kuBohaiNQVGMGN3/9nNQ6+fD8s84exd2qB6RnlnpL3J+CpliER8S CHaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=1WgLU8Yuji+iBuyJG60SSNpP12nQrS0Dmh65dycLzbE=; fh=DRo33q5SoIMoLfqIJ1Aerqx7fRmzmKPQvnXHUEdsx5g=; b=sNKamQ4ewyKTsOqsNrHDRRyBKpdnxBvWxa9NtUeCL4df3egvGmXk0Pj4Q0QKfeGJxT KUE/sy0vUmGlaeCZrfpEII1AXKv57MZau3mDKerbkVbj+2MbT2+9LBCERTar/zU+1ljJ mqi2WZ5SWMiPQYZjyCotXURjBX4z77opjBG/c/0X/R/z+hjLgQ7tRfIAK+PTztmS91o4 IamtAr5Y2ZtfUqfyoTWJW1dm6TBVP9YXQYMU207cAXpVdDFM5WK55l4QJVksgKy0EUqX zQeJevIlx4ztKo5PfXlwoCv1bKixqmagvz3ClSU7KpND5p4NuMJIMBtED9gV+kh76H/T pFwg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=udsSlePA; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [217.72.192.75]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-53332248047si134258e87.2.2024.08.20.08.32.05 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 08:32:05 -0700 (PDT) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) client-ip=217.72.192.75; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N3Kc8-1rysWh2IuQ-00tgY6; Tue, 20 Aug 2024 17:32:01 +0200 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org>, Michael Glembotzki <m.glembo@gmail.com> Subject: [swupdate] [PATCH] script: function name to "postfailure" instead of "failure" Date: Tue, 20 Aug 2024 17:31:59 +0200 Message-Id: <20240820153159.1886501-1-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:e1HP0L5qfAX0r+9Djuw/QcQw9sypxpHvedM/lqqcT3fXiS8bX7E lTopoTqSJKohyAW/2J7xY6sfzostZv1NHCzhEaktFcFCrEkCH9d95fY2mX/Wt1CiOW6hv3J sXVycFtbb11tg+e3yTPy4XDT0Z7miMgjg0GU3aZG2buw2ocdtiHfnTe50T550TBmwfQuMoh eWLKQF8Oxd/GVO9jlhfTA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:DWSNn1DsR1U=;Pv49DrtGkT4KeOycN3mOn/x/vMA DmEpnJid9ZQp7FSAYXS/Ai7iXr4p3R3EVpvgM91ZnxkNpT11qBuVtA8qcGyMcC7LJfaFzH5/z syxT5KB7KRA4wVNJgxTZohtfwxoJtzNx3ds4z+/13mUyfGajaI+11UC2eku10r53UvpNS0G9E 0bI8yAmI4Dts8UQS/RvHqscHSEbbwxcibIST3112/Vlj621HhOdtd8WU1CNhRMrQbxgpxOCC5 wOm7YtAmOkkz67Za4CHv8dpUcnP83KPIur/BBBf+DqtWLCsUR1oC9vq9nfqMzGI1I5K0hYAe/ Bm/lD4It4j5cH0WhUrApvnkEVcFRO0ZyYFQ5SVsO5Xt7ecJ/dCe/yDozaBJeWGf4YCxRnv2vv VaApCLaBcY3/o+ANF/uz/lbPoA1YO0Ju63ZWT1swYMfyehLXWL6IchuIqJtrfH5sqp4PjCsle i3HXEM8wKKFLURurHUtQ3OIjtUW7O08n4gTkwUZQ3qhp5BSrd4ss+gTXqULgnHiQAhs5UAaSB JhYtkoyWfjfQ2L8u2b7e3BEVdLLPIhZWaLOtYE42YMFYL7Eph9mIKLKjVROYEmHqn712xE2Lc ST8R2OigVtKTtzkoNj7bpvy+8sZYwmAFVkFWoT8Zw6D8aq+mm26HCuiGA2wEk97usdn6SHKz0 I/+9zhBLgyH11L+JkvEajO9cGFL85Tp+OfnnnYSAYxz6xX/EtWdCd18Zk03dvchAyn5wOJOfM 0gU5+tZOqbGla+q6GL4nWGW8dZNwnLfkA== X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=udsSlePA; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org 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 |
script: function name to "postfailure" instead of "failure"
|
expand
|
diff --git a/handlers/shell_scripthandler.c b/handlers/shell_scripthandler.c index 5602b98b..abf1a28c 100644 --- a/handlers/shell_scripthandler.c +++ b/handlers/shell_scripthandler.c @@ -64,7 +64,7 @@ static int start_shell_script(struct img_type *img, void *data) fnname="postinst"; break; case POSTFAILURE: - fnname="failure"; + fnname="postfailure"; break; default: /* no error, simply no call */
In case of failure, the scripts receive the funtion name "failure" instead of "postfailure" as for Lua scripts and as set into the documentation. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> Reported-by: Michael Glembotzki <m.glembo@gmail.com> --- handlers/shell_scripthandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1