Message ID | 20210909171657.3804360-3-adrian.freihofer@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCX6VENNTAPRBE4D5GEQMGQEGZGOGLA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=TYjhrWk5; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=kF0W2Auo; dkim-atps=neutral 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+bncbcx6venntaprbe4d5geqmgqegzgogla@googlegroups.com; receiver=<UNKNOWN>) 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 4H55KN1LK2z9sjJ for <incoming@patchwork.ozlabs.org>; Fri, 10 Sep 2021 03:17:11 +1000 (AEST) Received: by mail-wm1-x33c.google.com with SMTP id g18-20020a1c4e12000000b002fa970d2d8dsf1006040wmh.0 for <incoming@patchwork.ozlabs.org>; Thu, 09 Sep 2021 10:17:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1631207828; cv=pass; d=google.com; s=arc-20160816; b=NDXOYSXKSqXS9KLNbt21xN9ak80NJT88yPkPwhYmyU8cO90lp4Xi4gghobm5tROL1R RYv0FxMZmRYnLQaEHhZvDN2BA5Va6Wvk/G4UnIj14uMOU9zjTWPmLhsOp6P/dcJ8HVKl qoKkcEnKLbCN2Vr9rwTrzext37wIOqHkhnKGk29O8qlmwwHfF571p0uQN6xx+BRUnbv9 qLLoC13SneKRvuMj3PvmrnGWupgCWScDidRJ159dz+iZq19sg2Og63kJLaq5BCkoy0R2 IAtYra/fv9GCOeWQANOvWxVK4NTCHVIcheACrNqZvVmjEbozfSwgeI46VouZXt2t3eU2 aO/A== 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=eixLxf3U2a32lFjX14hh86OdXrb1T3rkK2ZP6nQJRE0=; b=LrYUFjeu9cIOPhHqlerxLm9Ff07rbgXozkuJYrtSXUZGmn0So76AhmzJcMM3WMTdlA 4e2K5z80KBL09InFntQOwjp+eRUiZ41v912zvijtLSlI0TniQx+6Euj4F3GUCQiHMkDB jYaOf51tvgWdPnfx20jJ+5v8mjPSnPvMVSFrAdfglbLnWS6e2ZJL2J4bqiVkPr9dIf/H d9UGgMid8JeLqKvXKOaeMI6KPBZ5jGPTP9QNOz72ZgppqDpD1Wzn6o9NzkaIIkQjmNWC F3GcDkFmFOMwqD3dQuIwTz4rPc8Qnkea87hjHN9FVcgeQoB7YtSXBRK0adO/4ii21lAR yWbw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pCAgwBEY; spf=pass (google.com: domain of adrian.freihofer@gmail.com designates 2a00:1450:4864:20::62d as permitted sender) smtp.mailfrom=adrian.freihofer@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=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=eixLxf3U2a32lFjX14hh86OdXrb1T3rkK2ZP6nQJRE0=; b=TYjhrWk5XE0tmEobQ5nFhTQlSxznXwzlzFPC//9IMZfbTD+ScOHmNCd2uM4FMzdZzi N7a70+TLGMfh9grbTQcSKQgFgWfKHJ4vOs+yCIpnFwaeEUUjdBuRoriF7Lwl85wTfez8 2wZLL2ryh4uxNYogp7Sjfcg74NAM2IQPMiT01niSqtg+8ese+x1ZOhRRyWYXdbJkbVad dRXSZC1f6FQMUuKIV8I6GOreFw8dHJhYrSQnwMYfQIKE+AL92gAlQwHkBE0IZ+mMMLyY lsitrz4RHpupQWbQgk4sFzFNBk8LjIAq2aF8/vhEj/q8Ql41MO72Xgp7p9vLyVSgYGap GvuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=eixLxf3U2a32lFjX14hh86OdXrb1T3rkK2ZP6nQJRE0=; b=kF0W2Auo9NzgsGpGw8VZUw9fhr8+MTszmcwAvxJ4owS5p+QWyfygbw74zSefaoFjFu mwdHBUK0gwZSZ3OttZyEsVFQwa4zQr3CBghG/S8u6s81fUcA7GPndHRUloUE1cxpzRJB lipf6y2ePKUYb5xPAiJPoEFemFKlqijLEwvkE83rN3fP1xmR7CrPpxSGNv2JVuTa6AHE VoZQRgdtjVcsv/gETn0lHW/8eZTBXBAvOlhE74zU7AGBQ+ON7TrGg9Hkq7PRJELtMXG5 vdlSr1GnH8n6/9MH+IumfOMg2uHf/xtIiqmat3bQKvx44JliPXDmWiC1FzYKYYv5u1OL 4S+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=eixLxf3U2a32lFjX14hh86OdXrb1T3rkK2ZP6nQJRE0=; b=mshl8de09C3Hp4Y9BG09O0qBzyYaLuPZGaaoeYdrlUrOzftx8WxzZNe/CChZdJtt/W ofRo7vUHzaSeesZhRpS/KatQ4Z7wZHt2ls1DBNyMWvW3iDIrPhPr7I8ZfQLCMyVoi7xL KZI16x6Z+EyI8sH9SWjsT8CWkCmLzDhA4fD/PI2Z8PDubW8p/OHHzQ3RDvlc5Vjdwv3x buoustFqHTKSz0+ymdLKljiSk2sVCF7UrjVyNmU19ww0uAurdZaLdnVtXu+fWqWIvSWk cYOrDEkeG9Is7FCddfR8/Ep5R2ehSivZLVf8BWPqoCz+KjUNk5l9KIZnZ18m1+Ma86MW A4rQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531ucbfXik/P70sXF6ModkVbVvkScQbQ10ZigXD8cZgxIdFaaBLK 1Aa06r1cNsWO+EZ8Y1wGkMI= X-Google-Smtp-Source: ABdhPJwmDBdX/ZlxB6PiA97g9ZEdGFvYj3e9+QU/9XD6qW8I3L2wEozhDC2uaPoifVzu65qKrBcNZg== X-Received: by 2002:a1c:234a:: with SMTP id j71mr4165228wmj.11.1631207827878; Thu, 09 Sep 2021 10:17:07 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:a297:: with SMTP id s23ls2926535wra.3.gmail; Thu, 09 Sep 2021 10:17:07 -0700 (PDT) X-Received: by 2002:a5d:5003:: with SMTP id e3mr4772946wrt.118.1631207826995; Thu, 09 Sep 2021 10:17:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631207826; cv=none; d=google.com; s=arc-20160816; b=lON71w29ohZO1j1UhuskY1J7Np0GCrIc+juQI3AYFBIjWB8pQDb7yRx+iY2Qw905l6 pOZyRXeYd0Ee/LU55K/7wBXBVZWma3dRkvGix/AA6MkSH+vfkimfAQQkJQ2hN135jylD 9WJrk3szlVjf7i4WhG3mZSMQa1TMnV/XrSnpN+l5wKP2Oer4Pqyf6Tl1g0TvLi1hI+VS iwDIdy0IbhTmlxwA22CD9lp1qexvcyshmFA8bOH32YDmJRVbOf9i12XxlsA7bO9IhIMz 54w/fTHUab/Np5fZzmD7maNgesi/v778HDTxnVq9uL/TEB5QaZl5D5J1Ct8Ckbe17UHE oEIg== 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=Qo1bSQ7SBEtQy8uraT5tqu9uhPLQGxEKnIcznY0PQFg=; b=La9zIyFK5xQQ/oHC7T7li8bLTKL13NBWbrY338I1GzJDn7KbKA0mljihnCcgvBiluE qzokDHFV4Apa/FlgsYiJpYYHaK81xXkBQ4qI//iOXk4oNtiZf5OD/VRoT+Lj8aCqkRe+ jjZGyda4Dmj6+ZYGKOcHU3HXbP1WynJf/0qoznTx/5YJhwDYv6I6wQqiKoVnCaXsUGqk rK+i3/NxArSsSHrxYv899cAYxKwlIILoEZb5qN8gW1DYnquOovJjHoRRBHCpi4IIIeAc jNSlDcxYULmvzzgg0YEh4uvSOf80RFJO7H8jQMO/8M793P/VMVyQ5E9dyP1dmzreZnIi aSMQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pCAgwBEY; spf=pass (google.com: domain of adrian.freihofer@gmail.com designates 2a00:1450:4864:20::62d as permitted sender) smtp.mailfrom=adrian.freihofer@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com. [2a00:1450:4864:20::62d]) by gmr-mx.google.com with ESMTPS id s80si220167wme.2.2021.09.09.10.17.06 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Sep 2021 10:17:06 -0700 (PDT) Received-SPF: pass (google.com: domain of adrian.freihofer@gmail.com designates 2a00:1450:4864:20::62d as permitted sender) client-ip=2a00:1450:4864:20::62d; Received: by mail-ej1-x62d.google.com with SMTP id bt14so5081523ejb.3 for <swupdate@googlegroups.com>; Thu, 09 Sep 2021 10:17:06 -0700 (PDT) X-Received: by 2002:a17:906:ae0c:: with SMTP id le12mr4534651ejb.169.1631207826606; Thu, 09 Sep 2021 10:17:06 -0700 (PDT) Received: from md2ramxc.lan.ffah.ch ([62.32.0.69]) by smtp.gmail.com with ESMTPSA id ee18sm1344387edb.62.2021.09.09.10.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:17:06 -0700 (PDT) From: Adrian Freihofer <adrian.freihofer@gmail.com> To: swupdate@googlegroups.com Cc: Adrian Freihofer <adrian.freihofer@siemens.com> Subject: [swupdate] [meta-swupdate][PATCH dunfell+ v3 2/2] swupdate-image: use find bitbake variables Date: Thu, 9 Sep 2021 19:16:57 +0200 Message-Id: <20210909171657.3804360-3-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210909171657.3804360-1-adrian.freihofer@siemens.com> References: <20210909171657.3804360-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Original-Sender: adrian.freihofer@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pCAgwBEY; spf=pass (google.com: domain of adrian.freihofer@gmail.com designates 2a00:1450:4864:20::62d as permitted sender) smtp.mailfrom=adrian.freihofer@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 |
swupdate-common: get do_swuimage vardeps
|
expand
|
diff --git a/classes/swupdate-image.bbclass b/classes/swupdate-image.bbclass index 618b438..d405fe1 100644 --- a/classes/swupdate-image.bbclass +++ b/classes/swupdate-image.bbclass @@ -29,6 +29,10 @@ python do_swupdate_copy_swdescription() { bb.fatal("SWUPDATE_IMAGES_FSTYPES[%s] is not set !" % image) } -do_swupdate_copy_swdescription[nostamp] = "1" addtask swupdate_copy_swdescription before do_image_complete after do_unpack addtask swuimage after do_swupdate_copy_swdescription do_image_complete before do_build + +# Read all variables from sw-description file and add them to the vardeps of the do_swuimage task. Bitbake +# cannot know that the do_swuimage task which evaluates the templated sw-description file needs to be executed +# if a variable which is refered by the sw-description file but not by the recipe itself. +do_swuimage[vardeps] ?= "${@swupdate_find_bitbake_variables(d)}"