1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

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.

(From OE-Core rev: b1a085db9d8ad2a3117af6f50e510bc9c2f9407b)

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeff Polk
2013-04-01 09:52:04 -06:00
committed by Richard Purdie
parent 1f48f7461d
commit b50626c6f0
+1 -1
View File
@@ -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}