Message ID | 20240415101906.45782-3-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBCBOLPPCVAMRBH766OYAMGQE72P7NVY@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=e92zza+/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43c; helo=mail-wr1-x43c.google.com; envelope-from=swupdate+bncbcbolppcvamrbh766oyamgqe72p7nvy@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wr1-x43c.google.com (mail-wr1-x43c.google.com [IPv6:2a00:1450:4864:20::43c]) (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 4VJ37C35cZz1yZf for <incoming@patchwork.ozlabs.org>; Mon, 15 Apr 2024 20:19:18 +1000 (AEST) Received: by mail-wr1-x43c.google.com with SMTP id ffacd0b85a97d-343d6732721sf1947300f8f.2 for <incoming@patchwork.ozlabs.org>; Mon, 15 Apr 2024 03:19:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713176352; cv=pass; d=google.com; s=arc-20160816; b=BYpgVyAi0mdUiuf2rz1PzwI/nHpyeZXdRa+VzY9qQtuC7DKd0KBvU3R0c+Acbu9yAl pA6h0GcidpPBrhlpV5cDbESrgyL19QhK8PoPkUfEVYgM0kdl0YswddQu4xhZmRsfrq4l 72YImAKfhE2TZOv2MRIM/ClS67YkCPKdYFtb1vQMegEfpVx/LJlVvV633kbOdKfX3vMH zpgmbhrY8vCdx+nXfHgn9iAecIMgOSvUgrvTuNRy22iu5XgNEUeHxQs/mW79hWsI/7mq 7ic31h/SLkfkEQQf1Vs9+bHhOlC8E3PavnH2U1mLClBrrTYvzYtKZdeT6cVcELXn323P rX6g== 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=5RmI68Q3RSaJsSkXUKTQVa6aeaIQv/+CpRWtOMJkbRM=; fh=AWS+B/XCaLt/4qZxQuw7PZJVUoXKtP9B1GTHnk9T6t4=; b=k//ZNUl7Nt4YDkkJ+ozpeqv+9+oIpGpW3t/6VEtyoJQ3NV25vzM4/XuYkVEb1sjlGg 3tje8uTWKWXdy0lvNTK2KJRXUKUO7X+y3SICVXN6JeWH341wlSp+6kjgOXWKZC2o9pRj o0JDI2gJQwPtMupNXBBaATH3fMqe9Q8xpOwjwkKHqpclIF0RNrwqQSpInz/y/TduEgaM IkGwhzS/VmS+ckDgxc4gRrHGh8y9teM5fs6hQWg7e8tuI+5YGGrtMDMyuqVQ3KHpd8Hw jLRArggh+dqWf1Vjn6N9tErKq+ErqSoZjfrVfIHnwFa6ZkIYGcGnxqeqxBKvQ6RcC2GL 4Ptw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=GHQQ+kOx; 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=1713176352; x=1713781152; 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=5RmI68Q3RSaJsSkXUKTQVa6aeaIQv/+CpRWtOMJkbRM=; b=e92zza+/l3gNCd9RCxeebNbR1OP/Aa0BKrtCkY8HN6eafCm/XM5+CjFsXD/cDCe6+3 7GdBBvXQ/xiTrR9Bfl+RZmUWbk9dqZu56XcKdikrfYXP6dhROnNiDU6Hrvw5LcDCwwlh ZP7EjT3TTUChozLALSQ+Sp0jPGmGAPJHG5MUGMbbn7OpwsZ5pEguZNiVu8HySpx0pcmM RbjW6QAhgKPj4FiHfg5KsBMYYRpUnAInhzUKJs7A1h06/LddlIMhEVi9jyHQ/1mBjhQ3 5xkKv+AVVxN/9hlZL5H8fFchAhNViE5JiE2ZZEqsSpjNTus0waKy+GzWkf+hwIlTREC3 NHGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713176352; x=1713781152; 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=5RmI68Q3RSaJsSkXUKTQVa6aeaIQv/+CpRWtOMJkbRM=; b=Ke+qtjTGdYUHItTQh3w+Y+SvtkJ4jAwLgy9TJDBrifPtWJWyo8eTfgFkzKgdRWGkJ2 4egRR182EgI2C93TQwqsyRJ2R0InonHNS5qiR1MS70J8OShfrDnKlljirr3zDjrSy2Pr cRdM1m+xebbEAuh57jsgeHUD/aqnlIuBkYDhGAIBpzFXzPsQcO5rdSpu4kdstg+J30VP Sj1l2ixNzNABadRdLcgt1QZM1u5A7UQiYH83GCpmiC4T+GTZ+F1oivGpm+1J30ea/6dM gNbZVgnrXqwsNaGIw6n63yxN+aNJJ7vOPAUldN9ZEGxVMqCVPA8AjptCuqssaMfF2K8W SRWA== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWB0pV2h08SVUHDSyV+sf0y0eamSsLLAdcbyuIiJRUKArAAIHdq88+Axn9b6wxThJA+zwa28UAJ2eBrLMd+La+dYGOypaFRWctM4e4ERw== X-Gm-Message-State: AOJu0YyoGx9fCg9hLACrJi4vdS2jo+PfQLQFHYrIvl5Xj5RAA/Gm2zPS oVRb9/L3FyJF3I0IGxMDtCU7I7rvNrDJPJn1iYPXIX4qy15p6bnC X-Google-Smtp-Source: AGHT+IHmizwB8RjKTGPol6IZoRUx70RmIAI4oMtFKqi1bCNB/Dl1b1zw5bUxXCpMdKf7dFBcm0Y6lQ== X-Received: by 2002:a5d:47c2:0:b0:346:958f:5ef4 with SMTP id o2-20020a5d47c2000000b00346958f5ef4mr8717906wrc.56.1713176351621; Mon, 15 Apr 2024 03:19:11 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:4648:0:b0:341:b78e:d240 with SMTP id j8-20020a5d4648000000b00341b78ed240ls1479370wrs.0.-pod-prod-08-eu; Mon, 15 Apr 2024 03:19:09 -0700 (PDT) X-Received: by 2002:a05:6000:1811:b0:341:89da:540c with SMTP id m17-20020a056000181100b0034189da540cmr6998174wrh.26.1713176349475; Mon, 15 Apr 2024 03:19:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713176349; cv=none; d=google.com; s=arc-20160816; b=fm8pSpo+E9QMYlF2ko5zkHVgksDq7SAjqFjuumoOHPr17cSPvjA699bC1Q2YdREYSt H0qxmQx1uymZZU6X6FzXk/xppMjDMRevlJEtW1v9MHM1/jqtdn5l2SzgIPCqfwKbSUBl eZnVUDe+kkctmqK1UU+HF/yYH/PNKIaoV+y7MpEYpr9UVEyn/gwEBsqdw6PrVSZcLUOg YuzSnToUxFuYoDUQRz/446bfviR0tqkVlhtb5/k7x9wXPbbya5/afLF+kWxizG9Rg3Qf 0cUtsLrVHo6hLJNkzs8rtHZ2IgM9t31CsUv2Xi5VHKsjPav1X0nKsrq+zi1GkFTOQiw6 Ig3w== 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:dkim-signature; bh=rjddq2/6N25tfvUeJSVStU+Jpd2BkbshfqAdWLP/tA8=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=vBpqOWy4JtaOr8+rEk3iaDNgkRoLOXk/Jl2KG+l51/vKXFr7cQkJRHcs7tY0nng0vS blCKOo1MeiOd/ul6gLCptUF7RHkU1ICuFzYrWhBwINA4YGmsfPYLZF3EXyXv/ofNGD3U eNnfh8wnL2Hc81vcjYxqlwSXsE4GsjVsr5v9zos9O24fctBMYhZOkkeXtJzDWR/8uFjb YlFNsJZacx+B5L07uqgA0j+H1CGbLFOaUpbpUQTH/49QoWFTgyDTlMZNQ/ttzo9lA1+Q BHpxUVK/6BGB5MRwW3ZiFVa8dtpV5ryql7xg634gJDBuMr6BXh24tol9hjDnmf56zNRQ 6umQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=GHQQ+kOx; 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 q7-20020adff787000000b00343ad9e321asi260535wrp.2.2024.04.15.03.19.09 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 03:19:09 -0700 (PDT) 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; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MsIbU-1slF7X0H2A-00tgqY; Mon, 15 Apr 2024 12:19:09 +0200 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 3/3] swupdate-ipc: extend help for sendtohawkibt command Date: Mon, 15 Apr 2024 12:19:06 +0200 Message-Id: <20240415101906.45782-3-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240415101906.45782-1-stefano.babic@swupdate.org> References: <20240415101906.45782-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:LJfRFzqIuM4R9nFLHvc3+tMiO2ohJuTkz3BuzuSAhHSYKVUdyLO 6b2yAV3YEhly6FOzhjr4CGJ6QpDwpsuse4uW1cJb3elfU7EnfDDT+KmZY7Cx41b7P16BfYY LltbN+4qI0N9/wpMtcaUyZ3vPRIJ3K+nCXcxPNMr+/RQgSY/atAhNgdAJx4kxkCIr5c07fX THuyMboaIYUn4gFbicLgg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:lUGQABbrhjI=;Nc0BRbU9g3Q8F/EfkmBZBdG81Cl CiRvEhF0Q5S+MQRADvioyPVHDfEh3zVosi0dlwA6VhZ5R3jWOPO1w2toQtwZenZtSCFhumkhg 8y52ExzQBiBtPKgNZMI5sW8E2TR7nwzCSIDHFXvkEq+QJn05+/KyNLPKXFgx7zVULVs1fOzqh GD/6MygZswbKgWJCOp7vO0zH73BBPbxxLLb5Efqi5m3Kijjq9eXGT+S5gEx8rbwn+GElmEtLY k3uV+L/AscZFVtVvrCoo0yHzpwQBfY3Btyc4Ke/uZnzHAqUmWAWWtpMpc9k2w9AjqvaQD30z+ L1BM+rt+o2YSttln0FCF+FPyJSHjphSLjGEkYUH+46607cP01oj4OMUh6fbWzoOu7aG/gsGky IabAkYFg14zV6xgAKB80gGQlIpvEjsxa34lrX3aBObgVeJXdNeck+c2jw3BJY6Afl4dvRoMb6 EwGZeexHkVDPf0mUryRr+Zp5xRDP9WkjVfx8lAkGYRH8bVuNKF1XzFw1KDr2QaczWaQRgYL4S kPhlOEh7OlHXf63mX2R/7pIB89z3WLxb+Viqz/NvAYStGC1WhLiqvtpPY/KgeY+8DadLy6xJH /VECsLzyIyB3xwxklTDcePjNLzq00Ff3j+voGmWwajHweRRLap/AiANRhi6LD4l71pJtfb3ur 4NxEOspjSRI+aeuTcMM/DoCBxoMrXYq5JBRwkpGXz3KxMxC5Sdk8EsDmwo1UzBwWUXFssHPPz x7nPSE2Xr5sena/FOfa3kGkbgPyBiQxRBicxL8crRTOzrBz6M4EnC0= X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=GHQQ+kOx; 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 |
[1/3] BUG: hawkbit: check if details are sent via IPC
|
expand
|
diff --git a/tools/swupdate-ipc.c b/tools/swupdate-ipc.c index a2502aa2..0dfaeac5 100644 --- a/tools/swupdate-ipc.c +++ b/tools/swupdate-ipc.c @@ -63,6 +63,13 @@ static void usage_setversion(const char *program) { static void usage_send_to_hawkbit(const char *program) { fprintf(stdout, "\t %s <action id> <status> <finished> " "<execution> <detail 1> <detail 2> ..\n", program); + fprintf(stdout, "\t\t <action -id> : 0 - asks SWUpdate to find the action_id (first env, then network)\n"); + fprintf(stdout, "\t\t > 0 - valid action_id stored by application during update\n"); + fprintf(stdout, "\t\t <status> : a valid state, see values in state.h\n"); + fprintf(stdout, "\t\t <finished> : one of \"success\" \"failure\" \"none\"\n"); + fprintf(stdout, "\t\t <execution> : one of \"closed\",\"proceeding\",\"canceled\", \"scheduled\", \"rejected\", \"resumed\", \"downloaded\", \"download\"\n"); + fprintf(stdout, "\t\t <details> : strings that are passed and stored by Hawkbit server (User information)\n"); + } static void usage_sysrestart(const char *programname)
sendtohawkibt is quite cryptical because it just forwards parameters to the Hawkbit Server. Add explanation in the help about paramneters. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- tools/swupdate-ipc.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.34.1