Skip to contentSkip to conversation

uninative-tarball.xz - reproducibility fix

PATCH In review Robert Berger 2 participants 2 messages Jun 30, 2023 – Dec 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 uninative-tarball.xz - reproducibility fix

added --clamp-mtime --mtime to the tar command

see:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15148

---
 meta/classes-recipe/populate_sdk_base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/populate_sdk_base.bbclass +1 -1
index b23ea26d40..24db703534 100644
@@ -285,7 +285,7 @@ python check_sdk_sysroots() {
     dir_walk(SCAN_ROOT)
 }
 
-SDKTAROPTS = "--owner=root --group=root"
+SDKTAROPTS = "--owner=root --group=root --clamp-mtime --mtime=@${SOURCE_DATE_EPOCH}"
 
 fakeroot archive_sdk() {
 	# Package it up
Signature · 1 line
2.17.1
#1 lore raw
Quoted 13 lines · Robert Berger via lists.openembedded.org

see:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15148

---
  meta/classes-recipe/populate_sdk_base.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/populate_sdk_base.bbclass +0 -0
index b23ea26d40..24db703534 100644

meta/classes-recipe/populate_sdk_base.bbclass python check_sdk_sysroots() { · line 291

Quoted 8 lines
meta/classes-recipe/populate_sdk_base.bbclass +1 -1
@@ -285,7 +285,7 @@ python check_sdk_sysroots() {
      dir_walk(SCAN_ROOT)
  }
 
-SDKTAROPTS = "--owner=root --group=root"
+SDKTAROPTS = "--owner=root --group=root --clamp-mtime --mtime=@${SOURCE_DATE_EPOCH}"
 
  fakeroot archive_sdk() {
  	# Package it up

Ping.

I think this patch was just missed back in late June.

../Randy

Quoted 9 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183694):https://lists.openembedded.org/g/openembedded-core/message/183694 Mute This Topic:https://lists.openembedded.org/mt/99872409/3616765
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux