From b1a085db9d8ad2a3117af6f50e510bc9c2f9407b Mon Sep 17 00:00:00 2001 From: Jeff Polk Date: Mon, 1 Apr 2013 09:52:04 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/sstate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/sstate.bbclass') 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} -- cgit v1.2.3