]> code.ossystems Code Review - openembedded-core.git/commit
checklayer: Avoid adding the layer if it is already present
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 12 Feb 2019 10:16:42 +0000 (18:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 22:25:07 +0000 (22:25 +0000)
commit64310d9d18bb1751595c197e6955774ad5514844
tree6a6a20457aa8d9faf2f820b1f9c7b672436bd46d
parentf236d8782958df953ca1e2a6f09779cbc8f2d600
checklayer: Avoid adding the layer if it is already present

* Rename add_layer() to add_layers() so that add_layer_dependencies() can
  re-use it.

* Avoid adding the layer if it is already present

[YOCTO #13148]

(From OE-Core rev: b9cc18d83f55ff48c3d6e60c56359f6736d5a06a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/checklayer/__init__.py
scripts/yocto-check-layer