]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:13:08 +0000 (21:13 +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.

(From OE-Core rev: dae9ad8a0ba0343e3083694cdcb20f0d02927ad0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}