summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-05-11 18:22:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-17 21:13:08 +0100
commit441c1f8faa82a5ff410a395d9086578f6ac8a93b (patch)
tree84704231a53b9539d4e73156e66fa06c9db92bff /meta
parent6c0c7bb0dcbaf845e581689530f83407b36dd508 (diff)
downloadpoky-441c1f8faa82a5ff410a395d9086578f6ac8a93b.tar.gz
meta/classes/sstate.bbclass: ensure sstate files have group R/W
In order to make sharing sstate files easier chmod them with 0664 permissions so that they are readable and writable by the user and any other members of their group. (From OE-Core rev: dae9ad8a0ba0343e3083694cdcb20f0d02927ad0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 3fc615d1e7..ccef4a9e39 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -473,6 +473,7 @@ sstate_create_package () {
473 else 473 else
474 tar -cz --file=$TFILE --files-from=/dev/null 474 tar -cz --file=$TFILE --files-from=/dev/null
475 fi 475 fi
476 chmod 0664 $TFILE
476 mv $TFILE ${SSTATE_PKG} 477 mv $TFILE ${SSTATE_PKG}
477 478
478 cd ${WORKDIR} 479 cd ${WORKDIR}