diff options
author | Jeff Polk <jeff.polk@windriver.com> | 2013-04-01 09:52:04 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-02 18:08:23 +0100 |
commit | b50626c6f03d40055521e32f8e0b6968961cdc8e (patch) | |
tree | e91f221cb3890b68d05d24efa837bf77885d4f9b /meta/classes/sstate.bbclass | |
parent | 1f48f7461d924ebd8de8fce26923d739b0fd8371 (diff) | |
download | poky-b50626c6f03d40055521e32f8e0b6968961cdc8e.tar.gz |
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>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
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 () { | |||
547 | tar -cz --file=$TFILE --files-from=/dev/null | 547 | tar -cz --file=$TFILE --files-from=/dev/null |
548 | fi | 548 | fi |
549 | chmod 0664 $TFILE | 549 | chmod 0664 $TFILE |
550 | mv $TFILE ${SSTATE_PKG} | 550 | mv -f $TFILE ${SSTATE_PKG} |
551 | 551 | ||
552 | cd ${WORKDIR} | 552 | cd ${WORKDIR} |
553 | rm -rf ${SSTATE_BUILDDIR} | 553 | rm -rf ${SSTATE_BUILDDIR} |