mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] host-python3: add pyelftools, cryptography checks
Date: Wed, 30 Mar 2022 09:25:28 +0200	[thread overview]
Message-ID: <20220330072528.2553931-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220323110640.1124214-1-r.czerwinski@pengutronix.de>

Thanks, applied as aa468000b9cb29760665bd014fbc8e42e29068c1.

Michael

[sent from post-receive hook]

On Wed, 30 Mar 2022 09:25:27 +0200, Rouven Czerwinski <r.czerwinski@pengutronix.de> wrote:
> Add the checks for python3 cryptgraphy and pyelftools. These will be
> required for bumping the OP-TEE release.
> 
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> Message-Id: <20220323110640.1124214-1-r.czerwinski@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in
> index baafc1572fbd..4be968f435ee 100644
> --- a/rules/host-system-python3.in
> +++ b/rules/host-system-python3.in
> @@ -23,4 +23,10 @@ config HOST_SYSTEM_PYTHON3_SETUPTOOLS
>  config HOST_SYSTEM_PYTHON3_SIX
>  	bool
>  
> +config HOST_SYSTEM_PYTHON3_PYELFTOOLS
> +	bool
> +
> +config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
> +	bool
> +
>  endif
> diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make
> index a44767c503b4..02e9da1410fc 100644
> --- a/rules/host-system-python3.make
> +++ b/rules/host-system-python3.make
> @@ -59,6 +59,18 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_SIX
>  	@$(SYSTEMPYTHON3) -c 'import six' 2>/dev/null || \
>  		ptxd_bailout "Python six module not found! \
>  	Please install python3-six (debian)";
> +endif
> +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PYELFTOOLS
> +	@echo "Checking for Python Pyelftools ..."
> +	@$(SYSTEMPYTHON3) -c 'import elftools' 2>/dev/null || \
> +		ptxd_bailout "Python elftools module not found! \
> +	Please install python3-pyelftools (debian)";
> +endif
> +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
> +	@echo "Checking for Python Cryptography ..."
> +	@$(SYSTEMPYTHON3) -c 'import cryptography' 2>/dev/null || \
> +		ptxd_bailout "Python cryptography module not found! \
> +	Please install python3-cryptography (debian)";
>  endif
>  	@$(call touch)
>  

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      parent reply	other threads:[~2022-03-30  7:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23 11:06 [ptxdist] [PATCH 1/4] " Rouven Czerwinski
2022-03-23 11:06 ` [ptxdist] [PATCH 2/4] optee: bump to 3.16.0, update deps Rouven Czerwinski
2022-03-30  7:25   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-03-23 11:06 ` [ptxdist] [PATCH 3/4] optee-client: bump to 3.16.0 Rouven Czerwinski
2022-03-25  8:03   ` Michael Olbrich
2022-03-25  8:34     ` Rouven Czerwinski
2022-03-25  8:50       ` Michael Olbrich
2022-03-30  7:25   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-03-23 11:06 ` [ptxdist] [PATCH 4/4] optee-test: bump to 3.16.0, move from staging Rouven Czerwinski
2022-03-30  7:25   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-03-30  7:25 ` Michael Olbrich [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=20220330072528.2553931-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=r.czerwinski@pengutronix.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