On 11/20/25 19:46, Alexander Kanavin via lists.openembedded.org wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
On Thu, 20 Nov 2025 at 12:40, Changqing Li via lists.openembedded.org
<[email protected]> wrote:
From: Changqing Li<[email protected]>
Here is SRC_URI of jquery:
SRC_URI = "\
https://code.jquery.com/${BP}.js;name=js;subdir=${BP} \
https://code.jquery.com/${BP}.min.js;name=min;subdir=${BP} \
https://code.jquery.com/${BP}.min.map;name=map;subdir=${BP} \
"
When ${BP}.js/${BP}.min.js/${BP}.min.map are downloaded in a git repo,
and this git repo is cloned locally as a PREMIRRORS. In this case, mtime
of these files will be current time when checking out.
I don't understand. Is SRC_URI tweaked in a .bbappend to something
else? Can you provide a way to observe the issue?
No, there is no .bbappend. Here is how to reproduce it:
we have a git repo, which contains downloades sources, which contains
jquery's sources: ${BP}.js, ${BP}.min.js, ${BP}.min.map .
Create project under path A, and clone source_mirror under
A/sources_mirror, and set A/sources_mirror as the first PREMIRRORS
Create another project under path B, and clone source_mirror under
B/sources_mirror, and set B/sources_mirror as the first PREMIRRORS
In this way, since jquery sources are fetched by git, the files mtime
is the current time when the files are checking out. So files mtime in
project A is different with project B.
Then bitabke jquery under A and B get different rpm package, the
different part is "Build Date", which is get from source_date_epoch.
According to logic of get_source_date_epoch, source_date_epoch of
project will set to the youngest file of the sources.
in this case, unstable files mtime cause unstable source_date_epoch.
//Changqing
The bar for adding new variables to bitbake.conf is high, and we
should strive to avoid that.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226648):
https://lists.openembedded.org/g/openembedded-core/message/226648
Mute This Topic: https://lists.openembedded.org/mt/116389229/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-