Skip to contentSkip to conversation

drbd-utils: enable reproducible_build awareness

PATCH In review Joe Slater 2 participants 4 messages Jul 10, 2019 – Jul 11, 2019

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 drbd-utils: enable reproducible_build awareness

Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

---
 meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +3 -0
index 70e04b9..7fd3090 100644
@@ -35,6 +35,9 @@ EXTRA_OECONF = " \
                 --without-manual \
                "
 
+# If we have inherited reproducible_build, we want to use it.
+export WANT_DRBD_REPRODUCIBLE_BUILD = "yes"
+
 do_configure_prepend() {
     # move the the file under folder /lib/drbd/ to /usr/lib/drbd when usrmerge enabled
     if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
Signature · 1 line
2.7.4
#1 lore raw
Quoted 13 lines · Joe Slater

Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

---
 meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +0 -0
index 70e04b9..7fd3090 100644

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb EXTRA_OECONF = " \ · line 39

Quoted 5 lines
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +2 -0
@@ -35,6 +35,9 @@ EXTRA_OECONF = " \
                 --without-manual \
                "
 
+# If we have inherited reproducible_build, we want to use it.
+export WANT_DRBD_REPRODUCIBLE_BUILD = "yes"

should this be set after checking for inherit ?

Quoted 12 lines
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +1 -1
+
 do_configure_prepend() {
     # move the the file under folder /lib/drbd/ to /usr/lib/drbd when usrmerge enabled
     if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 29 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, July 11, 2019 12:33 AM
To: Slater, Joseph
Cc: openembeded-devel
Subject: Re: [oe] [meta-networking][PATCH 1/1] drbd-utils: enable reproducible_build awareness

Review

Quoted 9 lines · Joe Slater

Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

---
 meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb | 3 +++
 1 file changed, 3 insertions(+)
(quoted diff) +0 -0

b/meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb

Quoted 7 lines

index 70e04b9..7fd3090 100644

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +0 -0
@@ -35,6 +35,9 @@ EXTRA_OECONF = " \
                 --without-manual \
                "
 
Quoted 4 lines

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb EXTRA_OECONF = " \ · line 39

Quoted 2 lines
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +2 -0
+# If we have inherited reproducible_build, we want to use it.
+export WANT_DRBD_REPRODUCIBLE_BUILD = "yes"

should this be set after checking for inherit

[Joe Slater] This variable is always queried and the code checks for a reproducible_build environment, so we don't need to test here.

Quoted 14 lines

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb EXTRA_OECONF = " \

Quoted 3 lines
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +1 -0
+
 do_configure_prepend() {
     # move the the file under folder /lib/drbd/ to /usr/lib/drbd when

usrmerge enabled

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb EXTRA_OECONF = " \ · line 43

Quoted 1 line
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +0 -0
     if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)};

then

Quoted 8 lines

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Ok, thanks.

Quoted 53 lines · Joseph
Quoted 29 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, July 11, 2019 12:33 AM
To: Slater, Joseph
Cc: openembeded-devel
Subject: Re: [oe] [meta-networking][PATCH 1/1] drbd-utils: enable reproducible_build awareness

Review

Quoted 9 lines · Joe Slater

Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

---
 meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb | 3 +++
 1 file changed, 3 insertions(+)
(quoted diff) +0 -0

b/meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb

Quoted 7 lines

index 70e04b9..7fd3090 100644

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +0 -0
@@ -35,6 +35,9 @@ EXTRA_OECONF = " \
                 --without-manual \
                "
 
Quoted 4 lines

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb EXTRA_OECONF = " \ · line 39

Quoted 2 lines
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +2 -0
+# If we have inherited reproducible_build, we want to use it.
+export WANT_DRBD_REPRODUCIBLE_BUILD = "yes"

should this be set after checking for inherit

[Joe Slater] This variable is always queried and the code checks for a reproducible_build environment, so we don't need to test here.

Quoted 5 lines

meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb EXTRA_OECONF = " \

Quoted 3 lines
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +1 -0
+
 do_configure_prepend() {
     # move the the file under folder /lib/drbd/ to /usr/lib/drbd when

usrmerge enabled

Quoted 1 line
meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb +0 -0
     if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true',

'false', d)};

Quoted 9 lines

then

Quoted 8 lines

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel