From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [RFC PATCH v2 0/1] Template system
Date: Mon, 4 Feb 2019 12:37:36 +0100 [thread overview]
Message-ID: <20190204113737.19784-1-claudius.heine.ext@siemens.com> (raw)
From: Claudius Heine <ch@denx.de>
Hi,
here is an alternative implementation of the template system.
Instead of a shell function, here the templates are processed in one
additional task. The interface to this task are two variables
(TEMPLATE_FILES and TEMPLATE_VARS).
The advantage of this additional task compared to the shell function is
that the template variables are not exported, so only this task will be
reexecuted if those are changed. Not other independent shell tasks.
Cheers,
Claudius
Claudius Heine (1):
meta: added do_transform_template task as templating system and switch
meta/classes/base.bbclass | 44 +++++++++++++++++++
meta/classes/dpkg-base.bbclass | 2 +-
.../debian/{changelog => changelog.tmpl} | 2 +-
meta/recipes-bsp/u-boot/files/debian/control | 19 --------
.../u-boot/files/debian/control.tmpl | 19 ++++++++
meta/recipes-bsp/u-boot/u-boot-custom.inc | 12 ++---
.../debian/{changelog => changelog.tmpl} | 2 +-
.../linux-module/files/debian/control | 11 -----
.../linux-module/files/debian/control.tmpl | 11 +++++
meta/recipes-kernel/linux-module/module.inc | 7 ++-
10 files changed, 86 insertions(+), 43 deletions(-)
rename meta/recipes-bsp/u-boot/files/debian/{changelog => changelog.tmpl} (74%)
delete mode 100644 meta/recipes-bsp/u-boot/files/debian/control
create mode 100644 meta/recipes-bsp/u-boot/files/debian/control.tmpl
rename meta/recipes-kernel/linux-module/files/debian/{changelog => changelog.tmpl} (74%)
delete mode 100644 meta/recipes-kernel/linux-module/files/debian/control
create mode 100644 meta/recipes-kernel/linux-module/files/debian/control.tmpl
--
2.20.1
next reply other threads:[~2019-02-04 11:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-04 11:37 claudius.heine.ext [this message]
2019-02-04 11:37 ` [RFC PATCH v2 1/1] meta: added do_transform_template task as templating system and switch claudius.heine.ext
2019-02-04 11:59 ` [RFC PATCH v2 0/1] Template system Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190204113737.19784-1-claudius.heine.ext@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=ch@denx.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox