* [PATCH 0/1] python2-dev: improve reproducibility
@ 2018-01-18 3:48 Dengke Du
2018-01-18 3:48 ` [PATCH 1/1] " Dengke Du
0 siblings, 1 reply; 3+ messages in thread
From: Dengke Du @ 2018-01-18 3:48 UTC (permalink / raw)
To: juro.bystricky, openembedded-core
The following changes since commit b9dcab772fd37ed8376a87d3194195e13ff52d10:
qemu: CVE-2017-17381 (2018-01-14 09:11:58 +0000)
are available in the git repository at:
https://github.com/DengkeDu/openembedded-core.git dengke/python2-dev
https://github.com//tree/dengke/python2-dev
Dengke Du (1):
python2-dev: improve reproducibility
meta/recipes-devtools/python/python_2.7.13.bb | 4 ++++
1 file changed, 4 insertions(+)
--
2.8.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] python2-dev: improve reproducibility
2018-01-18 3:48 [PATCH 0/1] python2-dev: improve reproducibility Dengke Du
@ 2018-01-18 3:48 ` Dengke Du
2018-01-18 5:58 ` Hongxu Jia
0 siblings, 1 reply; 3+ messages in thread
From: Dengke Du @ 2018-01-18 3:48 UTC (permalink / raw)
To: juro.bystricky, openembedded-core
oe-core has fixed it for python3, we can apply it to python2, the origin
commit id:
e21723bb9b6035714268eeab5f43e2d1cb798a0d
We can check it here:
http://git.openembedded.org/openembedded-core/commit/?id=e21723bb9b6035714268eeab5f43e2d1cb798a0d
Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
meta/recipes-devtools/python/python_2.7.13.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/python/python_2.7.13.bb b/meta/recipes-devtools/python/python_2.7.13.bb
index 754c029..8075204 100644
--- a/meta/recipes-devtools/python/python_2.7.13.bb
+++ b/meta/recipes-devtools/python/python_2.7.13.bb
@@ -140,6 +140,10 @@ py_package_preprocess () {
# Remove references to buildmachine paths in target Makefile and _sysconfigdata
sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+ -e 's:${RECIPE_SYSROOT}::g' \
+ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
python -m py_compile ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
--
2.8.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] python2-dev: improve reproducibility
2018-01-18 3:48 ` [PATCH 1/1] " Dengke Du
@ 2018-01-18 5:58 ` Hongxu Jia
0 siblings, 0 replies; 3+ messages in thread
From: Hongxu Jia @ 2018-01-18 5:58 UTC (permalink / raw)
To: Dengke Du, juro.bystricky, openembedded-core
On 2018年01月18日 11:48, Dengke Du wrote:
> oe-core has fixed it for python3, we can apply it to python2, the origin
> commit id:
>
> e21723bb9b6035714268eeab5f43e2d1cb798a0d
>
> We can check it here:
>
> http://git.openembedded.org/openembedded-core/commit/?id=e21723bb9b6035714268eeab5f43e2d1cb798a0d
>
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
> meta/recipes-devtools/python/python_2.7.13.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/python/python_2.7.13.bb b/meta/recipes-devtools/python/python_2.7.13.bb
> index 754c029..8075204 100644
> --- a/meta/recipes-devtools/python/python_2.7.13.bb
> +++ b/meta/recipes-devtools/python/python_2.7.13.bb
> @@ -140,6 +140,10 @@ py_package_preprocess () {
>
> # Remove references to buildmachine paths in target Makefile and _sysconfigdata
> sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
> + -e 's|${DEBUG_PREFIX_MAP}||g' \
> + -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
> + -e 's:${RECIPE_SYSROOT}::g' \
> + -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
> ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
> ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
> python -m py_compile ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
There still build path issue, use relative path to
recompile _sysconfigdata.py
http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=hongxu/reproduce&id=8c1fe6eb54d88b7dd3081b57e98f8cf3b5298045
//Hongxu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-18 5:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-18 3:48 [PATCH 0/1] python2-dev: improve reproducibility Dengke Du
2018-01-18 3:48 ` [PATCH 1/1] " Dengke Du
2018-01-18 5:58 ` Hongxu Jia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox