]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta/classes/sstate.bbclass: ensure sstate files have group R/W
authorJoshua Lock <josh@linux.intel.com>
Sat, 12 May 2012 01:22:20 +0000 (18:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 May 2012 20:11:25 +0000 (21:11 +0100)
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.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/sstate.bbclass

index 3fc615d1e70eb10a80c0c354685d4c48b8b16e4c..ccef4a9e396838f826160d6768f6266385f86e80 100644 (file)
@@ -473,6 +473,7 @@ sstate_create_package () {
        else
                tar -cz --file=$TFILE --files-from=/dev/null
        fi
+       chmod 0664 $TFILE 
        mv $TFILE ${SSTATE_PKG}
 
        cd ${WORKDIR}