From 73198bd5483c16b9852121c6855dc6dac96a98a0 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 6 Aug 2019 11:44:33 +1200 Subject: [PATCH] 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 --- README | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README b/README index 25ab7ae..759bbb2 100644 --- a/README +++ b/README @@ -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