From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6652594697292218368 X-Received: by 2002:a2e:92cb:: with SMTP id k11-v6mr220559ljh.14.1550143735756; Thu, 14 Feb 2019 03:28:55 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:97d2:: with SMTP id m18-v6ls305372ljj.4.gmail; Thu, 14 Feb 2019 03:28:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IajI3iMeTEYcsNGYTZExnHi7f/lkDYo5jK6s+/9fyz7D8/imouoPTxfE2MjG08VESeEbn/o X-Received: by 2002:a2e:9a59:: with SMTP id k25-v6mr224282ljj.0.1550143735321; Thu, 14 Feb 2019 03:28:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550143735; cv=none; d=google.com; s=arc-20160816; b=DnJ3ElGAxNCSeU5I2jAyuZEPj61xHBRAMYdFDwhnjI7hdWKi1s176jsnRzpwpVA1oi B+UxGqR+BPE2gZbhT7Ig6f7cBHl27IeclgnwSuFICDhUvaRKda2ldm7rq09nozK/4ucU 1IcDxX+AerpaszljtHcpVXFbr2YUtrvHcXxxWLcHtWEf3nKxtKKWXfFH4zSLIc8EWZPj 2u4WREt52jgFQMWoBI3/3NaTfQ4/+5K4KPsG5B6epO++F7kpwYsntK8rx88Y442XswSC HqDlvEPeUrZWG+uwZAYonH0bc0NFHBR3QzrM1NyQnMQJba2UXyEjk1s1B970Ye4NHBfX ei2g== 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=Rlu4UF7u4USMAKaVx7RCzgh54bgN9h44bOuk61ijzzQ=; b=pdjpuIvcXoEedPmkL9xLT19z9JoH4N6iWFTKhIAjxIn6XSaJLjtDqcvDYR12Wd/rYV W2eBjn5ycUvM3RtmnH6iTwLWl89VUyD+DGm5urMp4cvBT9IwgCQdYDjJpq8i24UP5AZS xB0OqokukQh104GhjLK/yrgItm1V2HwtvG7l4RV7S0Q+fAFHqAvm5AJHlwiHq+163F/R 1JtmBaBjN3Gjhf2JfdcR2hS7+eIzewVLwuomF9uiI6FfzZD/fhR4sC+M0eBDDmLiaLYC IYHvfhryFgrdAMBXvLc2bkfC6Y/csarZOrc6VFqHvVKV6kc5AEGYybMvGReMX2wto8il 0uhw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id 81-v6si62733ljc.2.2019.02.14.03.28.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 03:28:55 -0800 (PST) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id x1EBSsfR030055 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Feb 2019 12:28:54 +0100 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.181]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x1EBSsxl011307; Thu, 14 Feb 2019 12:28:54 +0100 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v4 0/1] Template system Date: Thu, 14 Feb 2019 12:28:49 +0100 Message-Id: <20190214112850.12469-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: xLfunWHaq2p5 From: Claudius Heine Hi, apparently the '??=' in the template class prevented the '+=' in the u-boot class to properly extend the TEMPLATE_VARS variable. I now changed that to '?=' and that solved this issue. regards, Claudius Changes from v3: - replaced '??=' with '?=' in template.bbclass Changes from v2: - put subprocess into context manager - added 'gettext-base' isar dependency - remove 'before do_build' from addtask Changes from v1: - fixed spelling mistakes of documentation Claudius Heine (1): meta: added do_transform_template task as templating system and switch doc/technical_overview.md | 25 ++++++++ doc/user_manual.md | 1 + 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 +-- 13 files changed, 130 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