From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] scripts: container.sh: reexport KBUILD_OUTPUT LG_BUILDDIR envvars
Date: Wed, 21 Jun 2023 09:56:23 +0200 [thread overview]
Message-ID: <20230621075623.GS18491@pengutronix.de> (raw)
In-Reply-To: <20230619094656.4160042-1-a.fatoum@pengutronix.de>
On Mon, Jun 19, 2023 at 11:46:56AM +0200, Ahmad Fatoum wrote:
> These variables are evaluted by pytest to find the location of the
> barebox build directory, so pass them along to the container for easier
> use. Example usage:
>
> export LG_BUILDDIR=build-x86
> scripts/container.sh ./MAKEALL -a x86 -O $LG_BUILDDIR efi_defconfig
> scripts/container.sh pytest --lg-env test/x86/efi_defconfig.yaml test/py
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> scripts/container.sh | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
>
> diff --git a/scripts/container.sh b/scripts/container.sh
> index eb1e87b59baa..fa5810fb464e 100755
> --- a/scripts/container.sh
> +++ b/scripts/container.sh
> @@ -35,5 +35,6 @@ pwd_real=$(realpath $PWD)
>
> exec podman run -it -v "$PWD:$PWD:z" -v "$pwd_real:$pwd_real:z" --rm \
> -e TERM -e ARCH -e CONFIG -e JOBS -e LOGDIR -e REGEX \
> + -e KBUILD_OUTPUT -e LG_BUILDDIR \
> -e KCONFIG_ADD -w "$PWD" --userns=keep-id \
> -- "$CONTAINER" "${@:-/bin/bash}"
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2023-06-21 7:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 9:46 Ahmad Fatoum
2023-06-21 7:56 ` Sascha Hauer [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=20230621075623.GS18491@pengutronix.de \
--to=sha@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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