diff options
| author | Joshua Watt <JPEWhacker@gmail.com> | 2019-09-27 13:45:26 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-02 20:22:25 +0100 |
| commit | 4148650475de8e1ec003acd53f75bd7000db7652 (patch) | |
| tree | 2426314d69f26a55d19a7a4ab68ba1f00c06bb7e /meta/classes | |
| parent | f2df235b49ad920911d152f75cfe2b1e2726e9d4 (diff) | |
| download | poky-4148650475de8e1ec003acd53f75bd7000db7652.tar.gz | |
classes/reproducible_build: Create SDE destination
Creates the source data epoch file destination directory when restoring
from sstate
(From OE-Core rev: f5259a62d444dfc221a9ba592dbca35564f794ac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/reproducible_build.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 99b749a9ee..39b6e40cac 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass | |||
| @@ -53,6 +53,7 @@ do_deploy_source_date_epoch () { | |||
| 53 | 53 | ||
| 54 | python do_deploy_source_date_epoch_setscene () { | 54 | python do_deploy_source_date_epoch_setscene () { |
| 55 | sstate_setscene(d) | 55 | sstate_setscene(d) |
| 56 | bb.utils.mkdirhier(d.getVar('SDE_DIR')) | ||
| 56 | sde_file = os.path.join(d.getVar('SDE_DEPLOYDIR'), '__source_date_epoch.txt') | 57 | sde_file = os.path.join(d.getVar('SDE_DEPLOYDIR'), '__source_date_epoch.txt') |
| 57 | if os.path.exists(sde_file): | 58 | if os.path.exists(sde_file): |
| 58 | os.rename(sde_file, d.getVar('SDE_FILE')) | 59 | os.rename(sde_file, d.getVar('SDE_FILE')) |
