diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-02-28 16:09:58 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-02 15:22:53 +0000 |
commit | 54d1f5fc3ed614115385b540b03698dea3544df2 (patch) | |
tree | 3ac558c7df1d1395df440f2c9890dc0fb7c72bb1 /meta/classes/update-alternatives.bbclass | |
parent | 60eed3195cadf001ef683e96a5e65be5c1a2dde5 (diff) | |
download | poky-54d1f5fc3ed614115385b540b03698dea3544df2.tar.gz |
linux-yocto: make kernel_checkout reentrant
The steps in do_kernel_checkout modify the source tree in WORKDIR.
If it is called multiple times, or interrupted, the tree is left
in an inconsistent state.
This change adds protections around branch names, and around the
manipulations of directories to ensure that it is safe to call
at any point.
(From OE-Core rev: f937977f241e786c5a7438449ed4c9da4c55829b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
0 files changed, 0 insertions, 0 deletions