]> 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>
Thu, 14 Feb 2019 11:20:06 +0000 (11:20 +0000)
commitb9cc18d83f55ff48c3d6e60c56359f6736d5a06a
tree1922650fa7b548da4f3a39c4f63dcc19322957c7
parent47d7b5fcad127171243cc95c586c2c7f35cfac3b
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]

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