From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7057120643105423360 X-Received: by 2002:a2e:9d88:: with SMTP id c8mr17488455ljj.151.1643734387615; Tue, 01 Feb 2022 08:53:07 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:4e11:: with SMTP id e17ls903935lfr.1.gmail; Tue, 01 Feb 2022 08:53:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqzXCbarBy8uA4C0k/dlqKygGcE+4NOx2g5NFzkMFaglUyAjLWvsta7VJAIchL0eSvMSyQ X-Received: by 2002:a05:6512:3c86:: with SMTP id h6mr19146968lfv.410.1643734386532; Tue, 01 Feb 2022 08:53:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643734386; cv=none; d=google.com; s=arc-20160816; b=Lyz7gPadPIruHMKM2r1/XanhfXeY6VAZAVbxSVd9TEh70nSSei591lxbojeI9xm+hA IIvzI6M08WO+R2Bx6r45nhQLFFIu49Zp6RITCxmqdKyTVIcVMnoOvXuqB0xB55PWT8Cx qEg4KJOvvW9FE+s+YCBOfHzs9z6bMegwADxzaVP6+kRPMxhyy5W/WOj04+hlwYXv0BMm 0I3q+wj0RIZx0eNgi+tstLX11mBfVXRb/9bGW6pIKXlzx9UdCNzp+u9KnHmOP582S7dp /MI9ZML6dTYX/lwisLmX8F6djgZWuyo2rl1s0SqESsh0XbUZLsi8KXqmP+qxg7yIKz4m t16w== 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:to :from; bh=QCxoeEoLYWO9Dh91DzovaviHjRdfRHMDP2s410UMyPs=; b=Z+h843wPtqCP+U82ioThYeHK5hky9NTBMpxEmSAwalw19xeWaS24ErhPINRnDgiRVT GqyuM7UxhpZ9DE4/7nueUxgZm+WxP/HHTV1/C5xOQlZoxEnW29rtJ6PcZjbdZlfRyjv7 wYuBlNJY+jHdCLfondMdUj0+ApkNiAm4i/QPDvwrgCh21tRw1Q4HKJVQN/LI8FGk79MQ GilJAgIJS87rpnw5QYS9J5PfQ/MMdo+uMUmt2zJqDtSm/Pdo/XtHAvAGyrojrHPS2WU0 QMuoBnesIcebvoj8elIE6GthIFduzHWPgK8Oo0CgQR3Tv+SGDjWJMtGV4NdlgfMqXvqC Dr4w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id x16si567492lfr.10.2022.02.01.08.53.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Feb 2022 08:53:06 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 211Gr4qf019494 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Feb 2022 17:53:05 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v3 0/8] Avoid using shell environment during the build Date: Tue, 1 Feb 2022 17:52:56 +0100 Message-Id: <20220201165304.21976-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: KorTr5aVzOOk This patchset is a subseries of 'Sbuild/Schroot migration' patchset including only preparation patches. It doesn't require any changes in host machine configuration for downstreams (meta-iot2050 and xenomai-images were tested) so can be merged independently. In this patchset the main topic is a migration to template files that allows to use cleaner build environment. When this patchset is merged, it will make maintenance of remaining sbuild-related patches easier and will shorten their number. Changes since v2: - Removed `dpkg_build_export` while a way to continue using shell exports for sbuild was found. Changes since v1: - Introduced `dpkg_build_export` function to be used for passing variables to build environment; - Linux kernel framgments handling is done in Debian way. Anton Mikanovich (6): linux-module: Do not use shell environment u-boot: Do not use shell environment trusted-firmware: Do not use shell environment optee-os: Do not use shell environment kselftest: Do not use shell environment linux-mainline: Move cfg fragment test to debian/rules Uladzimir Bely (2): template: Copy template attributes on transform linux-custom: Move cfg fragments applying to debian/rules .../linux/linux-mainline_5.4.70.bb | 16 +++-- meta/classes/template.bbclass | 4 +- .../files/debian/{rules => rules.tmpl} | 4 +- meta/recipes-bsp/optee-os/optee-os-custom.inc | 9 +-- .../files/debian/{rules => rules.tmpl} | 4 +- .../trusted-firmware-a-custom.inc | 9 +-- .../u-boot/files/debian/{rules => rules.tmpl} | 2 +- meta/recipes-bsp/u-boot/u-boot-custom.inc | 9 +-- .../kselftest/files/{rules => rules.tmpl} | 0 meta/recipes-kernel/kselftest/kselftest.inc | 21 +++--- .../linux-module/files/debian/rules | 37 ---------- .../linux-module/files/debian/rules.tmpl | 67 +++++++++++++++++++ meta/recipes-kernel/linux-module/module.inc | 34 +--------- .../linux/files/debian/isar/configure.tmpl | 19 ++++++ .../linux/files/debian/rules.tmpl | 3 + meta/recipes-kernel/linux/linux-custom.inc | 12 +--- 16 files changed, 126 insertions(+), 124 deletions(-) rename meta/recipes-bsp/optee-os/files/debian/{rules => rules.tmpl} (75%) rename meta/recipes-bsp/trusted-firmware-a/files/debian/{rules => rules.tmpl} (77%) rename meta/recipes-bsp/u-boot/files/debian/{rules => rules.tmpl} (94%) rename meta/recipes-kernel/kselftest/files/{rules => rules.tmpl} (100%) delete mode 100755 meta/recipes-kernel/linux-module/files/debian/rules create mode 100755 meta/recipes-kernel/linux-module/files/debian/rules.tmpl create mode 100644 meta/recipes-kernel/linux/files/debian/isar/configure.tmpl -- 2.20.1