]> 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>
Sat, 1 Dec 2018 11:37:49 +0000 (11:37 +0000)
commit5641a24a70b54544012c04c6a082514d9a5aa49a
tree5e53a12b80945ebcc19e48b5db79ff2e613b6e19
parent3eab24c6dc095fd2305b9be8467aab1191141e35
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.

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>
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