]> code.ossystems Code Review - openembedded-core.git/commit
python: Adds instructions to the manifest file
authorAlejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com>
Fri, 16 Nov 2018 19:31:46 +0000 (11:31 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Jan 2019 20:12:08 +0000 (20:12 +0000)
commit3050a4c634da74eba53380bf23de515ed651bc03
treef4a583694486d53825c3a7e2fa80db23459b4a1f
parent8fd1b5fb464a3b72c94dffb3535e244b72c18b02
python: Adds instructions to the manifest file

While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.

The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.

This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or
when adding a new package.

(From OE-Core rev: 5641a24a70b54544012c04c6a082514d9a5aa49a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/python/python-native_2.7.15.bb
meta/recipes-devtools/python/python/create_manifest2.py
meta/recipes-devtools/python/python/python2-manifest.json
meta/recipes-devtools/python/python_2.7.15.bb