README: add reference to using import_layers to update

This is now be practical to use for updating as well as the initial
import. Additionally the user doesn't need to be using the debug
option by default so drop it from the example command.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-08-06 11:44:33 +12:00
parent 7953e7a853
commit 73198bd548

10
README
View File

@ -103,7 +103,7 @@ setup within it:
need layer data. To import the full set for the master branch from the
public instance at layers.openembedded.org you can run the following:
docker-compose run --rm layersapp /opt/layerindex/layerindex/tools/import_layers.py -d https://layers.openembedded.org
docker-compose run --rm layersapp /opt/layerindex/layerindex/tools/import_layers.py https://layers.openembedded.org
Alternatively, you can populate the database manually -
you'll need to add at least the openembedded-core layer to the
@ -166,7 +166,8 @@ Updating OpenEmbedded data
--------------------------
You will likely want to update the OpenEmbedded layer information on a regular
basis. To do that:
basis. To do that by fetching and parsing all layer repositories, run the
following:
Incremental update:
@ -177,6 +178,11 @@ basis. To do that:
docker-compose run --rm layersapp /opt/layerindex/layerindex/update.py -r
Alternatively, you can update the data from an existing layer index instance
(as per above during setup):
docker-compose run --rm layersapp /opt/layerindex/layerindex/tools/import_layers.py https://layers.openembedded.org
Upgrading from an earlier version