Skip to contentSkip to conversation

poky: Default to reproducible builds

PATCH In review Richard Purdie 3 participants 3 messages Nov 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: Default to reproducible builds

This is essential for sensible use of hash equivalence which we also plan to enable by default in the next release.

---
 meta-poky/conf/distro/poky.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-poky/conf/distro/poky.conf +2 -0
index 619414295b2..82b20642818 100644
@@ -87,3 +87,5 @@ require conf/distro/include/no-static-libs.inc
 require conf/distro/include/yocto-uninative.inc
 require conf/distro/include/security_flags.inc
 INHERIT += "uninative"
+
+INHERIT += "reproducible_build"
Signature · 1 line
2.20.1
#1 lore raw
Quoted 13 lines · Richard Purdie

This is essential for sensible use of hash equivalence which we also plan to enable by default in the next release.

---
 meta-poky/conf/distro/poky.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-poky/conf/distro/poky.conf +0 -0
index 619414295b2..82b20642818 100644

meta-poky/conf/distro/poky.conf require conf/distro/include/no-static-libs.inc · line 91

Quoted 5 lines
meta-poky/conf/distro/poky.conf +2 -0
@@ -87,3 +87,5 @@ require conf/distro/include/no-static-libs.inc
 require conf/distro/include/yocto-uninative.inc
 require conf/distro/include/security_flags.inc
 INHERIT += "uninative"
+
+INHERIT += "reproducible_build"

The down side I see with this being only in "Poky" is if I do a package update in a "No Distro"  setup and I don't see if I introduced a regression of reproducibility.

I need to start adding this to my local.conf.

- armin

Quoted 9 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11822): https://lists.yoctoproject.org/g/poky/message/11822
Mute This Topic: https://lists.yoctoproject.org/mt/61713118/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 24 lines · Armpit

On 11/22/19 9:39 AM, Richard Purdie wrote:

This is essential for sensible use of hash equivalence which we also plan to enable by default in the next release.

---
 meta-poky/conf/distro/poky.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-poky/conf/distro/poky.conf +2 -0
index 619414295b2..82b20642818 100644
@@ -87,3 +87,5 @@ require conf/distro/include/no-static-libs.inc
 require conf/distro/include/yocto-uninative.inc
 require conf/distro/include/security_flags.inc
 INHERIT += "uninative"
+
+INHERIT += "reproducible_build"
Quoted 4 lines

The down side I see with this being only in "Poky" is if I do a package update in a "No Distro" setup and I don't see if I introduced a regression of reproducibility.

I tend to agree that poky policies in general should apply to nodistro at least build qa policies etc and security flags as well as this

Since we ci poky policies and submitters may not have tested that will avoid extra submission loops

Quoted 28 lines

I need to start adding this to my local.conf.

- armin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11822): https://lists.yoctoproject.org/g/poky/message/11822
Mute This Topic: https://lists.yoctoproject.org/mt/61713118/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11828):
https://lists.yoctoproject.org/g/poky/message/11828
Mute This Topic: https://lists.yoctoproject.org/mt/61713118/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-