Message ID | 20240111155246.668425-2-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBAABBU45QCWQMGQEMDICNUQ@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=Ri0JagXe; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::539; helo=mail-ed1-x539.google.com; envelope-from=swupdate+bncbaabbu45qcwqmgqemdicnuq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-ed1-x539.google.com (mail-ed1-x539.google.com [IPv6:2a00:1450:4864:20::539]) (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 4T9q20672Jz1yPt for <incoming@patchwork.ozlabs.org>; Fri, 12 Jan 2024 02:52:56 +1100 (AEDT) Received: by mail-ed1-x539.google.com with SMTP id 4fb4d7f45d1cf-5541f04f1e9sf2923815a12.0 for <incoming@patchwork.ozlabs.org>; Thu, 11 Jan 2024 07:52:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704988373; cv=pass; d=google.com; s=arc-20160816; b=aLS8VyO4bhZ/LatRTMQrqkIbJ14x5FvLZ5gwoYkX16/NoGMMRx6GtswU0oGBJneOYI mLDt6CO0yw5RxXkhpemMHWMNB/4ron+OUFZ0K2xPzGID0mlZ1OGu0b4rGgp+MdkVcV29 +pJhEWr/uZLfeDj6a8690NMN27g5OV5ucxRIYJ1dfNiCr1/7fn2bPVUR2/SMBbRXEZMT CNLOVvPZ1YDSnxdkpLb+JTEg/C5zvumeTw8ctWrXOKpSWxB9EAzMmd2jpe6Nlb0TL46t sCRIdN55hTXZ8DeKHYGU3955F6Tb1Dcr/glFA37uyghjPzzOGWsw2TaU07tvPLGNnyJo B41Q== 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=RuZS042kWbH+jIXBZS9WtSQDSC4IdZqZe2FoWw5Hsew=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=tTE/ZxEihA0mejxWLKWZ2118iC6P9A+/DXdYU1f31x43iyqT5qamy5EI5UXVeFvd5j YXzvs2Ot8Yk8ESpm1WSgv602l53pMRqvq55XGvoQSHlVj/sS8oo6CvgHIv+eWCzrOMQ0 BU3dDELhn1A30hhWnt8qedOvbuiZ3D/sAm7kO5Ya3/mE4P2RRAA/s/h9tjOmpFIfskea zS9zFUjQrmlYkIifZqy5Zy+6sB0FZ/bx84H7O5DnQ8sydX+ihdc97M/PJR5qdATyEnUC ozBEZCFnJChqilMFet1AScbeKRBd8JMeNCEO9BxR7xQ9TqrHK4Wh+KmxrTcnM/Gc8njn xC0Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; 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=1704988373; x=1705593173; 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=RuZS042kWbH+jIXBZS9WtSQDSC4IdZqZe2FoWw5Hsew=; b=Ri0JagXeq2nuOnwTb9Lbm9iIYe7wA6PFvczsQbyRz+63/cj4f2vZy6AyLFb2iP/h+k 6q32Yi/TJCcpuMFM/hucql4QfszEAgROfVOBW1O+XX5vTZWO/p+Ctytf7eX2UxbZdfX8 21syvjem4saz8SOJtBnMbCwC9K7Q7yiBG0C1ii/B9KX6IRetOBn5voJ8UOCIrKGAfABp r+jSZmFCy7Myzvo44PWFE/U/AQQhqkfkvtwhKOEMTejLF316pWEvLQxChRVLyyx9k7L4 SHk7Jtl2Or25L0xv8jTxwhgx1wo2lArfTZ2cIq4y1r70W2E42Ixw4BJgJZRLh5XRgbJM pUuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704988373; x=1705593173; 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=RuZS042kWbH+jIXBZS9WtSQDSC4IdZqZe2FoWw5Hsew=; b=a8TUinPy5VwEviumKPU+YVzDIbswEVKdDHYYElXnD0v8fZ4uVGp2R9fAqp+Zg5asVO Jv9eURKC8P+0VXPyq2RzFJLjh8558QmRX/BE30FPsLEJYGb+c4dMaNp9ajeIIN8oRz3+ f6NExcUOXIYAGhiZYj9rq9b8vDJDLVbudNZlDi8p2SH0y7PStIvYZp0WuBi/2UEuJGge G8uitss51s9ACSAOKDE2WBnZVZWCE6agE0a3LIb5+aUjQcCKoiEZG7Parm3pZQlFsRrM nE2V7c9TojiVauMQKJeWADga0yovfYSW3i4cezbDRVDc3V4Dx1mWiStfri927iuvy4qW jP+w== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YxUpVlrfLcpPE7Ucq9JLpO55wkq9pi1/fCkQ1NqTm21rakUd1Os cdgeafkQfB/Qop503Q4kMWY= X-Google-Smtp-Source: AGHT+IEgADBvqc+zlVChc+LVM3gorpYLl+dL5F5W6jgiWY0HHuLs+JCjmDFWZCXejk60MIEFPzk/Og== X-Received: by 2002:a05:6402:2205:b0:555:363c:d918 with SMTP id cq5-20020a056402220500b00555363cd918mr747918edb.25.1704988372329; Thu, 11 Jan 2024 07:52:52 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:35d5:b0:557:3d34:7bb5 with SMTP id z21-20020a05640235d500b005573d347bb5ls1510113edc.2.-pod-prod-06-eu; Thu, 11 Jan 2024 07:52:50 -0800 (PST) X-Received: by 2002:aa7:da12:0:b0:550:5173:22f0 with SMTP id r18-20020aa7da12000000b00550517322f0mr714177eds.46.1704988370596; Thu, 11 Jan 2024 07:52:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704988370; cv=none; d=google.com; s=arc-20160816; b=LT6VQnM8OhW9nk1qkwOWMrrbpQezW21l9uhlx/pRTU4YuumL/3MADmv0mWZfYQFAR8 QEW9FiD1kCOp9UJQB8fovB2tysjSjsrUCLDZnW5Joe06Ze2SiRs51JYArA0HzoIcG6ae Pm88Opfvvj8t3JOL6Ed8JmxTeNUF+xxfPh2Ggi83AWU9dvq/ac4Z7dkFzP2JFPbcwPrR Uaydlsm94FWz1/7QvolJ/clTn96u6fwSm17EYqjtD5rOxNpZDd9UcbGhSEOMkWSdpPhM RJr6FWpn1/t6KgXIQC7V02idZ1TsxxSb7/7qif0q12luQiYpVz8nRDtjOQSTOfdIwXcd 52xw== 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=d9Oh4vEGGOa1w9W90jBT2bQAVDJiDoMkMN6LGgsgCvxMQYjXPTcaKz8ALI51RQ18Nh KhYSduL4R8P9j3WhnoiPAT/c0365tH27ucBhb5sCfuRIZBBUe1bzZw369wyDRXjBeaYV k4QWdHycCmpndSLeVGZD4LfiVV23uZUUVwChs9j1Q3YYwlyp8xnKPiNd0mw4FFw5MfRw Uk7b4xK2aAs3ems4KZ3uODV6NSE1BuRFraczgQ4DpgMAZJ5RSBzFhKsTgrI1o109roCA P2wK7wBQ3c1cQmRKv4S4Y+W5uQKHBlaPB3zSMHZoIT4G7VawsbOKZHlJxZDpR0SBSmpC Jp4Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; 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 g9-20020a0564021ec900b00557c6ad2f75si34535edg.5.2024.01.11.07.52.50 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 07:52:50 -0800 (PST) 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; Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1Mn2eH-1qi3B01jCJ-00kApz; Thu, 11 Jan 2024 16:52:49 +0100 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH V2 1/2] Revert "progress: Clear source after reported download progress" Date: Thu, 11 Jan 2024 16:52:45 +0100 Message-Id: <20240111155246.668425-2-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240111155246.668425-1-stefano.babic@swupdate.org> References: <20240111155246.668425-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:5wvLNRFZAIqOneYvKidDit3j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ez1yQcpWC/AorXIKNmSoF5a+bpGuuFyiDLm0WFcyhJixiK043uHJigi5Ws9I5EClHzZn7He DOr+DOBbT2fM9hQ== 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 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 |
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(-)