mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 01:39:40 +01:00
When the date rolled from one year to another this highlighted a reproducibility issue. This could be better fixed by using SOURCE_DATE_EPOCH from the environment but I'm not sure how you do that in ruby. Help from someone with that knowledge to submit that upstream very welcome. (From OE-Core rev: 4d561c98f4d2e68d595aae4b03df1420cb01c3f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
Injection a year based on the current date isn't reproducible. Hack this
|
|
to a specific year for now for reproducibilty and to avoid autobuilder failures.
|
|
|
|
The correct fix would be to use SOURCE_DATE_EPOCH from the environment and
|
|
then this could be submitted upstream, sadly my ruby isn't up to that.
|
|
|
|
Upstream-Status: Pending [could be reworked]
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
Index: webkitgtk-2.34.2/Source/JavaScriptCore/generator/GeneratedFile.rb
|
|
===================================================================
|
|
--- webkitgtk-2.34.2.orig/Source/JavaScriptCore/generator/GeneratedFile.rb
|
|
+++ webkitgtk-2.34.2/Source/JavaScriptCore/generator/GeneratedFile.rb
|
|
@@ -25,7 +25,7 @@ require 'date'
|
|
require 'digest'
|
|
|
|
$LICENSE = <<-EOF
|
|
-Copyright (C) #{Date.today.year} Apple Inc. All rights reserved.
|
|
+Copyright (C) 2021 Apple Inc. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|