summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-26 14:06:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:36:10 +0100
commitec412d5c7648f378fb5ba5e9845dd1c40265fbdd (patch)
tree13b3909854b90c016e5c2109e99f4ce4c525d360 /meta/classes
parente6c330c7e59ee7d8753657321174cafc2f53a03c (diff)
downloadpoky-ec412d5c7648f378fb5ba5e9845dd1c40265fbdd.tar.gz
classes/buildhistory: exclude . in file listings
We don't care about the permissions on the top-level directory in which the files are contained, just everything under it; this also avoids lists with just this entry in it for empty packages. Affects file listings for both images and packages. (From OE-Core rev: d503122646b1b148113a4be31b7e88723459dae6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/buildhistory.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index e60cdd72ba..77a3c864c3 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -435,7 +435,7 @@ buildhistory_get_sdk_installed_target() {
435buildhistory_list_files() { 435buildhistory_list_files() {
436 # List the files in the specified directory, but exclude date/time etc. 436 # List the files in the specified directory, but exclude date/time etc.
437 # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo 437 # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
438 ( cd $1 && find . -printf "%M %-10u %-10g %10s %p -> %l\n" | sort -k5 | sed 's/ * -> $//' > $2 ) 438 ( cd $1 && find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n" | sort -k5 | sed 's/ * -> $//' > $2 )
439} 439}
440 440
441buildhistory_list_pkg_files() { 441buildhistory_list_pkg_files() {