From: Jan Kiszka <jan.kiszka@siemens.com>
To: Uladzimir Bely <ubely@ilbers.de>, <isar-users@googlegroups.com>
Subject: Re: [PATCH v2 0/9] Avoid using shell environment during the build
Date: Tue, 25 Jan 2022 14:55:13 +0100 [thread overview]
Message-ID: <92725cf8-86df-0614-2b2b-975944466424@siemens.com> (raw)
In-Reply-To: <2755364.Ex9A2HvPv6@home>
On 25.01.22 14:51, Uladzimir Bely wrote:
> In the email from вторник, 25 января 2022 г. 16:29:28 +03 user Jan Kiszka
> wrote:
>> On 25.01.22 13:32, 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 v1:
>>> - Introduced `dpkg_build_export` function to be used for passing
>>> variables to build environment;
>>
>> I wonder - as just written in the iot2050 PR - if we have any chance to
>> detect old exports and warn the user if their recipes need to be
>> converted to dpkg_build_export. Any ideas?
>>
>> Jan
>>
>
> That's an interesting question. If we could make a hook that could intercept
> any 'export' call in dpkg_runbuild (usually, in _prepend), we could make a
> warning. On the other hand, in this case we could not introduce a new
> function, but just do what we really need instead of doing shell export.
>
> For now I have no ideas how we could do it.
>
Maybe a hook at the beginning of that task which collects the
environment and one at the end that does that again, checking for
additionally exported vars?
Jan
--
Siemens AG, Technology
Competence Center Embedded Linux
prev parent reply other threads:[~2022-01-25 13:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-25 12:32 Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 1/9] template: Copy template attributes on transform Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 2/9] linux-module: Do not use shell environment Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 3/9] u-boot: " Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 4/9] trusted-firmware: " Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 5/9] optee-os: " Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 6/9] kselftest: " Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 7/9] linux-mainline: Move cfg fragment test to debian/rules Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 8/9] dpkg: Use a specific export function in pre-build tasks Uladzimir Bely
2022-01-25 12:32 ` [PATCH v2 9/9] linux-custom: Move cfg fragments applying to debian/rules Uladzimir Bely
2022-01-25 13:29 ` [PATCH v2 0/9] Avoid using shell environment during the build Jan Kiszka
2022-01-25 13:51 ` Uladzimir Bely
2022-01-25 13:55 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=92725cf8-86df-0614-2b2b-975944466424@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=ubely@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox