From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7057120643105423360 X-Received: by 2002:a05:6512:c16:: with SMTP id z22mr5875657lfu.667.1643113941979; Tue, 25 Jan 2022 04:32:21 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:a783:: with SMTP id c3ls2894198ljf.9.gmail; Tue, 25 Jan 2022 04:32:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLsEl7kZjm9FEwwKlr8zkr7mtbPTkCGM7pUNVX4xmqTbJb6/dsDealPfFX0K9WqMVdyV/J X-Received: by 2002:a05:651c:10d2:: with SMTP id l18mr8662748ljn.39.1643113940776; Tue, 25 Jan 2022 04:32:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643113940; cv=none; d=google.com; s=arc-20160816; b=M5z/zqLc6Hr3UAinhK8mVwNoJvPAYmvojpbsw3KmSGcydiFsPpbvQfK2RP81XB8e/T fpsurPzGj8BhRjBr+JjU7mIVp3mROPDTcIjccazhpjPCuIqTmXKTwkCGbM9tAHqUCgvI DIxl2fT7ciU4SE0KXmA2YT/X0y5vW7NpmKl2SnGSeZHfA/2qEgjsb26EAkxvI/2AIdt+ rZCxIxWNTw+AgQrv/NUaRVS7S4P8jColiZLwgOG4tLbsW7MKpykFSGOmdVHbZanZ4gfB zP275pI+J3GuhBf/vu/a6lNZTssDwtF9xWZ6/DkoaRtyq3NT2D8V59trhkKd8YO1RzED Mqgg== 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=j1yG0tkY6dJDU7h0jxai4YkxbbEJjHaE0Kg7O3g8A0Q=; b=GhnM2uDQDSDc9basZZm7dVgUSxuAtJnY+0MuZ6ry1Bd7VIumCdckuRWhup+dBi9kHy tAH/7wcmXbKF4RTkTEO5SFW++8HcMS/9leO6Q1YYQ6jrrLiNP97JqE1BHDnDkuJIBIyE K1wv/gqWXbP6E0q0Qt2A43mnvLi1K5z9xOlggH6qkldaQOH9neSiuBQ+t6Bh8z9+6wvL 3bl2aXHns6BN6cDzss++AHp8If8W9ljHboVPBvALubsj1kl8PUYLWi6hXIm7BhuKsrP3 ZLZH/fbEgPy97cMa2grmHmFuv35tz82LC1ewTX9UJ0WSNE8reaGyuRBGcrIeCk1Lt4HP gEEA== 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 u2si703827lfq.10.2022.01.25.04.32.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Jan 2022 04:32:20 -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 20PCWJHm019024 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 25 Jan 2022 13:32:19 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v2 0/9] Avoid using shell environment during the build Date: Tue, 25 Jan 2022 13:32:10 +0100 Message-Id: <20220125123219.32395-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: ylL4YHR/qWSe 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 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 (3): template: Copy template attributes on transform dpkg: Use a specific export function in pre-build tasks linux-custom: Move cfg fragments applying to debian/rules meta-isar/recipes-app/hello/hello.bb | 2 +- .../optee-os/optee-os-stm32mp15x_3.11.0.bb | 2 +- .../linux/linux-mainline_5.4.70.bb | 16 +++--- meta/classes/dpkg-base.bbclass | 9 ++++ meta/classes/dpkg.bbclass | 2 +- meta/classes/template.bbclass | 4 +- .../libubootenv/libubootenv_0.3-3.bb | 2 +- .../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 | 52 +++++++++++++++++++ meta/recipes-kernel/linux-module/module.inc | 19 ++----- .../linux/files/debian/isar/configure.tmpl | 19 +++++++ .../linux/files/debian/rules.tmpl | 3 ++ meta/recipes-kernel/linux/linux-custom.inc | 14 ++--- 21 files changed, 125 insertions(+), 114 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