From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6652594697292218368 X-Received: by 2002:a50:90f5:: with SMTP id d50mr4546472eda.9.1549288366498; Mon, 04 Feb 2019 05:52:46 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:454d:: with SMTP id s13ls976834ejq.6.gmail; Mon, 04 Feb 2019 05:52:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IYDVDx/gooYdTc38i1+mY7JpbKSfXd0Q/AjkQhobtnVp9dGKURIXc9B9YQNxXP+79Ov6uhP X-Received: by 2002:a17:906:7853:: with SMTP id p19mr1727490ejm.1.1549288365978; Mon, 04 Feb 2019 05:52:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549288365; cv=none; d=google.com; s=arc-20160816; b=ApQYtIJctIwyK5ScGfjm4MA9gdh47w+cb1fDfYJzpfDRs3vZITVe3u7yW8Ou61ujBR 53pGxA0LWGajQSOZh5xvYrCs9//6zVDr3TNuH2CMweY2G99szHaTOYg3PJVbaFLpwQ8W pyVsjJGVCfupYj8spwIkQllFWgz22/aPYBUcOG/Ej/nPXGnYpZymhbreiIZSwccB4O+O m4pzv4ywUQIPh6MxaSPLJbMAnY+U3d/lpLAgbjysmgigEb4tMfVWBgPifwUu5mNWpicL KaogiqCGDkt/ay0XxUWKsX3Krq/7RuTz37L2drZzcQRTi2jZqOfrRaWOG9TYz/CaHTya l+7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=8r6ZGkHOX7Ga4FV/hawzYKipmQ8kJFx3u8W87qEbEL4=; b=M5icoFw68kCFgeA8NCREemPfS1I4iLt1ZBxBz/4azoacqJnmlhF0ZFaaghZlIF2T4l Q1Az2CY7PSap9OSRlzOg0uJo7DxgEr/Twp/q9BBBtLQGi782WakOQZP7Yye5fwHfwE1G I3Rpn5XfV6fEln7ivvwi0irTaFenyfn3qJ8NICdco5a1IeBr3eOsqYZhMOmjC2zXqI9b b4qmAyYaJQJayl6S+8AlBO3Dsk3uiKyCBukqIQR0qR7ZeYXiGtDZtQElcgVGyWHySoDJ AzZZuB28EC1c5Uatp80ey/rEFFQHPg+gtD/a1Vi29yOX5/rxxEj8lNu3gIerxRilxpEi Jxxg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id l31si885048edb.5.2019.02.04.05.52.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 05:52:45 -0800 (PST) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x14Dqjax030381 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Feb 2019 14:52:45 +0100 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.181]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x14DqiMf028713; Mon, 4 Feb 2019 14:52:44 +0100 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 0/1] Template system Date: Mon, 4 Feb 2019 14:52:40 +0100 Message-Id: <20190204135241.32000-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: rFXL4aLAGytn From: Claudius Heine Hi, since Jan preferred the template task version, I readied it for upstreaming. regards, Claudius Changes from the RFC patch: - added documentation - moved template stuff from base.bbclass to template.bbclass - improved and refactored code (more checks, possibility for relative paths) - some minor changes and cleanup Claudius Heine (1): meta: added do_transform_template task as templating system and switch doc/technical_overview.md | 25 ++++++++ meta/classes/base.bbclass | 1 + meta/classes/dpkg-base.bbclass | 2 +- meta/classes/template.bbclass | 62 +++++++++++++++++++ .../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 +-- 12 files changed, 129 insertions(+), 44 deletions(-) create mode 100644 meta/classes/template.bbclass 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