From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/cracklib: Force usage of buildroot python2 binary
Date: Tue, 19 May 2020 21:01:06 +0200 [thread overview]
Message-ID: <20200519190106.GD27030@scaer> (raw)
In-Reply-To: <20200519134707.3070779-1-stefan.sorensen@spectralink.com>
Stefan, All,
On 2020-05-19 15:47 +0200, Stefan S?rensen spake thusly:
> Fixes:
> http://autobuild.buildroot.net/results/638f2e67b20d99994f1ccc08a9ecc32a2e3c3a40
>
> Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
We have another patch that allows building with either python(2) or
python3, which I believe is better:
https://patchwork.ozlabs.org/project/buildroot/patch/20200202205306.1785085-2-fontaine.fabrice at gmail.com/
Regards,
Yann E. MORIN.
> ---
> package/cracklib/cracklib.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/cracklib/cracklib.mk b/package/cracklib/cracklib.mk
> index 91d510ff34..f17c717025 100644
> --- a/package/cracklib/cracklib.mk
> +++ b/package/cracklib/cracklib.mk
> @@ -21,7 +21,8 @@ endif
>
> ifeq ($(BR2_PACKAGE_PYTHON),y)
> CRACKLIB_CONF_OPTS += --with-python
> -CRACKLIB_DEPENDENCIES += python
> +CRACKLIB_DEPENDENCIES += python host-python
> +CRACKLIB_CONF_ENV += PYTHON=$(HOST_DIR)/bin/python2
> else
> CRACKLIB_CONF_OPTS += --without-python
> endif
> --
> 2.25.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2020-05-19 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 13:47 [Buildroot] [PATCH] package/cracklib: Force usage of buildroot python2 binary Stefan Sørensen
2020-05-19 19:01 ` Yann E. MORIN [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=20200519190106.GD27030@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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