distro-build-manifest: fix incorrect DIST_LAYERS 90/21890/1
authorStephane Desneux <stephane.desneux@iot.bzh>
Tue, 16 Jul 2019 16:12:35 +0000 (16:12 +0000)
committerStephane Desneux <stephane.desneux@iot.bzh>
Tue, 16 Jul 2019 16:12:35 +0000 (16:12 +0000)
commit8611adeb40fcfe033d687fbc02f8699e26e9c49d
tree00a37158cc305c4d133f989f42ca67ebbefddd32
parent42ab2045bef49a75d5ba026bde2f98466bc6be83
distro-build-manifest: fix incorrect DIST_LAYERS

Using repo tool, a .repo subfolder is created beside the cloned git repositories.
It contains also some git repositories (handled by repo tool).
But when enumerating the layers, those extra ".repo/xxxx" git repositories must
be ignored to get a consistent signature on layers.

This patch excludes hidden folders (starting by '.') from the search.

Bug-AGL: SPEC-2648

Change-Id: Ibee41d4efff0898d1bf67ab661ccdf70729b6211
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
scripts/distro-manifest-generator.sh