From patchwork Thu Aug 26 11:34:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1521053 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::238; helo=mail-lj1-x238.google.com; envelope-from=swupdate+bncbcxploxj6ikrbrhytweqmgqe2ubugaa@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=20210112 header.b=hswDJ9Tk; dkim-atps=neutral Received: from mail-lj1-x238.google.com (mail-lj1-x238.google.com [IPv6:2a00:1450:4864:20::238]) (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 4GwLNS3kNZz9sWc for ; Thu, 26 Aug 2021 21:34:32 +1000 (AEST) Received: by mail-lj1-x238.google.com with SMTP id v16-20020a2e7a10000000b001ba9e312de6sf1001495ljc.21 for ; Thu, 26 Aug 2021 04:34:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629977669; cv=pass; d=google.com; s=arc-20160816; b=XblL4VFZ6s6aTK+EqtLtv838R4rDuVLTay/6t0memDKfjC3SNzEYDRodXcuqYzvZbF J0hn49WZzdIrpro2+pzj8sbqVEgdTeGRnxOJN/4nrGQo4tnq79kXf8Ub8MqVXFSO1u2d 2Hm97D1ns6zBBVY6KAJnOq6+Bxh4EX2KWH1SDlRvxlX6zoB6O/bUJm58ydUQJxu3X57k i7l+gkCnUXqwbnpjtEupQTWUWBcH0Vw/XuqmzJVVfw9tNoWYAxvVzN1Hl4nP5AoA8Qds i2IxJfz2YYlRoB9kohLGl+pJltXJ8q1Oz/fmyKcUQHY3GW0eTwGnjNYI/lM3sXOI3mW8 gyaA== 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; bh=/Sp+m5+lnh+VoQA4tXnIhW53PHva0h+S0uSCLpoZ9zA=; b=sUDWJ3zeDYJOoOH/nGeZZPXCRL0d8fXjGR6dSkpbJHhN+eV0HHKj2a1vLzi3DJzBzN djyTkFhV2iJYbe9jSMSEW0mUxMy64gaqTvpemlohsMCBHSNI3/qRpVHITzn2imMqjnb7 D+GGv/XEu5Ux66CkI+UMxqbwezkVX/wM5ALJfYOId/2i4R301oArXFdgBz2bF471+bw6 C+LnqXEuW115AEcOCvRPaR4dYUi36TBwFgCBypP8ra81t/hbUaxDvmdUSnNGwEm1lLj1 WtxrEK30JuBLnKcDK9aq3xIFPIlYJDv/0WDG+LatsBYloL4/g/4uYsHus+z+ySdmNnqb ZmfQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=/Sp+m5+lnh+VoQA4tXnIhW53PHva0h+S0uSCLpoZ9zA=; b=hswDJ9TkL2nSFhUVN/xw+5FY9tPtUtnMpp5TjV2iS0XeUE82XMml5npKkj0zvs9xB2 YcVNP53MP413HT+jzaRG4VLprrJ3ClhpU2oFAXvD1Uaznp4l4yYlSf6I55AXyS4eJ1zO MYSErKwdWCrQa5QjuICDkKkCiidl/m2dmTbGBBHvxBbQ2WY2jUh0abM7dSWSmN4WQIXt o6+yxE/eFay9BF0k+Y51hYKUSxYK0GFEUqMyDgp9iWkxM8AfEKqVBAQAAEgTHHGihqcY e00JxInZsOiLWzYyujksJuW6DktRlJqYZqeeV8R5IUeYtoPESYNPRrutUA54q64g26/r M4Hg== 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=/Sp+m5+lnh+VoQA4tXnIhW53PHva0h+S0uSCLpoZ9zA=; b=ZEXCSw8XjC34kVj+ZDbZtuRelyYP+lQiimcFRy8AqDb4zjCZdcNGURuYS5MTrCUP2k U5/W1yXK76HRBS2f1tdgX67AlrSYvjW2Kz3VJ8y9npkjVIPSTV47vTZNphaHc3mFU+xu CCEyZeVN5/vmQbQO4Uv89gDx6xLdYQ3949jDu+upUxoZZ6MVgp6BPl4qz4qsXmMNVPcQ LMaOT5e61+4mnMda9pCui2gjQfG6u2BLHOZCRTss5wuI4954ZY7FMEoa5M5fbx2ghLt+ pcPveAq5QzmPdRcNyPu7mLGPnP+Eyl7ZtDyl5wI9fgxntoeGWvDkMcTP2S42+0kdp5qr rP8A== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM5337btz+ZXFKESKc+RYLCxmarl3hd+rVkOktFMNiU+ZiqabwGeYX nv81U0HoitPbD+8nflzShBs= X-Google-Smtp-Source: ABdhPJxbv8EbmtSIJJJM7pgHaRkeMh49lnlJinZE9fdw4m3KWdxpx5P2Y0Cap5PEHg/Ho8VCOCxmJQ== X-Received: by 2002:a05:6512:4025:: with SMTP id br37mr2320167lfb.23.1629977668997; Thu, 26 Aug 2021 04:34:28 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:651c:503:: with SMTP id o3ls1041006ljp.0.gmail; Thu, 26 Aug 2021 04:34:28 -0700 (PDT) X-Received: by 2002:a2e:86d6:: with SMTP id n22mr2612809ljj.416.1629977668081; Thu, 26 Aug 2021 04:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629977668; cv=none; d=google.com; s=arc-20160816; b=0w5cmE28p3JMpVd/5zJSLOc/9upaSJrnNpQEplS5pdjf/gsPQ3GkD0NGSKwMwVkx2v LA3xP5ePwXICxKsda7KJIj5vZr4BDYL2zo0QOy+oSCb4QbCR91iEC0zX4U7NiZI6TGVh drVYp32zwXm8a9XbHGRPclxFvRH/0XSHIkex2OrPecdAxVgJRATnaibbM6GV7HxNvn9R P4v8VIrLc4vwTC/zngk2SeoPtIHygzuVTtTOKerQnt5AcAna3cKwNG6Hd2UzNQQ7L+NL b68aI2r1kizagSfgTy9vLb5kKoh1Bj5p5umn7Crzbredho8LzYvPzBuyAMUYIYfZutHY 5qXQ== 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; bh=RyUY3GnT3lkmEMBfg4vq7aMOnsQAVmQfzPWCES5D7nk=; b=h93uhkxbWBiNqAKYHqU01/BZnrZ4ndDwqcTmrDntPERosMUyF7/4sxNWRlBSv+RUrH ahUSNTt+KiyVR/yXzWZZfKcZ+bZms0NHIS5CsKvg31npqdZL0Kb9RGPmHoabUDf1Fxzl hbdXXuS6OkdgYl3URLV8JQBQZjQuvXXdzv/96bLZeG6zDRLBq2XVfKeRcTuFGttNfiDJ mSJsvnXNgSKy0Lyur4xF/wLJKmTLC+K2VfmzLHqDS4hJDaO4tAZ/5qGrveSLLd3g6yLg 1WVQbsNAPl7Uxmfc3g+Q5vPKjL4b0/e+hIn3y1jLbR19EfnjEOYlklY+unGVYcoeGo53 unfQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id a9si130535lfj.12.2021.08.26.04.34.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Aug 2021 04:34:28 -0700 (PDT) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GwLNM3cCqz1sHHb; Thu, 26 Aug 2021 13:34:27 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GwLNM3VJQz1r6P8; Thu, 26 Aug 2021 13:34:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ppBSPcLhNkoD; Thu, 26 Aug 2021 13:34:26 +0200 (CEST) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 26 Aug 2021 13:34:26 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 465354540226; Thu, 26 Aug 2021 13:34:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W8lWASRSTaNj; Thu, 26 Aug 2021 13:34:23 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 634CF45425F9; Thu, 26 Aug 2021 13:34:15 +0200 (CEST) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [[meta-swupdate] PATCH 7/9] swupdate-common: enable do_fetch with SWU generation Date: Thu, 26 Aug 2021 13:34:10 +0200 Message-Id: <20210826113412.327976-8-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210826113412.327976-1-sbabic@denx.de> References: <20210826113412.327976-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de 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: , The metafile sw-description must be provided to generate a SWU, and this is done via SRC_URI. Be sure then that do_fetch is executed by deleting the noexec flag. Signed-off-by: Stefano Babic --- classes/swupdate-common.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/swupdate-common.bbclass b/classes/swupdate-common.bbclass index 59c186e..99b683a 100644 --- a/classes/swupdate-common.bbclass +++ b/classes/swupdate-common.bbclass @@ -17,6 +17,8 @@ do_swuimage[stamp-extra-info] = "${MACHINE}" python () { deps = " " + swupdate_getdepends(d) d.appendVarFlag('do_swuimage', 'depends', deps) + d.delVarFlag('do_fetch', 'noexec') + d.delVarFlag('do_unpack', 'noexec') } def swupdate_getdepends(d):