Patchwork meta/classes/sstate.bbclass: ensure sstate files have group R/W

login
register
mail settings
Submitter Joshua Lock
Date May 12, 2012, 1:22 a.m.
Message ID <1336785740-15018-1-git-send-email-josh@linux.intel.com>
Download mbox | patch
Permalink /patch/27499/
State Accepted
Commit dae9ad8a0ba0343e3083694cdcb20f0d02927ad0
Headers show

Comments

Joshua Lock - May 12, 2012, 1:22 a.m.
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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index ad7d121..ffd55fd 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -468,6 +468,7 @@  sstate_create_package () {
 	else
 		tar -cz --file=$TFILE --files-from=/dev/null
 	fi
+	chmod 0664 $TFILE 
 	mv $TFILE ${SSTATE_PKG}
 
 	cd ${WORKDIR}