]> code.ossystems Code Review - openembedded-core.git/commit
staging: Improve file creation resiliance
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Feb 2017 14:47:55 +0000 (14:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Feb 2017 14:47:21 +0000 (14:47 +0000)
commitfc504b6b8538453d2f058d7cc69be098f52f8091
tree083841500618a14ae4b6f1aa19dd7077c06226b7
parent51834006476786f847b3ca60d5ed83a952fc64cb
staging: Improve file creation resiliance

If you abort a build mid execution of the staging extend_sysroot function
there are currently races and cleanup of that function may fail.

This change splits the code into separate phases so that the manifests are
manipulated before files are installed, meaning we should be able to reverse
actions if builds fail, crash or are interrupted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass