Message ID | 20230602070009.18039-1-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDD6BWV65QPBBVNG42RQMGQE7ET7UHY@googlegroups.com> 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::23f; helo=mail-lj1-x23f.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbvng42rqmgqe7et7uhy@googlegroups.com; receiver=<UNKNOWN>) 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=20221208 header.b=lZhiVNcG; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QXYlb1937z20Q4 for <incoming@patchwork.ozlabs.org>; Fri, 2 Jun 2023 16:59:39 +1000 (AEST) Received: by mail-lj1-x23f.google.com with SMTP id 38308e7fff4ca-2b1abf3c513sf3303281fa.0 for <incoming@patchwork.ozlabs.org>; Thu, 01 Jun 2023 23:59:38 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1685689175; cv=pass; d=google.com; s=arc-20160816; b=gM2uFKqe4rR+ZdnCLj4Ut+McxN+gzeqBZ6goh5hesQZ9OL4nRlkc5rsbyCPmU64nXN /KIn1Y4ReMh8zbwda51Rd6AAGP1FcPL+TNY2Rpv4QoSGH/pfByfpw7az2CW7Q5cGx4Dm IzTZRq+aFX7UQPOd0A9uVFEcqsj7R5T5XD86jbf/var1QWo831Bixgc3soKIDQAmhG3S MY8TUIFJKzpo4gVXJTq/Iw3tyc8SwKll5LNm5O5m4VtwcnFsx7mtHBDHUOcMUl+pddRg IJLPYGDAF6wd0pzDP31P5etKu4gy70TSLJTaqw/ZG6jO5B3m1fIG1Rm8XpiE8ATbRXCk 4RpA== ARC-Message-Signature: i=3; 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:reply-to:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=QDfZBZVwy3U3TnjKTumnryGDf8/SvdAu8Ej5SF0XRI8=; b=KGgd8zSN2aZwhSQTh3ey1mrROJXCv7JosErbg5QkfLZ/UWt6gZkTxdPTpdQtJ/0j/A gvjZFxXfDPKMZGsGvSzUCONpMx0GwQ87u7IsKc7ZI6oxl4P+kY1fWlHF9nH6wC0hpl8S o81+QALxuP+hfuRGr7QbVLWuE9kbnvB/VjR+YZQyzlvksfvlfuOogZwzYuKRiBLyK0zI zZX96ITAFT6/rZQN+205vc5cmhixYoSm8/KGU3ShCeW1wnuWi68XIs0ZjXtaigb5dhyO ItyaMokpZBSgjSknKYyFLrIQu2R21M1VhEcm8aDiw6DVDOt5TUijlMhi/g2UNPV8aSe6 wu3A== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Z07Qweyu; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1e::61d as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1685689175; x=1688281175; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QDfZBZVwy3U3TnjKTumnryGDf8/SvdAu8Ej5SF0XRI8=; b=lZhiVNcG6l0VJTJOisrP6HT7r8qht6uex/g1hmZYQrKW/WIWMvZpgUjKa79pODhmGM JQcrNP3vb2RnyMTawDonbRe7lL5LqaVeG1jE/T7xJVKWFpmln9lQaHwnJDlKboA4pnr1 ym8lO16UYxANTdF1Av7UynfzLonZO6CbeG1FcFmgo1m95KZl3SUtn80y4c8MNJkArj+1 9v495SHM6uY7s1OEP3yqaSPYEZ7n989F75kG5yks9XXV+9MbOVK4ngxe77P8yEQ2Qq+X sdi3U0/cFJ2ATPkYdQRrq/TMWz6oI2ElFN8DQdBj6EuLiVAHtDXHrycvmVXoWQnc6Hbu 0GhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685689175; x=1688281175; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QDfZBZVwy3U3TnjKTumnryGDf8/SvdAu8Ej5SF0XRI8=; b=WrW2v+NKjABCP+ePoegvwg0g413kxiNCg3bN/BAMTE464h+J/mJai2IU+mQkbt6Wt7 4M9JPWJMUE/4Ied68vo5MirKAy9ZnexFhwFiPqdy4dAIc6zjBbizyPtWZfKtVA/x+nsW b5//NDYQd4qY/yeaazMzdQP6gFQs1WkdsqLnhBoN5OofV3y5ZwBEkjedzS+WAaWuHEsE TlCoEd1sUXVtIlKxXNl8gR1hSGRZZZ4rlvMOhmQDVlNX6zZtr1e7M1zw7C1htukAINLz 1faveSyWidizDVoM76+ILfXjwHpksA7911dNEE9rXnUtkDm75PhJKqKjmABa2oHzE2CO Mb1w== X-Gm-Message-State: AC+VfDwPf6FwCaNCVLfhp3g78WGt9FOjgGM5oGRUNFL4xWakpg7Zswks Q51dTcmjqXrTrKASajPd/3Y= X-Google-Smtp-Source: ACHHUZ7bA5mL/ueRXQnRRjzxAbgwtZNZiPfOOhVSocFPhAMQggANoHFNh/jxhz4kUXR++oiGBCOkTQ== X-Received: by 2002:a2e:86c8:0:b0:2b1:b272:51f5 with SMTP id n8-20020a2e86c8000000b002b1b27251f5mr112206ljj.18.1685689174317; Thu, 01 Jun 2023 23:59:34 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:bea3:0:b0:2b0:3011:17d6 with SMTP id a35-20020a2ebea3000000b002b0301117d6ls21247ljr.0.-pod-prod-09-eu; Thu, 01 Jun 2023 23:59:32 -0700 (PDT) X-Received: by 2002:a2e:804b:0:b0:2ac:7973:6751 with SMTP id p11-20020a2e804b000000b002ac79736751mr983817ljg.32.1685689172776; Thu, 01 Jun 2023 23:59:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685689172; cv=pass; d=google.com; s=arc-20160816; b=pt6oLSTHBpYSO0HAaL5IGfeDNbJTZhlw9hLlf08SyRLjJFMb1/0VwCpkbUQSjbiaIp WiERwX3mAye7q2/cO2dYhTeUocesAoeizGAajRDAaRYNp3f95OW5Pp1NVz/690FpMfvQ +dg+mPbwNWD3pElvdTAkeKI1jTvNaDGr+kqJ2ngZKUU6Pp9aJs+DeM35DUQarobRBRF2 3b4VdqklE++Txv/bEFqqaO149267ZZcxHGs7Lp3KjoOE5OgFptK4R6ONHRDMODuvjEj0 NfjUWNx7YKnzc0CXmIB3US8A9qlHbVRu/Ps6cg3Q+0WyeZo6MvkHcxzPedPoNDo34OX6 qBQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:message-id:date:subject:cc :to:from:dkim-signature; bh=EoVoX6QdhHJvVVlKZI/4GVRRWdjoQh2tTmZl29jt9fU=; b=Spo/b4u2A0uamu9iZ6AtH5ZJx9GkFx/1cX1jx3lWMT1aBPHY26KkTVjjmYvQ4IIbOx wyG5gmEACx0zzcmz84NbDmf/+sA1vFm+ZAvFqXVz+bLWEPASkmtEdsL3SMdppHNXuqVU aE6N5SMTr7BMY1xxfFnk1+y9M5xPSWQoCgU5QBVHcHR8InF2HIEcY2GL/+GkoveN7mxJ uMS1JlUhaevyuji25eqdU8eW6lzDOfCXwUM0gVzjEWe8iq9kOjoKR84LDKvcRZbZ0dpJ pu6hK3sfXgpGyCaC1G0n5WfLO+TPG6HfY4qjJ0b6AVBvx51xXpzJKDF7TSvyZflDs1Yj +hcA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Z07Qweyu; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1e::61d as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on061d.outbound.protection.outlook.com. [2a01:111:f400:fe1e::61d]) by gmr-mx.google.com with ESMTPS id a4-20020a05651c210400b002b1a67eee32si52100ljq.3.2023.06.01.23.59.32 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2023 23:59:32 -0700 (PDT) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1e::61d as permitted sender) client-ip=2a01:111:f400:fe1e::61d; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QQ/jInfs2LEwEsLusaqU4+8ghzlsvoQFeYMh+YU8gYs8hZVm15HZ6XRyEmb2i2LUxUtyZIpx8frwjHPwR6gylKT6pe9+B7buxOrjybCY40fk82k+E+d/d6W9Lo794BQky2TDydmCeeKHGrybDRMTBRlyLAHpBs2uKFgScu5Kj64p/wGAOlZ/aPT5705flb5qkQSQ4JJMXHFwsM4yW8iIFDoNEsTbrS6tIVxtW7UOd5jPFFH3Htcezgy5eaxF6c7pXAoRyxPSItxnjxkWJOAJhAbGz/RMEu2Pe1I1RP3a4bdCynl6nIkxYcEGMiXJADBYWl65F3ADL5nypOXn9KASMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EoVoX6QdhHJvVVlKZI/4GVRRWdjoQh2tTmZl29jt9fU=; b=H2hfRc64Hs9WEYk4dsNhcvqEp0tb1jL6AAeUPmhr+eNQC4c59V4pn06TSfeRIWsJeOdLtyB/Tzq6yjRQpKFvzmjjyrxscLfCaZBqEJlgc/VYFQd+2a1gs2y2gHtfuG3t3oJ41JrqXh340qs8Sv6ARiF/leVB8iJLRbMV/3DounopQ45wMs8FKc9CGPwqfHwuXYfBl5lfREp9Bpy7Uxr5nlY2ke5FDDT6UMzSxcnAbwEdiGpZ5y6KoaaUWIHIZ3M/oz5WPfwJHi1mI+R/5ZIVpt66+gV0Kqg/uo6ioRyQZTkmjcaS/gEVkA3iBHebLI8GRdIDY5O+Q/w7nDQdIw/mkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:333::17) by DB9PR10MB7267.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.23; Fri, 2 Jun 2023 06:59:31 +0000 Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::6bed:3b93:4756:c9f3]) by DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::6bed:3b93:4756:c9f3%6]) with mapi id 15.20.6433.025; Fri, 2 Jun 2023 06:59:30 +0000 From: "'Christian Storm' via swupdate" <swupdate@googlegroups.com> To: swupdate@googlegroups.com Cc: Christian Storm <christian.storm@siemens.com> Subject: [swupdate] [PATCH] progress: Clear source after reported download progress Date: Fri, 2 Jun 2023 09:00:09 +0200 Message-Id: <20230602070009.18039-1-christian.storm@siemens.com> X-Mailer: git-send-email 2.40.1 Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: FR0P281CA0259.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::18) To DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:333::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR10MB5404:EE_|DB9PR10MB7267:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c98a17c-ed8e-4d27-9dc1-08db6336e99f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a/zcLP8HfRQOndgWlHmTfpw8pS88uBycZdExm+pZRkMXnBrtmmGIFv+vlwyg3opnlnlVWoLRG6CahGRI001wFzdB6eLpUMY6qzFXK5TmsC486WzRFbtTMe85ymzt2h5Vxrxy48sG353g9aRb9K/EV2+msina+791yB7VBRfwxyl5KkIUNcL/E7UCNx70Ir+0CBUTFBGygj2sEZe1+dtq0LmtFT6GqG6B/SiatLmLNOShkEAYNLFAjUCE51J+VRJzkkmru3qnPthVzsMOAh626zU5+7EV4pirdv3DrHEVUfoZgbIljvg9idvCsThs2Xbbc8OsS48Hzhx6LmOwUpV6/qslV2ZmjYkc0ncK3DNUECHOEch8cyfqpO0r0EQf+eJ82V9OBGhN8I+6oAJsqhk1lD+VYqvbPLzs79jk9YQRCTTbh9JPuyeB2QeG/Syj8/C68v6CuyMuQIHCPlKUYUkQGhNTNBx6jtip0n9rm0PZ120Z3r3JLjdCcSTAZjYdKuVCCnVy7QDpE1ZQBuynZTqew7SCzndk4s4OCUJ0hy67HrUpAig0O7a5vHATKLJpWB2Y X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(39860400002)(346002)(366004)(376002)(451199021)(6486002)(478600001)(6666004)(83380400001)(186003)(6512007)(36756003)(2616005)(38100700002)(6506007)(86362001)(82960400001)(107886003)(1076003)(316002)(4326008)(41300700001)(66476007)(6916009)(66946007)(66556008)(44832011)(5660300002)(8676002)(8936002)(4744005)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: z2TKcySiwpxu8J2+LcjAjUd8G3Njpd8w9JbAJpmqX2lUO40g1U5wXXkwfn0OIo9vuxEtN7f22wEdGAxLZCUVE1RwaZOoa2KO0/L5e0maSa4/E4A1phheWrAmmCYIH467qSW1jVVE0m1AfQEzHeUx77uWYd3wUkHKJTl3RnmxNmnCqzTT2EpaaVsmhgN/jPng1IkjaZ2tFzjLyRQtw13Mzmr4Aiy7SycAR+tuE5N32iNFUFvOJN9DmPYAYdwWd4A0HUFCwQXVJkns18UptdrhKuFnNEZXycyh9zGeb6eVhlA6lp2+1I1QJUlZkysbR1vg7MKGxNRtglmkRLspbb+F00CGRX0ALMdKlSLwM16y9gHG3/AX4m7iNmVToHLFc4K9H+Usc0O/XI44C2pzrLc+fpmNn0acV1ZujdTYPjNFMGqUzUSDXYiuaHcwm95RODy5J0CuDVl4pa6V0v/LpL0Uc5HpJ18c1XTGvAsY04Vjqp7Na+rxfsyIXfF8YZDLcA4CnLW3pCRcqetvA8d7RTlrzKGUY0ThgA1upPrfXyM3KCjrR3QMUZvrWEzDMGSTD40kpAimD9gigXoYrCkZlZi3x2bgadEp8vZNhvfIvfcn+wp89rIRLghWfoRYK7Mg5kJpN5t6IvDvI8cmpxPRcZG24a3HFIwntEy8Y8eNY+a0lo4TNr+ztJoVBOj1nC0bSHcZSaXiMfOkdjFdJI2rfGVv2aG7xvMEFSneRIX2O9tp6ScohWcdC/3811OhaXNHtTycH+j7Ar0zQzEFVpBo6Q1NT+H8pOq2ikqSvjaRtkqj5HDcLOu0pqDJQ+4mhV98F9GVtOEy6ncuTIxCiyfX2d1ikgUNyyEYDfhpNxPe9KvKTDNHcVQgBO6Uszmr7G0+3NyoU+FKGYT3YaHMNZXaAb937AHrZmHRoSqSyHrSd64pmaxmnZuMb2JoqEyRESXHWj6auSq3HbVJYROwO0C3vRrPpH9nbJegzNEf6IrMxevz1UVq9vGkAgtRjCCqBrJBLlXWSQqM+9qBRsSHtov+r/VcFQUrxKNoBWiQotynorczk+N2tVdnCYeMjj3ErFty8th3k0im8poqZkQMM3d40FwZkqp9BB6gkyikeZYnNwii2AoOmGeNPQvyMahFE14GBrT8GD8L789sB+l1Pi+x4/ZjHDOu5AGXLe5rRNNy7c3jcWGB9/OkHqM/UN02zLlP52eyMdUpviMagNSNAU0ScX4oQRn/xMIgvDuSwgYgp30fVyzJSfjkX3MB/RYPL6/PwDMP0OIZ+ImHXajhP0V9jMBd3ynTMRTPyPWMOZGLHPIJIqFqfAjEz/6gMWKzgasyv5LuW8U9/UlhhuAkxDxPnhTM/u2DQEsHf1cCfGejgh7AZxRGIz/86NfG58A71HuGll/rtFIxCcsvdQ0uDlvh9flkpO0M6hqijPpoGYmi9rRGwl6sMIkQtk56pH+HZRzHI56rz0HmHeGt7WPpnzQqNLoNxT87cuHkQv93UjDokg7OJSam6/3FxErxWWl9UqCw9kwV7wElA4RpHazjDw8QvflSrMFPOM2LGC3cWYHg6RVGi2FyXAzQ/xdM/LSKFFk8ch/RZedohrI7nhUCm8VyE0Rjj+FJhe0M+NlE2EIYiCChErYgYacxNI41UEYePDXKm5dQ/x74eLPzeKN0Gom5Mz+q8Q== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c98a17c-ed8e-4d27-9dc1-08db6336e99f X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2023 06:59:30.4569 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Djab/dGT57ZWXOKLvRz9oWV478op1MPPuimRk2g+iwXMc6r0n85Sg9sPJbxtvQpNkx4sivAkwOTSVDnD4eHjjOXHFEbzGt/qAmnfXyClpnA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB7267 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Z07Qweyu; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1e::61d as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Christian Storm <christian.storm@siemens.com> Reply-To: Christian Storm <christian.storm@siemens.com> 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 |
progress: Clear source after reported download progress
|
expand
|
On 02.06.23 09:00, 'Christian Storm' via swupdate wrote: > With commit 8fccd13 source is passed through on download progress. > But, core/progress_thread.c's static struct swupdate_progress progress > is stateful so source is not reset after download progress reporting. > Hence, clear it thereafter. > > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > core/progress_thread.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/core/progress_thread.c b/core/progress_thread.c > index ef9ccf3d..f579f302 100644 > --- a/core/progress_thread.c > +++ b/core/progress_thread.c > @@ -24,6 +24,7 @@ > > #include "swupdate.h" > #include <handler.h> > +#include "swupdate_status.h" > #include "util.h" > #include "pctl.h" > #include "network_ipc.h" > @@ -120,6 +121,7 @@ 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); > } Applied to -master, thanks ! Best regards, Stefano Babic
diff --git a/core/progress_thread.c b/core/progress_thread.c index ef9ccf3d..f579f302 100644 --- a/core/progress_thread.c +++ b/core/progress_thread.c @@ -24,6 +24,7 @@ #include "swupdate.h" #include <handler.h> +#include "swupdate_status.h" #include "util.h" #include "pctl.h" #include "network_ipc.h" @@ -120,6 +121,7 @@ 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); }
With commit 8fccd13 source is passed through on download progress. But, core/progress_thread.c's static struct swupdate_progress progress is stateful so source is not reset after download progress reporting. Hence, clear it thereafter. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- core/progress_thread.c | 2 ++ 1 file changed, 2 insertions(+)