diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 12:34:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-16 17:41:59 +0100 |
commit | 4b424bdfdbbe16b6e41f6cd1de75a51e3799cf94 (patch) | |
tree | f59682b14ffa5de9fef7dd62b88dddd43e3de400 /meta/classes/externalsrc.bbclass | |
parent | f47a396964c4de76838f8c59b8226625817aa369 (diff) | |
download | poky-4b424bdfdbbe16b6e41f6cd1de75a51e3799cf94.tar.gz |
reproducible: Merge code into base.bbclass
Reproducibility is here to stay and needs to be part of our default workflow.
Move the remaining code to base.bbclass so it is always a first class citizen
and it is clear people need to be mindful of it.
(From OE-Core rev: abb0671d2cebfd7e8df94796404bbe9c7f961058)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r-- | meta/classes/externalsrc.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index ad93b2d2ab..abfe24bace 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
@@ -109,8 +109,8 @@ python () { | |||
109 | if local_srcuri and task in fetch_tasks: | 109 | if local_srcuri and task in fetch_tasks: |
110 | continue | 110 | continue |
111 | bb.build.deltask(task, d) | 111 | bb.build.deltask(task, d) |
112 | if bb.data.inherits_class('reproducible_build', d) and task == 'do_unpack': | 112 | if task == 'do_unpack': |
113 | # The reproducible_build's create_source_date_epoch_stamp function must | 113 | # The reproducible build create_source_date_epoch_stamp function must |
114 | # be run after the source is available and before the | 114 | # be run after the source is available and before the |
115 | # do_deploy_source_date_epoch task. In the normal case, it's attached | 115 | # do_deploy_source_date_epoch task. In the normal case, it's attached |
116 | # to do_unpack as a postfuncs, but since we removed do_unpack (above) | 116 | # to do_unpack as a postfuncs, but since we removed do_unpack (above) |