From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7057120643105423360 X-Received: by 2002:adf:cc81:0:b0:1e4:ab98:74bd with SMTP id p1-20020adfcc81000000b001e4ab9874bdmr19067863wrj.131.1645511960897; Mon, 21 Feb 2022 22:39:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:1acd:b0:1e3:374d:d14a with SMTP id i13-20020a0560001acd00b001e3374dd14als1320013wry.3.gmail; Mon, 21 Feb 2022 22:39:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcoItqjEIBrNahF1CT3dIREojJzJgVjiTMdUo/GA6lvJt5Ew0XcQxgHUM+2CKu/FZ9JT8k X-Received: by 2002:a5d:6488:0:b0:1ea:7ff1:93e with SMTP id o8-20020a5d6488000000b001ea7ff1093emr2546751wri.284.1645511960055; Mon, 21 Feb 2022 22:39:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645511960; cv=none; d=google.com; s=arc-20160816; b=H2iXaDekAUyRVMeTAI7eKoahmFtnwuc23+C6QskK7BuD7vW7COGRUFOdxMi+eubD7E boDoBJjSKgT+cs7oebVw+dxYaYiTipcNIlsR5Z/vBxDYzo0dwyEwBB9J10n21B12LT+G ztdoD0zQxpSTDT3qkwRnO+I5o10AaSZZACQ5qXwPAdrmAYZ5GV2IPweEBakWbPeGrfV1 RytBLTKLcbWQXUO54wwuneH2juLRO4zN0jN8yOtAfND17WJPXERzNYIQ6a+r0b5+FSej QFdvl6U0ZG2ib4A/xAlngyDUIc0ghKyEOXYzPnzHGleiGxNImMWbKiwNUxelBKSxRHxM 2x4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=rycpZMScgq8LAPpfVV9IamXRf7XXsMc1HXQrmgfY00o=; b=FeBNv8H6JjYGj1xTuCmd3tSO5TUKTzTlsv9iwI/ay8jMc8LC4dZOqUdTPcxd7bU2HX WbM+NTMZ85NRgIYDK8LZhdrHsQytHlyHPAMbIdxWfcBlGWSRAo4+eSpHbpC9gc2hPbWR feJY+DtiG8OFM+nIgyrXWlVTWJ8pj0ebEKAl22jU5YTEFOj+Vd+jT1q+wrFPbWrUE+4M TFT+yTH4Gw/a4qtN+QbADmToiAMTKiNIg3jYudHl+BCtTYMUVkxw9NYnYrf2gLMw1MS/ dWXEpFV6gcs/MTmWkroR6/t3vwJ+B1TXFu7/LJ9qTbnov2JDLQ2ln9fuErpTdKLRYi1t 0CrA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id d16si90940wrr.6.2022.02.21.22.39.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Feb 2022 22:39:20 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@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 amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (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 21M6dHR2019430 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Feb 2022 07:39:19 +0100 Message-ID: <906b9067-6482-f755-ff14-3e64bf22afcc@ilbers.de> Date: Tue, 22 Feb 2022 09:39:17 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v5 0/9] Avoid using shell environment during the build Content-Language: en-US To: Uladzimir Bely , isar-users@googlegroups.com References: <20220213074111.23232-1-ubely@ilbers.de> From: Anton Mikanovich In-Reply-To: <20220213074111.23232-1-ubely@ilbers.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: ijv4v7nbYAkA 13.02.22 10:41, Uladzimir Bely wrote: > 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 > Applied to next, thanks.