package/cracklib: Force usage of buildroot python2 binary
PATCH 1/1 package/cracklib: Force usage of buildroot python2 binary
Fixes:
http://autobuild.buildroot.net/results/638f2e67b20d99994f1ccc08a9ecc32a2e3c3a40
Signed-off-by Stefan S?rensen <[email protected]>
--- package/cracklib/cracklib.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/cracklib/cracklib.mk +2 -1
@@ -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
Signature · 1 line
2.25.4
PATCH 1/1 package/cracklib: Force usage of buildroot python2 binary
Stefan, All,
On 2020-05-19 15:47 +0200, Stefan S?rensen spake thusly:
Quoted 4 lines
Fixes:
http://autobuild.buildroot.net/results/638f2e67b20d99994f1ccc08a9ecc32a2e3c3a40Signed-off-by Stefan S?rensen <[email protected]>
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.
Quoted 25 lines
--- package/cracklib/cracklib.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/cracklib/cracklib.mk +2
-1@@ -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 endifSignature · 6 lines
2.25.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'