summaryrefslogtreecommitdiff
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorJeff Polk <jeff.polk@windriver.com>2013-04-01 09:52:04 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-02 18:04:27 +0100
commitb1a085db9d8ad2a3117af6f50e510bc9c2f9407b (patch)
treefc254381ffed8cae308d67264b636e3e4db0c478 /meta/classes/sstate.bbclass
parentcd9a730caf6b995c25c71c97eb76dc7a24ecf641 (diff)
downloadopenembedded-core-b1a085db9d8ad2a3117af6f50e510bc9c2f9407b.tar.gz
openembedded-core-b1a085db9d8ad2a3117af6f50e510bc9c2f9407b.tar.bz2
openembedded-core-b1a085db9d8ad2a3117af6f50e510bc9c2f9407b.zip
sstate: add -f to mv when moving sstate files into place
Under some conditions (ACLs enabled, NFS) mv can interactively prompt before overwriting files. Avoid hanging builds in that case by using -f which should be harmless in other cases. Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 ce9f243445..c7d8d68a34 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -547,7 +547,7 @@ sstate_create_package () {
tar -cz --file=$TFILE --files-from=/dev/null
fi
chmod 0664 $TFILE
- mv $TFILE ${SSTATE_PKG}
+ mv -f $TFILE ${SSTATE_PKG}
cd ${WORKDIR}
rm -rf ${SSTATE_BUILDDIR}