From patchwork Tue Apr 20 19:04:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jonas X-Patchwork-Id: 1468456 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33c; helo=mail-wm1-x33c.google.com; envelope-from=swupdate+bncbcemdfwl6alrbugl7sbqmgqeheeyu5i@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=owK3AH+x; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=vbnngtTJ; dkim-atps=neutral Received: from mail-wm1-x33c.google.com (mail-wm1-x33c.google.com [IPv6:2a00:1450:4864:20::33c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FPtRB4SWCz9tlQ for ; Wed, 21 Apr 2021 05:04:53 +1000 (AEST) Received: by mail-wm1-x33c.google.com with SMTP id o22-20020a1ca5160000b0290126af94672asf5198061wme.2 for ; Tue, 20 Apr 2021 12:04:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618945488; cv=pass; d=google.com; s=arc-20160816; b=tldfYL9FxA9qN1KzqFQ5ENJnJquoZt5q33fFcHeeDR2zbD2YIHrGvE344lcRqollUA 9IMPnGwC1kRKmAd77oWXOprmrVmu4eBpOXah/9hXhT7cORtiW+6lBx/cyyiXi+18q+xu hQKAh/QRfPQXtoiXP83ehno6Zmb0tNI7SZbR8rpv71Fh0Gm4+FTLAMBHhPXvp2zr0vOt ahEDhUog8uSE6Nkqbp9jPrPTcB5mTPzhJZ/uMK53w8fTedhAZV8ybJUPSQFy6AP19Rov hQFzjWpKlijSLAnuhnTaVDou1GKLuaYaOrRVc77ZNh1+6qXSyRyEMxv4TzgqTC3zAwg7 KIkg== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=xvM+KhYeK/f9+u3iJIEckQj1298RUUSFonTKpqtQCmQ=; b=r+WvxJvjep5xbB7lV26LC1H1xrNKl8BVIBRPP0aM1Exh4n6NgMJLWANWuWxu3/Silc 5cUwaZ+cADa0z6u/wNBIlC6qrx3mYIjimhaIQ7IItAHowjd4Xr99odn2LXX2DwZIIYXg KC0HOBxvoV0uQ4Hdt+oSir8Hzx+PF3F6TIhbQBgkjwQydOg5YSdD/xdpFcqyycKitGxi ZvEo792pwmkQHNB9LC7ao9C5+zrAMKgs3N3hybBJ0R7ecSlNWA+yLpmiQzQ0AYV2Z/1I f7OCPI584BDv0u6JckZxfDALE4GghfguZZtG87yURcswouhMajqfpABVtE1Nf+cHbCwt dz6A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pq1S6S5H; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=xvM+KhYeK/f9+u3iJIEckQj1298RUUSFonTKpqtQCmQ=; b=owK3AH+xn1zTJSF5Mwd2TYP6jGvatBdAfxLiz+cU/vKUUCV0x9/ZPTpDXc6Sb2LxlY RSwkMvQd3Wynu/sydSCP0bDJ0D9vISaIJS+ikIEroMNuACCqX07IrltvdIlrO+keRlfy m3olzY4Kh02WyxYFik3z7ZDlUQNwqc0qdVY5oUxobiVHAqm3C6Di5eq5FGl54WLOAl7c mUoTzeiO5SyTqT8MwhDfB1wWmvY4M9iEYkkNQTFS8urRhI15RZaPSJlGEHqECSvVwW5I RdjQziKefA15fObj0ulan93Hp7UYPQCR6AuNuu4YUWzKcOgWeoC78cfRFL8QbkO2GqEs PXbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=xvM+KhYeK/f9+u3iJIEckQj1298RUUSFonTKpqtQCmQ=; b=vbnngtTJ5KZuhG7lmhNRnGXyQfjzeaItCqJh5oQPGwn6xQ73aqew9PG8MA3av/BVpM /7CaKGTRu5oefVw0uWaw/dVWT7kniu6jmNQRkUq+0jft6l5qYvU7frU1Mv5p90pJg2Wr kcK+w5/BsDg7JyOE5i6U/1qbamvSICCGBB8o7keh3Qak9DHFJ3BOpJRxplgWlbB1cR/k 32G13d6v0yclte3sh2b/EZzDnXIA9YH4s/EIDtf42iLiLpYPf4dXzpm/qyMzQ3aBnJ3U C0T4VLUgK6rVTydSrUh2puqu9UckzUDcyhqf2yBxxarEeN0WTmh0Qp9Bqi67VaX5c59e XxmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=xvM+KhYeK/f9+u3iJIEckQj1298RUUSFonTKpqtQCmQ=; b=dFtklmNk1EIe8vWPSSH0jI4+u5gv9XsVpDCOnJDLcQZ+X3YtwmLpnqXaGYUzoliSUj Wy5bbtzbttv+5DUIJDSTHa/GY27TEIgAVmcNw5UWhcQXsk7BHAfOzi9dYDpi2eNNAdJr HggVDuU+jemqbFUR6v7JrbZquwB1Ro1H0e27/QYcIrJhTAPX2QRVkPdI2g65bz+WPbuc 5B4iiOqrJl/E+TxRBYjQJKj68xqkdM47EvwD8WWbgXWNt9IyPOjusOTDU9WivLzuaPIR QIvEkTv3h2j0oHQppwmN+zqdVcGaXlkQO55TSkg7CYCLz4K02GoyThkwZz47RtopMa7/ waGQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533cUhZaQZ3rUQ6S4hB4co139VJbkhID+bQCveBidCry5yJhmtbr 2D7ww5n0sv26tZPhWWdDAG0= X-Google-Smtp-Source: ABdhPJzRpu4ks/xj8o1utQpQx2tB/EpkgennngdXffbCpLYT8+xNubmNwfyeJTPsYDPCHY2n0oG9sw== X-Received: by 2002:a5d:6607:: with SMTP id n7mr23112334wru.146.1618945488607; Tue, 20 Apr 2021 12:04:48 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:4a04:: with SMTP id c4ls2168985wmp.1.gmail; Tue, 20 Apr 2021 12:04:47 -0700 (PDT) X-Received: by 2002:a05:600c:17c3:: with SMTP id y3mr6017228wmo.185.1618945487847; Tue, 20 Apr 2021 12:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618945487; cv=none; d=google.com; s=arc-20160816; b=n4QtdN4lhF3NjV55JfUsKqK1M/unRNOJ+x1WVaLMMdhgB7srbHZ6Dgem6UKfZbuRuq +RaLw8Gu3pW+GX73AI65HOQMNS0Og1tQbnQXt4Nc4e2NVTjyKlACVHOoM3DTyjCLgHOv +M8CnKOHMEkt3Nuqqg2VWvqwMQ0SevQOdBXEECX/x0eLMIE4zNlaCKmYYtxTfDRGkz0y gewkmuvOJmTlU2ntvAF9ntkq/NFXAnobgA/y40xBbpqXEmOBPZpthSk1eDH4//THDfbg PORFUoQVo3/iDN2SSGFyNJvLZpTWh66AVn/tFQt//EE09ISm9hp9XeL2mVENOlI0AobP FtDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=w3HuIi9V5uk6rNG5Y9UMG2er1bx+bsexdEw7EywzKec=; b=Bvca3YtVc8qnDud5SamO5I0f6FqY+UBeeYMPgpCtRyy/JEuU3aaCuS0kO3eGGA4PyN kxHhDPvb1PPJyiKX6DGQ1o2a0L4oqoBnUVErCyxCrAXZCkuCMBy+Pau5bY0EgPR7Opma QXl+/586E1O0Z/GH/wlAC9N0ods8wFohZMPmHIY8p724y40LW4DESWrAKlKkc3DlpixA /hhoLP4PMAPxiOqkapfe1SjYeLkTa3I6OVTB8lO5Inmc2MvAGjWwKCuX/9Ko9vxbocdD g5P2mU70C1BezKsx+K0NyvzSqyQ1T/Ww8jf4kyL2HpJcFTT7eJPCnLB8axripZ5SPZQX ejjg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pq1S6S5H; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com. [2a00:1450:4864:20::633]) by gmr-mx.google.com with ESMTPS id s141si954880wme.2.2021.04.20.12.04.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Apr 2021 12:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) client-ip=2a00:1450:4864:20::633; Received: by mail-ej1-x633.google.com with SMTP id w3so59918858ejc.4 for ; Tue, 20 Apr 2021 12:04:47 -0700 (PDT) X-Received: by 2002:a17:906:37d7:: with SMTP id o23mr28835301ejc.202.1618945487053; Tue, 20 Apr 2021 12:04:47 -0700 (PDT) Received: from gigabyte.fritz.box (p200300cfaf069f0010af9cf75c67f3ee.dip0.t-ipconnect.de. [2003:cf:af06:9f00:10af:9cf7:5c67:f3ee]) by smtp.gmail.com with ESMTPSA id u26sm7212111edq.38.2021.04.20.12.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 12:04:46 -0700 (PDT) From: Mark Jonas To: swupdate@googlegroups.com, sbabic@denx.de, christian.storm@siemens.com, adrian.freihofer@siemens.com Cc: Mark Jonas Subject: [swupdate][PATCH 2/4] Apply GPL-2.0-only REUSE header to root folder Date: Tue, 20 Apr 2021 21:04:38 +0200 Message-Id: <20210420190440.20328-3-toertel@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210420190440.20328-1-toertel@gmail.com> References: <20210420190440.20328-1-toertel@gmail.com> MIME-Version: 1.0 X-Original-Sender: toertel@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pq1S6S5H; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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: , Signed-off-by: Mark Jonas --- Kconfig | 4 ++++ Makefile | 4 ++++ Makefile.deps | 4 ++++ Makefile.flags | 6 +++++- Makefile.help | 4 ++++ README.md | 10 ++++++++-- 6 files changed, 29 insertions(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index 75f9eaa..2f0c710 100644 --- a/Kconfig +++ b/Kconfig @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-only + # # For a description of the syntax of this configuration file, # see scripts/kbuild/config-language.txt. diff --git a/Makefile b/Makefile index cc15452..6d52a3a 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-only + VERSION = 2020 PATCHLEVEL = 11 SUBLEVEL = 0 diff --git a/Makefile.deps b/Makefile.deps index 6404ed9..13ff29d 100644 --- a/Makefile.deps +++ b/Makefile.deps @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-only + ifeq ($(HAVE_LUA),) export HAVE_LUA = y endif diff --git a/Makefile.flags b/Makefile.flags index 7003af1..667a1cd 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-only + # ========================================================================== # Build system # ========================================================================== @@ -116,7 +120,7 @@ endif ifeq ($(CONFIG_LUA),y) ifeq ($(CONFIG_HANDLER_IN_LUA),y) ifeq ($(CONFIG_EMBEDDED_LUA_HANDLER),y) -ifneq ($(CONFIG_EMBEDDED_LUA_HANDLER_SOURCE),) +ifneq ($(CONFIG_EMBEDDED_LUA_HANDLER_SOURCE),) LDFLAGS_swupdate += -Wl,--format=binary -Wl,$(CONFIG_EMBEDDED_LUA_HANDLER_SOURCE) -Wl,--format=default KBUILD_CPPFLAGS += -DEMBEDDED_LUA_SRC_START="_binary_$(subst ",,$(subst .,_,$(subst /,_,$(CONFIG_EMBEDDED_LUA_HANDLER_SOURCE))))_start" KBUILD_CPPFLAGS += -DEMBEDDED_LUA_SRC_END="_binary_$(subst ",,$(subst .,_,$(subst /,_,$(CONFIG_EMBEDDED_LUA_HANDLER_SOURCE))))_end" diff --git a/Makefile.help b/Makefile.help index da1896e..43b8f04 100644 --- a/Makefile.help +++ b/Makefile.help @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-only + # ========================================================================== # Build system # ========================================================================== diff --git a/README.md b/README.md index 3abd78c..228bbe9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + +

SWUpdate - Software Update for Embedded Linux Devices @@ -40,7 +46,7 @@ SWUpdate is a framework with a lot of configurable options: - Fail safe and atomic update - Lua interpreter to extend the update rules on your needs - Hardware / Software compatibility. -- Small footprint to generate a rescue system to restore the device. +- Small footprint to generate a rescue system to restore the device. - Cryptographic sign and verification of updates - support for OpenSSL - support for mbedTLS @@ -66,7 +72,7 @@ the [meta-swupdate](https://layers.openembedded.org/layerindex/branch/master/lay It is also integrated in [Buildroot](https://github.com/buildroot/buildroot/blob/master/package/swupdate/swupdate.config). Debian (and Debian-like distributions) has merged a [package](https://packages.debian.org/unstable/swupdate). -Examples using meta-swupdate with evaluation boards (Beaglebone, RPI3) are provided in +Examples using meta-swupdate with evaluation boards (Beaglebone, RPI3) are provided in [meta-swupdate-boards](https://layers.openembedded.org/layerindex/branch/master/layer/meta-swupdate-boards/) layer. ## License