summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index b088e58d98..37ade3f7a6 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -566,7 +566,7 @@ sstate_create_package () {
566 TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX` 566 TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX`
567 # Need to handle empty directories 567 # Need to handle empty directories
568 if [ "$(ls -A)" ]; then 568 if [ "$(ls -A)" ]; then
569 tar -czf $TFILE * 569 tar --ignore-failed-read -czf $TFILE *
570 else 570 else
571 tar -cz --file=$TFILE --files-from=/dev/null 571 tar -cz --file=$TFILE --files-from=/dev/null
572 fi 572 fi