]> code.ossystems Code Review - openembedded-core.git/commit
python3: Adds instructions to the manifest file
authorAlejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com>
Fri, 16 Nov 2018 19:31:45 +0000 (11:31 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 1 Dec 2018 11:37:49 +0000 (11:37 +0000)
commit3eab24c6dc095fd2305b9be8467aab1191141e35
tree0d7b2b15f5b82244deca80ac0eb4bcac7f740606
parent8b7d74aa7bb73daf84593fafde3eef4595918b63
python3: 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/python3-native_3.5.6.bb
meta/recipes-devtools/python/python3/create_manifest3.py
meta/recipes-devtools/python/python3/python3-manifest.json
meta/recipes-devtools/python/python3_3.5.6.bb