summaryrefslogtreecommitdiff
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:34:37 +0100
commitd503122646b1b148113a4be31b7e88723459dae6 (patch)
tree0ad3c333d22bc4bd35e14632df26c2051aa7db8e /meta/classes
parentaf2fc914975d06fdd75a65d4b00cf9f5c1610528 (diff)
downloadopenembedded-core-d503122646b1b148113a4be31b7e88723459dae6.tar.gz
openembedded-core-d503122646b1b148113a4be31b7e88723459dae6.tar.bz2
openembedded-core-d503122646b1b148113a4be31b7e88723459dae6.zip
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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() {
buildhistory_list_files() {
# List the files in the specified directory, but exclude date/time etc.
# This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
- ( cd $1 && find . -printf "%M %-10u %-10g %10s %p -> %l\n" | sort -k5 | sed 's/ * -> $//' > $2 )
+ ( cd $1 && find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n" | sort -k5 | sed 's/ * -> $//' > $2 )
}
buildhistory_list_pkg_files() {