Commit 0f8c6e6
buildhistory.bbclass: restore BUILDHISTORY_PRESERVE files
On each build using sstate-cache, buildhistory will move
content to a temporary folder named `old`.
When buildhistory looks for the main dir, it wont find it
and ends up creating it.
As a consequence how code is structured wont restore any
preserved file.
Code block moved to ensure if old dir exists, it will
attempt to restore those files marked to preserve.
Signed-off-by: Pedro Silva Ferreira <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>1 parent 1db86a3 commit 0f8c6e6
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | 263 | | |
272 | 264 | | |
273 | 265 | | |
| |||
280 | 272 | | |
281 | 273 | | |
282 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
| |||
0 commit comments