Message ID | 20240111154305.668188-2-stefano.babic@swupdate.org |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBAABBDUZQCWQMGQE3EFGQKA@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=YT29mGKb; 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+bncbaabbduzqcwqmgqe3efgqka@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 4T9pps0Nl2z1yPt for <incoming@patchwork.ozlabs.org>; Fri, 12 Jan 2024 02:43:16 +1100 (AEDT) Received: by mail-lj1-x23f.google.com with SMTP id 38308e7fff4ca-2cccbd5201asf46387691fa.3 for <incoming@patchwork.ozlabs.org>; Thu, 11 Jan 2024 07:43:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704987792; cv=pass; d=google.com; s=arc-20160816; b=rOhYaWASBTSRtQPhoUeJiHo6cC6Lxb8u5RHlNvLG/pla683grDF/cvBPawfEAbFyW9 EUknERn++KRjYTJWuYOz2zR8g92Dp8Zm4mvW34ptD0lh5vSfKcd/1CI+fZLaIBgy+8EV Y89MoZvOHTD6IlCVQYSj6aWGHzwAX434IadI5pb6wyWKxtecoZn0U41o2jjg3a2cmNX/ bNVQtFFPhbjOFCUJ8V/M7z/Eti7n1lqFa90mYASpyrUUhea/TEPEn5zMrjEBNgRMNqDb 4e7c/fcD645RnENenJtLPaOHjhXdLtkGUMPG6MK7Uw9cYldI8JNI8TPlR2Qlaxsfwiz9 oHxg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=zZ1Cx21lD5TNE6n0CKoqbGlXra/t0nS+sUDg0FCOgeA=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=1K+ivDJDGKdjoF8a3HEvc+d41eZtDUFypZv5PHJPOrzfdt03kpXjLai5yP5u+Hisio E5OEcv0YkacCgcrZ/agadPqiPvMWOAp4PVAfjHK4O62kZ0nWkbPEJ88BEzwl4qV0Lrch kxbbny10LWB+j7nqqjKjQDMBX0P0gq0D8xTUZZY+O1jjM8UeHLMcIjPWSOhomnFJVuHV 22exBRqlekDIQTyzWVOV8CLKgsLd6JLbkQvdT9pzEF+ypnpk4CHEHM7qWkPcm1DD9lFy 1U8KR16H9x/TATuCGz4FqISoUjoxTvRuwfnSq7yxqDSTmoDL4J/+DglaCh6D1VMynpwv A3Ag== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.24 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=1704987792; x=1705592592; 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:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=zZ1Cx21lD5TNE6n0CKoqbGlXra/t0nS+sUDg0FCOgeA=; b=YT29mGKbaCl/cLAONXJWh4v19jLOyBG4ZPPY+neKzrUn4WfbLsqiANdm+kLFGJrPRD nXjK6HFVL92xa4bi30m1uO9Sud848RRtt1d5sexP/5wy01BhPQn4j8xcdGuJuaENe6bD 3LoKcLUYl+inx+4KnZe+hjxMELYbXY4ZG5o9uZtVGvy/EkaLUc9Ufu/YhfjlKOgdtd2N 9Ho0O8Y2mKJ4Z0mowl79qlIEnpcPkfUyhQxlZEsJUIo3asG72/lvsZ0p+blAE9us7atn zs1DTg1LqpyqUq3IhZnikW/Qb5csT+abQeWYcso39k4UVP5gf1ySpv4CxoeXaGKKZQkb obeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704987792; x=1705592592; 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:references:in-reply-to:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=zZ1Cx21lD5TNE6n0CKoqbGlXra/t0nS+sUDg0FCOgeA=; b=MwZ6zlNYJt1Kw5B8QvQ0krxSuTqsQxsLhnfIF3GKXgJnxyaRSVBIIwlSPAGEZGpVpD zfpB/Z6mqcVs4JFVqQ9R5bwh2aZlIrwm6+TCXcnbElSuPaD6Vq006d9ZLxvuGCprIwNr KEiL7RPatRA0uyIDg6OYm+2IlxF+qyGTwJ9z0cpjJrxgEVp0+fKjdp9COjbFvR8OMyCn mD/OL9BnJ72b8+0xI2t/ZVOHYJU80mmVE5VDd280tDvMV6nDUcSvLINog4yINuxwUC4R 8mPZY8GrG1P6plRu3gAT6p0Y8xhQZJ9Q8JTd0qy1WNbys9czwwsRs+fpvfxLU7Gcatrh 3XFw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YzLVouNq199N/JZ1mVkFFpevJsq0HTy6H7ZcnAL2poiWGI4BRyx 1/E+mnzUz0LMb74Cteb+ymI= X-Google-Smtp-Source: AGHT+IFcLF6+N4b49gSLsmkBauQ3rw13jsaFX2Pv+3OuRzWM8ees5VmUuOcs8rIwlzsWJKTXtWEaAA== X-Received: by 2002:a2e:97cb:0:b0:2cc:6666:168d with SMTP id m11-20020a2e97cb000000b002cc6666168dmr238900ljj.69.1704987791109; Thu, 11 Jan 2024 07:43:11 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:358a:b0:557:6af4:8a22 with SMTP id y10-20020a056402358a00b005576af48a22ls231850edc.2.-pod-prod-08-eu; Thu, 11 Jan 2024 07:43:09 -0800 (PST) X-Received: by 2002:a05:6402:14cd:b0:557:12f2:f0cb with SMTP id f13-20020a05640214cd00b0055712f2f0cbmr400773edx.46.1704987789222; Thu, 11 Jan 2024 07:43:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704987789; cv=none; d=google.com; s=arc-20160816; b=jt1UAP3wmzB3dmzT+YHCNfgI7w3KvOtr5BMK95MEp7FqdYJ7vN0fML/l2SSDhK1MlL +/0GjO9f1bWpKTiOUMe9ip7RDnrwlsKt/+mTjqneUPC8OO/+gSTgMhaZg/6qYNjLtAv4 zOY2YSJKCkpZZcfqAWg37SLnVOhOBx+11KyUt9ADiIKaxlXdjcK6xmSA5kvnM2+mZ2VX LCNXPZcVOvgklZdWwFVyaG51V+glEN7iVR5z8o6PF2cgtflDYreTncFdR/Anzq6C2dux zYG2ILwhhj4qT0vVhR/w4540NwpovgZrMUe8O2yF44q7ZTpRKJEHND66MXeehdJXj4F/ MQXw== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=1YoVTmUGOd19aqABJ8ChKIPKbwAlcfDvCmmrCnHeCJQ=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=kl/lLVyXDzdc0KDxTv+R3+NWjPYu2BXylwoqunJp+8cekso6ZgzUXGwC/yINBaMO+U a5XfPiqXbSx4sFQ4oULa2f5mmevJcr/iuO75T0V6DRGgPdD9zkgcvOMJWIeMAql2NT3c e8XJYAlNhs8jX/7u8yQFCbRGQdX2WevWQMMGAq4dDxmXRvwf5CwwT617OJ3LPFdH1nQh ZOdaZ4d3tgHcrDf0yM8V0R6nJmfFTjjd6U2wgYLruU6G9RuuwDTzGmZmQAVpFJFK5wp/ CBbnfMLXCLJqfSqt1igQBbvOKV3K9a3Oujtd01DLhkDjlqReQrhAkF4vHZdIDj1MV172 Levg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.24 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.17.24]) by gmr-mx.google.com with ESMTPS id a90-20020a509ee3000000b005533f8f54a2si83744edf.4.2024.01.11.07.43.09 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 07:43:09 -0800 (PST) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.24 as permitted sender) client-ip=212.227.17.24; Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1My3In-1rF5pj2wfP-00zaUb; Thu, 11 Jan 2024 16:43:08 +0100 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 1/2] Revert "progress: Clear source after reported download progress" Date: Thu, 11 Jan 2024 16:43:04 +0100 Message-Id: <20240111154305.668188-2-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240111154305.668188-1-stefano.babic@swupdate.org> References: <20240111154305.668188-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K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UlJHZBX+I+ZJ6Wm9ulajVOfVC8osOCRkqTaXIyLGwJR uXD/a5W/1NcrtqgH5MI/yORV9IhBHJkSrr8WTIOIn+e34MRxYbuQl3ljA+4QClh2guNmvqZhq jxfF8uddegMV4Ow== X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.24 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 |
BUG: post-update command is no longer called
|
expand
|
diff --git a/core/progress_thread.c b/core/progress_thread.c index 90687f21..161d2f61 100644 --- a/core/progress_thread.c +++ b/core/progress_thread.c @@ -24,7 +24,6 @@ #include "swupdate.h" #include <handler.h> -#include "swupdate_status.h" #include "util.h" #include "pctl.h" #include "network_ipc.h" @@ -122,7 +121,6 @@ static void _swupdate_download_update(unsigned int perc, unsigned long long tota pprog->msg.dwl_percent = perc; pprog->msg.dwl_bytes = totalbytes; send_progress_msg(); - pprog->msg.source = SOURCE_UNKNOWN; } pthread_mutex_unlock(&pprog->lock); }
This reverts commit d116870e943de2af088e09ccb8cce71aac7be2eb. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- core/progress_thread.c | 2 -- 1 file changed, 2 deletions(-)