Message ID | 20181003142147.14370-1-code@reto-schneider.ch |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBAABBG5B2POQKGQED43ERIQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::440; helo=mail-wr1-x440.google.com; envelope-from=swupdate+bncbaabbg5b2poqkgqed43eriq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=reto-schneider.ch Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="UHvnWxKI"; dkim-atps=neutral Received: from mail-wr1-x440.google.com (mail-wr1-x440.google.com [IPv6:2a00:1450:4864:20::440]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42QJBQ59YYzB2xN for <incoming@patchwork.ozlabs.org>; Thu, 4 Oct 2018 00:22:22 +1000 (AEST) Received: by mail-wr1-x440.google.com with SMTP id l15-v6sf4719391wrp.8 for <incoming@patchwork.ozlabs.org>; Wed, 03 Oct 2018 07:22:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1538576540; cv=pass; d=google.com; s=arc-20160816; b=LEIoVRFJtyfYGf1vCoNn+x+3z5es9DhGjpAjhpmqOyFg9o0jCR8lFevOWA6VPk4SBv xazJBEoAT98Dlia4rRemN6tYLP9cS4v70N23expomfiBW4JcNtz5i3TFt/DHqSNfzt4L wYOHwr60iHVfZaIKJG6aATLn6/E1c5O6IHHOsIuyl7Lb46SFVgXUTXpC/WbYdVjA5Myw WmN1M2pZtZLKjncHEx+LhG0V4fDjNUJ4AKvilCqKrfwfxMN53qNa81V0zrIam3/u+ON1 W2WYXkmVNWHwGklZpivaxcVziIUF3/9CNqSUDk32pDKza/PxlHWmCOol5A8BVCV8jg0K clig== 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:message-id:date:subject:cc:to:from :mime-version:sender:dkim-signature; bh=dyaPeO0q/W9c7Z3VdxaqsjZ/UYsr8YutuHB7kJtLqhk=; b=S7m5YSXe4dy4+/y/NtIEvgyIqcs1qKlXticZN1LCWcE/M/RcVB/6W9Dz/V+RR87xCC ken2BN8OfMkBFWh1WPQRrqapLIXYjRadVDPzuP+KQ1YEVuUSqkyqc+8kqaFaDU29705q 6tGlpTMbxYGnPVzg+QD2bJZVN2DEN9zXyoC6F9sJiEWALn98LCAf1KhBmeIRAtFQrgzf uusl4l3jxVX7GQNdf2st6yfJcNI7y+uy2O4m+dU7ou2TY5ynkQEIyE3L/LQKtPnT41qI WfZsaSHZaCR5M0jYj4Jaad9fltaQ+uZOXURBCBksrWpWn1VgRo0sj3I4yVNn7O1yL1cl CD4g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) smtp.mailfrom=code@reto-schneider.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=dyaPeO0q/W9c7Z3VdxaqsjZ/UYsr8YutuHB7kJtLqhk=; b=UHvnWxKIs5RDwNnYbhy3ejRb5s8/J9DwU+ZuoKKj879MEaKYxRH6dt0deqK09fqNOu vbPnjjepYLrMUG56fWN0gvGZdbjbicmSEL051WEuMYUxuvfxBdcSGGCJtQvkqeSHq8C4 /7nft/4bFk+H4JeK7NUcTTv2BxkMazeo2v6On30vrTbPX1j+yDE7qin2qTHuV6UENcjs 4no49A93FvVeS0aYQojQlma/k0dCMxMiqyGG07Xv6hFm0/C5jofQVy2T1bctDC/WCxui Pr3u9OFoyB1exTlrLx9cucTM3L4+2BrqWR8PGIfhs0JeekYn7MWXpqLhAzVtLU7KYVLZ ypqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id: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=dyaPeO0q/W9c7Z3VdxaqsjZ/UYsr8YutuHB7kJtLqhk=; b=iuHeMDOiftuzxdXjKrO20Wgdi3udsZHEEO1JuPfWKRsEgUjZ1nXeHAf/LbShI2X5ZL /wqejWOYusd85Zdis8Kf3DQXp+R/3wztDia8+lXgDJKE7OzktjMxGam4ITKly7tVqthm R/IxEpX1MyNPQZZkkavydDZxq/WbexnygrnjKQkqhRJ362EhJs5swJjnaukiegNpE4Kl j9nhgHGOOTy5ZfcbT2IBrGOKB8wqxz4YDSwRnd0o9YOozrZEjvdHZ8rAVu/cs1KXR+WB yhTRoP3N1Q+kRgeJCqfe5AU4EKyNxn/VnFHjE1o3gnSlmiR63UaRe5wBXzrRtCu6pZGD mF+Q== Sender: swupdate@googlegroups.com X-Gm-Message-State: ABuFfoiIRtxPfKnrKPvxIMW/1yU+R7oVqgEBMak+T6Q4dJsGStuuybsW E4iu73XyOg42HakHrCSOui4= X-Google-Smtp-Source: ACcGV6055xT5e/cauAtzPdh1L5R0cxWVneFri4xZzTvXEzJzBmzkDj8RWR5VPyrBLLB5EFlDjEooHw== X-Received: by 2002:adf:b2b0:: with SMTP id g45-v6mr29520wrd.2.1538576540123; Wed, 03 Oct 2018 07:22:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a7b:c1d6:: with SMTP id a22-v6ls289546wmj.1.canary-gmail; Wed, 03 Oct 2018 07:22:19 -0700 (PDT) X-Received: by 2002:a7b:c14e:: with SMTP id z14-v6mr245043wmi.0.1538576539733; Wed, 03 Oct 2018 07:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538576539; cv=none; d=google.com; s=arc-20160816; b=LCkK3i7Ge8pOj8wU+zISy6CKuD0q02ASQ4hq1npUsMDB9Skm8ZMh1NXcRanTI4V7nU 5ePdS45J8gU80V0jkzqkm360692jVJ/csxnzgshjG0+V+ssndyeWpxu+xIryX5qCuJDE ynflDgDd8yWOXsYkJFg46TrNg6KfPm21XrYD3Zy0GlyjcMRN7bOAgDDnFftK3Jm0w1BC IuDYm0rkWOu0XpsXjJ7BZW9iNQqOu8zHbyBprPW2eWkGtLhJjze+RI5EyjnkqRzo+jZk PrcoLzqUG/3NCl2NdcvkXlcqPV0PfFcShQEzNUBdZCXs9kllheQKz4MWhhdslxEbfH+m MOXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from; bh=iM/GUJoTkORFGBYwTWWqJ1l0xe+LyFSzOjKpcGhCIWA=; b=afCNJucrxXFViBSK0CLWwXZ6pIwCXsSaipZ34b9C8anhUcFOfj9MEcIx9QsC6pL01+ GRFXOpLEdbKART9J+YXLWBHFLXsWyhODVOIV1W4IyKx4CvJ3KYL+Xp9WMynVTPxnY7VI PQ6rIolKNtE+PhmKmBH1Kcb+vPkC/3upUaJj+x7yJF4/K8q7sxZcgRZUw4pCu7Tt2H/C YwicUOvpje94Qp4iGJgbl+kdaQa7kCN7uMQn9fo/A68f8weG7r9kLQAz7cYk56O9fuBy FI3r/ltkDyDT9TkOdoSbAFv5Zx8qEcuRNmazVfiJjVVKhX/366g5Wd/vy+hGOKuFaW+e CYAA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) smtp.mailfrom=code@reto-schneider.ch Received: from mxout017.mail.hostpoint.ch (mxout017.mail.hostpoint.ch. [2a00:d70:0:e::317]) by gmr-mx.google.com with ESMTPS id 68-v6si20236wra.5.2018.10.03.07.22.19 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 07:22:19 -0700 (PDT) Received-SPF: pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) client-ip=2a00:d70:0:e::317; Received: from [10.0.2.45] (helo=asmtp012.mail.hostpoint.ch) by mxout017.mail.hostpoint.ch with esmtp (Exim 4.91 (FreeBSD)) (envelope-from <code@reto-schneider.ch>) id 1g7i2d-0006tv-7c for swupdate@googlegroups.com; Wed, 03 Oct 2018 16:22:19 +0200 Received: from [152.96.238.137] (helo=t420.hsr.ch) by asmtp012.mail.hostpoint.ch with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from <code@reto-schneider.ch>) id 1g7i2d-000GN1-4e; Wed, 03 Oct 2018 16:22:19 +0200 X-Authenticated-Sender-Id: reto-schneider@reto-schneider.ch From: Reto Schneider <code@reto-schneider.ch> To: swupdate@googlegroups.com Cc: Reto Schneider <code@reto-schneider.ch> Subject: [swupdate] [PATCH] building-with-yocto.rst: Document BitBake variable expansion Date: Wed, 3 Oct 2018 16:21:47 +0200 Message-Id: <20181003142147.14370-1-code@reto-schneider.ch> X-Mailer: git-send-email 2.11.0 X-Original-Sender: code@reto-schneider.ch X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) smtp.mailfrom=code@reto-schneider.ch 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 |
building-with-yocto.rst: Document BitBake variable expansion
|
expand
|
diff --git a/doc/source/building-with-yocto.rst b/doc/source/building-with-yocto.rst index c5c5711..2064047 100644 --- a/doc/source/building-with-yocto.rst +++ b/doc/source/building-with-yocto.rst @@ -92,6 +92,16 @@ For example, to add sha256 to the standard Yocto core-image-full-cmdline: The name of the file must be the same as in deploy directory. +BitBake variable expansion in sw-description +-------------------------------------------- + +To insert the value of a BitBake variable into the update file, pre- and +postfix the variable name with "@@". +For example, to automatically set the version tag: + +:: + + version = "@@DISTRO_VERSION@@"; Template for recipe using the class -----------------------------------
Signed-off-by: Reto Schneider <code@reto-schneider.ch> --- doc/source/building-with-yocto.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)