From patchwork Tue Feb 28 12:47:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1749441 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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+bncbcxploxj6ikrbvpp66pqmgqewh5okwq@googlegroups.com; receiver=) 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=20210112 header.b=k/w3I3BN; dkim-atps=neutral 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PQxwF6NJ9z245k for ; Tue, 28 Feb 2023 23:47:24 +1100 (AEDT) Received: by mail-wm1-x339.google.com with SMTP id e17-20020a05600c219100b003e21fa60ec1sf4216434wme.2 for ; Tue, 28 Feb 2023 04:47:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677588438; cv=pass; d=google.com; s=arc-20160816; b=Hb9QAD3YGvMeenBsMUiTKeXqPTEmEswUuXgJ9bFRzurHrHgIlrf31kX9UDkpgPm6LO Gtup5nTWwOJi4vKeQVBgUvbdJTvL7L3oFAMt8y39+CKraephB0CKQtsQAJHMgP2j0gcA Oaxw3gj/H8B4UbMcJ95/uX6F+FlYF1Xm/bYasWa2vPNTi6Czv5AS8RidlSMSO3Nm8+xT psdchiixxwmAvfWN6lHqsbPveVZeGLL5yUYpZbTPiYVWBdXJEHi75Ll3rVHTTjd7eYhC lymAzpARNtp9Mn2uInyB8Iy8LUYkRZDMMAy6u1qcpzW3Hx4LkcUVxqRCMfJK9RGvLULE driA== 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=mLdEsYaKe1RVAiXWQzZsXjCP3uyarhSwlB5vi+CZN0Y=; b=AL8VF3hiphhQb0Op/t7LbzdDmqjlu0s5yIwHhUA5yJFzYwzLw3HV/Fdxt+ZGcyi2+Q HG6UtKLNYWt2FIywW5ESB3NVKzoZKE5jx+bM6w17/ZdlD8EdikEQD0Ob2egNGtz2LNdR fXlE1ghO4NVLIcMhUwd605BFWWDKRJNgpcQO4n5/c2eOpu8ZRkm0Ndl7WIR5wDjwhaz2 CWUiB3PvC6Rsx2Ur5ORB7FSJUVMS/cirJ0mDkGGvEC2/nENsmTW5AG9L+rDf1QGbJFlG 15/VRZX3RC9DBzeNNM3rnWqsF+HQMWhGrYjh4GF+vxLEiptMZb7XouBaqKiNujZECGTG 527g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1677588438; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=mLdEsYaKe1RVAiXWQzZsXjCP3uyarhSwlB5vi+CZN0Y=; b=k/w3I3BNY8Ys+dPQ/XC+79u9hbgrBooJv/gCdg0+uvhdnommoeWQG3u0PX1u/h0V35 wBEx6MScEJP+ku7qwQjp7VeWTpd1FWT3+VdiUJZ7rG5TPFmqInk7e/incsrIHt/1Tuqi MPv+57CLxElkWeBT5UmqLaLqDYpocsEMNzyabxMJj+J8u8RxjhLj8dF25it8qvyjHcC7 dpdXhqD6OjQvUaW5f6lWrOTPCRVTdnQm4tUfdooI9D7KvXXciIOVIGk5yX4Ln8GFTRC9 tboPsYXLtIQKUKwjOlPCjHCP98b0eaoqSX3y2JoIefnth69VpgiSHlw/8LnJq4a4Zhr5 KpDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677588438; 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:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=mLdEsYaKe1RVAiXWQzZsXjCP3uyarhSwlB5vi+CZN0Y=; b=0VBKCsVmEorwnDDbQQB7AFkG1PkU4UMlrofaXO+FH3t0D5zrLnVoN3VHUpsGZ6XnWb 9AEjizgHRqqeP89lL44qQgQOJnF6OCHXWi1TDmOFAnuYAaarCfaRR4Km+BbWkpHrOhua Z98a78Ns/3X74eqTGLs3Zn/Cp3pu6HeaXzCLsQvJWTlqf20vayn2wHhi8X5Lv/XqvA2h uvT+9Q4tUKP6o7wG/z9DNjMkGCWSGrDoWMABr8ioPcBuew/FuCaYLqUqLPHgCAmqOq8r U19aLEE5QfEicgb5d8CPFcAaNLDjnDuy4dh7q8co6zn6ulQ1cQ6lGOfS00KiC5rWiFdP a9nA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AO0yUKVBJ/LORZGMozyCR5J9y1g+OPfsSMorxNQVtTz/J82hE1LgeZEU flPlziQM8d8Kcqqn64WnjnA= X-Google-Smtp-Source: AK7set8+BwJKNL8XlNKK/fDT9wjcNAoEmkOqShISwYteqOsRiAT/VJYKRGh5wuL3UBrtuPvFo7ITCA== X-Received: by 2002:a05:600c:3110:b0:3eb:122f:f3c0 with SMTP id g16-20020a05600c311000b003eb122ff3c0mr751821wmo.5.1677588437720; Tue, 28 Feb 2023 04:47:17 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:5128:b0:3e2:19b0:7006 with SMTP id o40-20020a05600c512800b003e219b07006ls6348663wms.3.-pod-control-gmail; Tue, 28 Feb 2023 04:47:16 -0800 (PST) X-Received: by 2002:a05:600c:310c:b0:3eb:3e75:5d6e with SMTP id g12-20020a05600c310c00b003eb3e755d6emr2182529wmo.18.1677588436163; Tue, 28 Feb 2023 04:47:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677588436; cv=none; d=google.com; s=arc-20160816; b=e5IO4iWviEeFI841/u0BKw4jM0xm9hqvMq2u0ojPqPnsv7W7FKTM6eTxjxFnSHP1zy w3q1/xflR2OAnoAGNpHoiQG7boOrFBdK8xeji54T/7JT6CeI7JOyibuNoN7lcWithHTw 8pIUVeRR5FGqD0Y7JfKkqoFaIFrIbJxB2+sOr2ncNEGVBVpKF5GR9zGL0PS5+1XclBX+ 30dLtIurEtwkjQBz3lbRrWH2ngMq1jFyN9iVcE/DAbzUCDXeT+HLGR79doglMyhue/vK gclrfuux6Hb8HUJzNoiYSI8hmLaSPn4ARvK8MwkZc/aCpJhfd5oasz3YguCFKnva3Weq jQIg== 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=YESg0dBL+WNJLGyCyjr+0ant5koGhZet5k2bvhQlRNc=; b=bF6MRt85WdyR+bszPsGslRrIh1nxmUqC6KDL2WEpwglhoJrCHpennkAI9a5i243kbS 8WXRcU3o5WpUqHVASKptQ64ZOBOy97MSobX5czca0wVhGxsMxsNK7YI7oWBSuxkNq358 fh4uG6SVSa9b2NDsq+6CEbmfo3CTRHu3nuotsZzp8JTSWR+1sm4xwzE9WCu2DjPgCgEX 8Tygf60tb7M7B2j5DDcIKS9jN3OeDozZpHNgcjbhSxYaX+hmkjEabAswNvKLwwdK1k8T paqDN2HpO/gf73taEQlJIyc6+Ai3ufkGNFA/kSMK/gnzFp4ohDSVPxRcisjwhL9ANLQd t8Aw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id e15-20020adffc4f000000b002c5995fb581si297261wrs.6.2023.02.28.04.47.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2023 04:47:16 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4PQxw35pFxz1sB8D; Tue, 28 Feb 2023 13:47:15 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4PQxw35WByz1qqlR; Tue, 28 Feb 2023 13:47:15 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id 6i3XHC0wWmhZ; Tue, 28 Feb 2023 13:47:15 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 28 Feb 2023 13:47:15 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id D034A4541256; Tue, 28 Feb 2023 13:47:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 8ZRG-FZ0mhNi; Tue, 28 Feb 2023 13:47:12 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 7C03145406F2; Tue, 28 Feb 2023 13:47:12 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH 1/4] Revert "core/stream_interface.c: increment progress step" Date: Tue, 28 Feb 2023 13:47:06 +0100 Message-Id: <20230228124709.2629819-1-sbabic@denx.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de 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: , This reverts commit f23f950b3852af84cfb6057143072a59d714b6f2. commit f23f950 seems to have fixed the wrong count of steps for progress, but it has just increased arbitrary the value. The cause was different, and scripts and partitions are not counted as scripts. Signed-off-by: Stefano Babic --- core/stream_interface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/stream_interface.c b/core/stream_interface.c index 9ba6332..73990cc 100644 --- a/core/stream_interface.c +++ b/core/stream_interface.c @@ -681,7 +681,6 @@ void *network_initializer(void *data) notify(FAILURE, RECOVERY_ERROR, ERRORLEVEL, "Image invalid or corrupted. Not installing ..."); } - swupdate_progress_inc_step("", ""); swupdate_progress_end(inst.last_install); /*