Message ID | 20211209010706.724618-1-dominique.martinet@atmark-techno.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCWIVBV7SUGRBQFNYWGQMGQELHF4DIA@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=Y+KJ2UM1; dkim-atps=neutral Authentication-Results: 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+bncbcwivbv7sugrbqfnywgqmgqelhf4dia@googlegroups.com; receiver=<UNKNOWN>) 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J8bVC1ycnz9sRK for <incoming@patchwork.ozlabs.org>; Thu, 9 Dec 2021 12:07:14 +1100 (AEDT) Received: by mail-qv1-xf37.google.com with SMTP id j9-20020a05621419c900b003b815c01a54sf6402642qvc.10 for <incoming@patchwork.ozlabs.org>; Wed, 08 Dec 2021 17:07:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1639012032; cv=pass; d=google.com; s=arc-20160816; b=mloPYj51iHMqKsJ9kxh/x63U+q0XYJN4/yxkMF/NnP6vHmVxyPjfQReZMAA/ll7ju1 HvEIMm6RR+NMFyxBut9IBsLOo+S4+QyApfocFJUga/GRciUSOfqNa4EIrPFO0XZDkIrk cwUzyFBdLZ2Saz8RbFKBcrj3pymzQPIlRtxgf+wDzGyX0dvAfBkJGSpl3/6d+fWW9H3+ Uh0Fvei29/6nyUnIFWnbdTerCoXuI3VIZBNXqJ06VjzGwhVzt70WKbxgFIIu+qVuxov8 oDdGFhIyk3nw9fNhGpn8C8q/1WtYRx9hhEDLEom3aqRwuWxNRUpVDn37kx6+EnaAXKK9 hMuQ== 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=A0ogDppU8p/4ZF579ozhnqa8SRf0ReLtPAH3CX6/GLA=; b=UJy0PMtHFbfy+1k1xEojMfyhA+aLxO8q8GxrcVe3XO7Eig4hSHcCIIR0sSFpJyunTS gftXwIEEZ5IiSWyGXMX9LaX4PFPe63Uqjz/LBzzgSK7wmOCxNDRv3vrAnGRG7DcZFl1S gYnhP1IJP9GKP1hW7OH9SBGTMc9R6cfH5Zp39H1lcKyulpIlewcT63OWJMXySCMPb+Ud kKmGIxDUkrIrU5gByexlz2Q4Svnt3sfn/VpaLj/tXE6IaL4VqGaOFiWB+bcBFthBRSpm NNjAc5x4YZ5lXNOKYjl8LhCcreeGEPeWr5f4CS2NES0ImyAAARqXhPrvnAGe1PyChVl6 /qhw== 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=A0ogDppU8p/4ZF579ozhnqa8SRf0ReLtPAH3CX6/GLA=; b=Y+KJ2UM1/Po3Gq54HJgXrcWwx39iCV7+hI9+DWVX3mAk61lhdmJHn0HLXYHenMNn7q PQd5lI7DO818meNKc6Tc6URAiMgHTsoPESdnFFXgs6CmBYAJSe+lp43Ke223BIPTHtlI VzHhTVVGD+3abdh7SZTK/IZLU90ZnxMmXxvXxogXibKC4mwfUx7/jyEkw1WmA+MM2w8g SM80ZQ1OLsGb3tX1e8XL3sZmYjdlRwcv1GXzAc+JZqZLFsg5mkv1YvBA+Di4VkpwGr+2 XQdJTAlOroBfI2i2nzci7fADSlTDH455Av85GZekOzxcI8kzUWFKBQHpaRHOxTg5exRJ Xxrw== 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=A0ogDppU8p/4ZF579ozhnqa8SRf0ReLtPAH3CX6/GLA=; b=Pw9JUx9DfF/4x7B3mWPvnT28saIIJfrRQSgce7Fbx6AtXppa3EdhEumPi/vaO378TA hkEVFIuz7MIeEIT2df9hQoezMva5eqU6KUMdzpNTJHAJ43hbkamzFNVZqrXkTBFgE27l r9eoJCEkKo4aVkQlZ5j2OctQKCKg6NMHAEkxQDPQJmE5ELcVuwrYjLxtm+V5l1w8gSlA EsxHpokmqDrO5F1dt6/VwCsmklazEVTs0jblAjHtS3hBFYDEpWUB4czOFJI8brM2wUQt X5GxrqBctGbbda58LCg1Rs+5nSBH+i3da2pnciyZexSG0+grg24dDRTdkgfOlM7elbc3 aGLA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM53261iODpkaZRP+Xqct6mCyR82YWvJZepaexgGWgaHTri1SnAtR/ rOrAhLQN6C1ZxETum/9vLWs= X-Google-Smtp-Source: ABdhPJwbZTVior3Rczo9Vu+wRzXOr3fBVSHQsAWHIlb29rudnDxDrtkpuL52Ddqo73BO9AD+Y3c4cg== X-Received: by 2002:a0c:e748:: with SMTP id g8mr12281939qvn.128.1639012032163; Wed, 08 Dec 2021 17:07:12 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:620a:1221:: with SMTP id v1ls2813481qkj.10.gmail; Wed, 08 Dec 2021 17:07:11 -0800 (PST) X-Received: by 2002:a37:a145:: with SMTP id k66mr10845367qke.80.1639012031703; Wed, 08 Dec 2021 17:07:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639012031; cv=none; d=google.com; s=arc-20160816; b=x+9SpdcF27qBWY+BQLnLJqSuJR1iTxD87fEoQ4nW0UeU6A0lWOfUuPqPPFs4OTSDMl CXrBsgMSqWwWrzZND++8ZU9JR/jv0iETdpg2dTOdzvkpIn7F2XmbbIijgFsYKh0kjo2w oivJk7J5+cCiLcjsl4y4c+5x8nB0SZ/83HgkKmVIYG0EwyZJ/sQCiV2595FMzpMbrtll kucP9B59p17frtWA7Sk3Pqa0eSLLo46orVR/B1P+aZmbO9rty2edSXlM7LdmULfcnQcs 1GN9kLB/x6tFg4coWJwbtSVbrb3fQvztBUeuTHxrS+dD+o76zZZJn/ofBOpoDlEf29Re Khyw== 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=Vlta2DnpJkx+EegMrEVY1sO+8dGd7n6rFwKwfO82AW4=; b=Fa1B5Oapw1Ui38DxY2CPiH91fnyiyzwbEaG7P/Z1MW7NY1RVVaWDxJeuf3oq/OvhVi 9xwIDGIAAr3phDDued3SEN5Jd69qu4Iz/eaPCvd69/42hG8qwmVwCtMut0hV3WBk8srz cTpRQLychj/hlfCs+njjNUk91t6hRX8TNAENB1amatKbYJWcSkwdalsy3Df6VjIMMjeL QZmHkqOqqnis1VcQbzQ6nnKfDs82qJ4zPi3oFrjUYEjDR/6IY78K/R0sq71yg0h5a7Xc prwkBXqdk8mdxzHjiZAA2FROGji+St+4Glcz/V8CClBWc9/qN8mBUXokFjtOF1EOWfAp QwvA== 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 w22si784970qkp.2.2021.12.08.17.07.11 for <swupdate@googlegroups.com>; Wed, 08 Dec 2021 17:07:11 -0800 (PST) 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 2463720CAE for <swupdate@googlegroups.com>; Thu, 9 Dec 2021 10:07:10 +0900 (JST) Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by gw2.atmark-techno.com (Postfix) with ESMTPS id 1266E20CAE for <swupdate@googlegroups.com>; Thu, 9 Dec 2021 10:07:10 +0900 (JST) Received: by mail-pl1-f198.google.com with SMTP id q13-20020a170902edcd00b00145280d7422so1499262plk.18 for <swupdate@googlegroups.com>; Wed, 08 Dec 2021 17:07:10 -0800 (PST) X-Received: by 2002:a17:902:9888:b0:142:8731:4b55 with SMTP id s8-20020a170902988800b0014287314b55mr63552768plp.51.1639012029145; Wed, 08 Dec 2021 17:07:09 -0800 (PST) X-Received: by 2002:a17:902:9888:b0:142:8731:4b55 with SMTP id s8-20020a170902988800b0014287314b55mr63552743plp.51.1639012028906; Wed, 08 Dec 2021 17:07:08 -0800 (PST) Received: from pc-0115 (178.101.200.35.bc.googleusercontent.com. [35.200.101.178]) by smtp.gmail.com with ESMTPSA id m11sm5555422pfk.27.2021.12.08.17.07.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Dec 2021 17:07:08 -0800 (PST) Received: from martinet by pc-0115 with local (Exim 4.95) (envelope-from <martinet@pc-0115>) id 1mv7tr-0032Vi-IV; Thu, 09 Dec 2021 10:07:07 +0900 From: Dominique Martinet <dominique.martinet@atmark-techno.com> To: swupdate@googlegroups.com Cc: Dominique Martinet <dominique.martinet@atmark-techno.com> Subject: [swupdate] [PATCH v2] swupdate -i: remove cleanup_files call in main() Date: Thu, 9 Dec 2021 10:07:06 +0900 Message-Id: <20211209010706.724618-1-dominique.martinet@atmark-techno.com> X-Mailer: git-send-email 2.33.0 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 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 |
[v2] swupdate -i: remove cleanup_files call in main()
|
expand
|
diff --git a/core/swupdate.c b/core/swupdate.c index d3b8ef30405a..f5f20105ccfe 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -888,7 +888,6 @@ int main(int argc, char **argv) if (opt_i) { result = install_from_file(fname, opt_c); - cleanup_files(&swcfg); } #ifdef CONFIG_SYSTEMD
network_initializer called cleanup_files() before we got here Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com> --- v2: reworded commit message as 7a81a01a ("network_initializer: move cleanup_files before going IDLE") landed first Thinking back I probably should have squashed these two before sending, this whole thread was quite messy, sorry for that... core/swupdate.c | 1 - 1 file changed, 1 deletion(-)