From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7057120643105423360 X-Received: by 2002:a2e:b98c:: with SMTP id p12mr3976016ljp.120.1644475400205; Wed, 09 Feb 2022 22:43:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1a26:: with SMTP id by38ls750888ljb.5.gmail; Wed, 09 Feb 2022 22:43:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzl6XU/2UjPJf/SySxFJc8BkwVcDswWCxye8DvXNWBdZjxjKGBaRsZLo0rWDz0PHRzcEMFs X-Received: by 2002:a2e:3c03:: with SMTP id j3mr3952430lja.294.1644475399011; Wed, 09 Feb 2022 22:43:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644475399; cv=none; d=google.com; s=arc-20160816; b=Bkql7gnb11NRHtzqsu1Q55Bh9tFnE8l6jCRmy5jZPZwQKenhiBdX62GIh+6YVrS2Iq NVsx896cu7J1+MFGW4ZK8AFz/uDgqmWh03YPgunQWFhaaHlFIfmHCT9waPj14XhTT1Jt 9KrBr15W6IMoW/GfCogd08183BpSjKhNV3cmE79LgwPTFujbRcW4Ai2lJC1Ky25EPNiG xRSVCcqhwQxUDc83m480LmeG/AqJQeQ0BM1qeeUs1sTW1lOjnZ8EbNkJfzz0F+zaTBTq TcxdAbIMv2z8iBby/6A21n1lGn8G00za+4AenX0Sr9IOTzGh05665/KlJZOluZIhnSxC BktA== 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=5o/wFebpjcUZjCfTpdhLDOBfiAqrJyEGb77SCIq2lvQ=; b=C56TmKUXc02nwkieze8A1l8hmhx8n9+VFfAhvwnXqcssDroWN2w8tMhwkLUSiGEXyN ML/LDorr2UNBNAEmdYUde+6B6EXy9r2QtEjdoOh16/t6DZfWKC0A6eX7SehguBy+3yIP TEQG0ZCZBvmtsrMoWOAGmQ7Y6Vcg0jppRrlJswOM0rcAclYrp+A7LM4uB+coQHaOx1An ulzeTC4lEvQMFNzhTgK+gHQbFXLXJ8SD0/00XnZ1SImU/yL8RsRf8E2rkZmsL8gavY+G R7L5ZfNTnMMbXf89QGBzBJSeYflYRgHemiTSzMnQCT/eHMZg5qYjxalJ3EUpkReSlBl5 hPWA== 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 l5si871841lfk.11.2022.02.09.22.43.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Feb 2022 22:43:18 -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 21A6hHmi027943 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 10 Feb 2022 07:43:17 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v4 0/9] Avoid using shell environment during the build Date: Thu, 10 Feb 2022 07:43:08 +0100 Message-Id: <20220210064317.3712-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: MOxh261DdpZ4 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 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 | 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 | 53 +++++++++------ 17 files changed, 160 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