From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7057120643105423360 X-Received: by 2002:a2e:300a:: with SMTP id w10mr295512ljw.483.1644738073657; Sat, 12 Feb 2022 23:41:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:43cc:: with SMTP id u12ls289875lfl.2.gmail; Sat, 12 Feb 2022 23:41:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwawfQ53satBIv5zJ2B5nZq29uk6g74gqg/S5vMXYUHH6hHTAChYs1D6sVZva94fRjgPoFa X-Received: by 2002:a05:6512:e89:: with SMTP id bi9mr3005921lfb.321.1644738072506; Sat, 12 Feb 2022 23:41:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644738072; cv=none; d=google.com; s=arc-20160816; b=D/I5g0AiSiGmrhWv7QglhQ1FT6vUGRvtUeOzi5TQVrQtv2O3HcS49X+Zrp/DGRSa8Z 89si6crBGWr6q4oYiKpJmoEoJdiOuKbkN7IBGUxO/V69Z20L4tqNVQdp5Lc18NHUy88e m1YmfRDUowE5j3ia3biMm0Wsl1m6rk3SazF2dhvl+4mu0JCVqvGejCJfAJ2ySLxjpyvf OvOkJSIWHLNFBK35xap1S5CMqXZV6ynRn8mTnXjBwTrV5RD6TKkm5X7cjStQ1etWXGkJ 4vfVkwEBrdRcGfKyfgkiDWDjg+c0wt8dgucMQOmhRV7SBbB3Cv0iSclQxcabJjBAqaRo ShhQ== 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=WlQAt+q5GAepUkZMDVUVSgzftcn2aGWFzLXHz6374kE=; b=ZVQAkbMVBuf8Ys3FWx7LJJOEIf4ZDgKAJwPJHYG3th0AelNTxqWuCZBUqYFjH4SK9L 1f1OCXG7/II83e3fGsx8Gi8b1lm0+aRomev/wXV2q5tvzw8zZsdygltCPepr2jlX1f+W opHtRwvqG+MlEMiHP6gOBJZbfd9UXjMhFmN4MzDHQGGSputXj2Nb0BQwPtKumz0lMO+U 4RGlheEsAAQHiw3ETgNIeIyV8YAbvepl/+SxBW6w9j2mh/9rAsFj6xlpGuZfQZZuTP5/ V6c6JK5fn6KH3389gcJhlaPWV5BYFSco2XqYKP/QMCO0Yx0hOC8CflGl4lkmYlewy6MG zEkQ== 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 m2si218242lfr.8.2022.02.12.23.41.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Feb 2022 23:41:12 -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 21D7fBw4010231 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 13 Feb 2022 08:41:11 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v5 0/9] Avoid using shell environment during the build Date: Sun, 13 Feb 2022 08:41:02 +0100 Message-Id: <20220213074111.23232-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: paylkYca28RU 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 v5: - Removed "ifneq ($(KDIR),)" workaround for dh_auto_clean override for "linux-module" patch (while latter sbuild patchset moved to using .dsc file). Changes since v4: - Added patch for optee-os-stm32mp15x to avoid shell exports. 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 (3): template: Copy template attributes on transform optee-os-stm32mp15x: Do not use shell environment linux-custom: Move cfg fragments applying to debian/rules .../optee-os/optee-os-stm32mp15x_3.11.0.bb | 5 +- .../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 | 60 +++++++++++++++++++ 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 | 53 +++++++++------- 17 files changed, 153 insertions(+), 136 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