From patchwork Wed Jul 31 10:04:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1967001 Return-Path: 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=QO7+Dt4w; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13a; helo=mail-lf1-x13a.google.com; envelope-from=swupdate+bncbd2zdgn6sekrbueyvc2qmgqeos7rwza@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lf1-x13a.google.com (mail-lf1-x13a.google.com [IPv6:2a00:1450:4864:20::13a]) (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 4WYnlY6tf3z1ybV for ; Wed, 31 Jul 2024 20:05:12 +1000 (AEST) Received: by mail-lf1-x13a.google.com with SMTP id 2adb3069b0e04-52fcb0f226bsf6979855e87.0 for ; Wed, 31 Jul 2024 03:05:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1722420306; cv=pass; d=google.com; s=arc-20160816; b=pBPpyvyignbe7UC0MCFTDuw+N/jc+4yTCXeV6ZKUta9vbo3hKSJOIAdw7jKCSktt6M diNoI9rE3rZlXhDVamB/xbZN7PhQjTxyF2/Z69dToyw14SRx0HrlJyuVQ87o8HPf9HW2 5xVtN1yVoGuCxAzDJSLdb3AY4uqTv/NDQgGxQ4z9IGziGS3GIGQ49Nj2B0rAzX/6GCjT yJHO86aOr999Ts38IN2xVCH0r2N2dE1hhgKkld8soZwmG6Eb3JKESfMR6fV7dU7bRNz2 7GWM/H6phDwj6NcsALQh6RH+QEC4KcfZZJ0ammHwZXuiP4urL/U1cg3dgzdvUcUAlpbg pmEQ== 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 :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=aufjZNlHq69Z2ViHHXtqSsYs+eJP0SsQRUw4VeZ72m4=; fh=xuEiSelZZzeSpP0uHLfSYsfxg/sHlufbXM58ww/mnkU=; b=Id1jgu9g2NeMtocuCtfYslF8yuHSuKlLpGYeyCBRU3LobXMdpr1gikJUGkJaIwHqQL zV3OYWElBv0Srg1Wt01cReFQUcT4kdGeLF/dd6VfzEzH4ZtzfeWnSSCkAHZHv2mi+pDi Yt3fINCxViJPnGlHPWLNEd7lJn6RfTxI4SMoa/UN4EVb8v4ftdMn92lAxdMSLLCu3SOa G3Rb7NmkjP8c4U7AgmkoSoknfX8ziySqylnOobFA7usBnhLXJE/0PHm3T7a5UK1Ww1SX 52RA6aDJUinsN4CRpCTtylbb4WM9go7i6Fgec3x52J/pN84srs8/jagTA53Sgp3Cn1kU /QGw==; 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=o7+YAi2i; 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=1722420306; x=1723025106; 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:message-id:date :subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=aufjZNlHq69Z2ViHHXtqSsYs+eJP0SsQRUw4VeZ72m4=; b=QO7+Dt4wS07aia/WmmXML1ZdwOXUFZjkKQXYYdLwgN8jXEkCpdp/R9elG63At+qYk9 5RMVTEllZFEoib8W6ADaCEnlmwWXj+Uz6qSxKfrwtkn73EKSc1+y2nmYdI4ATVLQF0ol PCnjQamsq/fWE17nrBaCc24v71grY+UIpL28WBkhXO4J5xAqZPEi4qev4SiGMspA4svD odUagm9cW8tANY43PO1MWIFo9Z0IL0W8wqHaKCXMejzm5aIo9e7RAcDuxawhh02YUUB9 QMmjeK2aaoA3NYBSaL3NRRJritOSsjrnyCAD1/5f5G9JsGcYj/bxa7wVEVaKNp0qBDDe /ASA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722420306; x=1723025106; 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:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=aufjZNlHq69Z2ViHHXtqSsYs+eJP0SsQRUw4VeZ72m4=; b=paWhkPg8grBnGSHxy8J52DDA0WZJxDgaUF68jlFYbtVhTpeukqHUKejMY+vq+PFCxA m23KJSa+LpvGpF4jCw+mokC0V6lkyF2J/0vE6TJsN7nLQ11eg1EAfaA7amZrqdlgRCYE aUbTue2vH0KJX/NBkcKHuXjFzpoGiKpwdlAnhY0iVqqGTvhKmCriGIXZu9MFCFYOVZ3C OpNWwNAHQj+HGC6cKi3+Cf2F6SzxJD8zDyZqoWnSHU8mSMziNmti2yykqkwVr3Yq83rE i7rfnty0iCbtvOR2aXxDkoDa/i5AdlWhmpciF0g7RRMdWaCOQIge5pxRvHCIINUlabhB xs2Q== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVsHj9ODwbZRXMChAc8qBpWmZgZBy0peNiZ8+EMjmOUwBoGTV9Bb3RfHhUPa4K0cStiJpXMXGem1tvjeW3zLkarN1viBqLLSJK6PAdngA== X-Gm-Message-State: AOJu0YwLxXg+D8yZlyDKhixLLjhrvRQQmmXXzCndVV4Az/EL7qPOb3At 5cJF0uTav4pGDPXjZaIGzj3i1W59pqi4msEWO7cMAGlREkpsPGys X-Google-Smtp-Source: AGHT+IEgdRocvUbVXX4kfGI/etE/KH12Y0dkqIQYoKcZewBMizm0GfSUCJPYF7NDJrn9emkccFpsaw== X-Received: by 2002:a05:6512:3416:b0:52c:1d8a:9716 with SMTP id 2adb3069b0e04-5309b270b3cmr12791913e87.19.1722420305329; Wed, 31 Jul 2024 03:05:05 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:2822:b0:52c:e511:acdf with SMTP id 2adb3069b0e04-52fd3f462a5ls1045139e87.0.-pod-prod-08-eu; Wed, 31 Jul 2024 03:05:02 -0700 (PDT) X-Received: by 2002:ac2:4c96:0:b0:52c:8e00:486a with SMTP id 2adb3069b0e04-5309b2c7552mr9983973e87.55.1722420302136; Wed, 31 Jul 2024 03:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722420302; cv=none; d=google.com; s=arc-20160816; b=i/6+Pm0bzddPgAPMNidAK+OSjvBgOg0mZu1I1tEDyZDlxTYe4kDqEuauAXoTfNgYdy Gv4rGaaOI6ETZDE85bNVtuUvkw1tMs+ePqL+suV9sGfeVic2b8jI3iogcSq20nowLpqJ tIHShBmkDZI/ltorWBen6a/qfhrvYqMYFS4BJAXsJS/xZdOF3q7VegIj+YCMp2g8mNXG GvUuro8uEZxbkS2XlOwx//3YUxuGJnCKoU2CxX+p/2+vvGlEK4DT7WvyTGILg8VHVIzu PJqa0Itpb1iPPJuGroOG6vITn3uWPa9SrRBPRDnXQp8rMF+Z769Fr9OnsHtzXGNmyQY2 VM1g== 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:message-id :date:subject:cc:to:from:dkim-signature; bh=IaCm4KbJQ7j8zlSsrh4N7k00w3OpQ5gzmcCilxm9WtA=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=c5R0Eg5IR1lhTYpCSBU8eb0eoiaPBKeSg8MoZp13xTspECG1Bsr3ABDH5vC3tuD0G5 wO0GhhSNqqxfw6YkNN/wzyraUtD3aH+k1oRDXh4y7/SPgsKI30FXkzuu2YE42CY9xnma LfTJD5aEQGNrMTbZubXz9NOxaro9kwVmJ5YWCL5bHDzzoLEfn/KhidM4kEW92tIO4/40 m1ye5QbcbK69rytbEdTGtC5SFcHZ6Azv0gIxNwmuniV+N9+9tjJ11gVDvDW7HLQkqxxX RkOh55KemyRJ8BkBWy2vf4XsiykCUzfXooh7FNaKMbUVythERDbLEgdNUO1u/j8WP0V/ E3Aw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=o7+YAi2i; 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 2adb3069b0e04-52fd5b8b9f3si289026e87.3.2024.07.31.03.05.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 03:05:01 -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 (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MJEAX-1soHnr2jm7-00KOA1; Wed, 31 Jul 2024 12:05:00 +0200 From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] doc: improvements: Hawkbit Backend Date: Wed, 31 Jul 2024 12:04:58 +0200 Message-Id: <20240731100458.77336-1-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:gYh/D5CC7Xc8Tr5VSuZjIl6xK85FSwZa/5yKELw/cT4iUr61zGh LcDDW4dmnDqmBuZmmlJbealG8gwHriw+u6/523CylQztPbWQGDtc45WQ6rA7sWEhvO5QsDB i9vpzOv4xNb+f7MnEjLyBzjX0b0x7Wun2/bhF5fI+nXZEcJ9fTrnunkx7MaGuUerLsDwJAu negpJCilBQyCDoIXgEuhg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:JvvzrB6Aqhg=;hu4877vZUVWiwnvT/biMugA/Su7 aDTK6ssbyptPyXGDp40xXTkvW23raaLZf1+3xol1WWyIvCMxzKnYEHOfyAN1Jw2KU/rrUjJ5i 6uVTKv4vd0ekT3b6B8JevRztxKupzk3IU4F/rNlv/88DmWsl7xhrl0nyr4GGDgVrnDDcT/7tW Jwp5Pi8V6aw6Ikaezk1imRyKV8x+pXBqa3Hq4wJZj4ka2VEJ2uABAYzhWpHjCNdj3VwH+FkZl MeiA/8UvfhTphnrIA2GwroJsiz8281jdYyGfcKe/HOBahiG6k+b+Vf3yc9VZmn1e8FR74PJVn w/WWjy4hpgzj5oEqXs8pcZqtsl97Boivsa2U1dF93j4Ikefk+DamVXtdNVuoqpIKkIPxSYfCD DUoCG4TYKmWhVIwKUHJToreFciWov2ILcETcLa9BErjxtP32hMaFVkw5T9xt6YckPKiygKuPV ZzLOCBS6vtnil/1uGwlv/L2Y2xbMk1ULmKdeC36bAGNkt+ltIOHEX52ZE6b6sB7tHxiusZnky Is3mqGcco8xmLlIBCpat+sz2Aw4jwVKScyhgwowQ07iwBkmYW9rtgaCFJ8R4NaLNRZzxocKPq n3QsQCxu/Y2pUhj9EsgObl2MF67Ob44A+HAtB3f/A1EmhKra9l/DQrgjqKbvtS1stuf1Quept SSSaeD0hODjkXv4/ZVz3ORBvxid6/CXUzI0dnKAGb7Lrzvb2TfWOMOxkU9qCcwy1/5xISOBTQ DlTdlCYkWun0vlWM9myNLpw5fw1n0iuyw== 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=o7+YAi2i; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.24 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org 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: , Add full delta support for the Hawkbit Backend to Wishlist. Signed-off-by: Stefano Babic --- doc/source/improvement_proposals.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) -- 2.34.1 diff --git a/doc/source/improvement_proposals.rst b/doc/source/improvement_proposals.rst index 29de551e..6ea702be 100644 --- a/doc/source/improvement_proposals.rst +++ b/doc/source/improvement_proposals.rst @@ -303,6 +303,31 @@ changes must be implemented in SWUpdate. * Request for Support : Sponsor * Priority : Low +Backend: hawkBit support for Delta Update +----------------------------------------- + +Delta Update requires two or more files: + +- the SWU +- one file ".zck" for each artifact that is upgraded via delta handler. + +The .zck must be uploaded somewhere and the URL is defined inside sw-description, that +is then signed. This causes a chicken-egg issue, because the buzild cannot be completed +with Hawkbit until the ".zck" files are not uploaded. In fact, Hawkbit assigns to each +Software Module an "id" that is unknow at the moment of the build. + +It is required to implement a mechanism that let suricatta to inform the core about URLs +passed by the Hawkbit server, and they can override the URL set inside sw-description. +This lets the URL for ZCK unknown during the build and it will be detected at runtime. + +The authentication to the Hawkbit Server does not work in case of delta. In fact, authentication +is performed by the backend connector, but the download of .zck files is done by a different +process ("downloader") that don't use the setup froim suricatta. + +* Status: Wait +* Request for Support : Sponsor +* Priority : Medium + Back-end: support for generic down-loader -----------------------------------------