All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] elfutils: Add zstd PACKAGECONFIG for determinism
@ 2021-08-16  8:52 Richard Purdie
  2021-08-16  8:52 ` [PATCH 2/2] man-db: Add compression PACKAGECONFIG entries Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2021-08-16  8:52 UTC (permalink / raw)
  To: openembedded-core

Ensure builds as deterministic by covering all compression configuration
options.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/elfutils/elfutils_0.185.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.185.bb b/meta/recipes-devtools/elfutils/elfutils_0.185.bb
index 7a88c5259fd..852d27764c9 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.185.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.185.bb
@@ -42,6 +42,7 @@ DEPENDS_BZIP2:class-target = "bzip2"
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)}"
 PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}"
 PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
 PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
 PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] man-db: Add compression PACKAGECONFIG entries
  2021-08-16  8:52 [PATCH 1/2] elfutils: Add zstd PACKAGECONFIG for determinism Richard Purdie
@ 2021-08-16  8:52 ` Richard Purdie
  2021-08-16 15:31   ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2021-08-16  8:52 UTC (permalink / raw)
  To: openembedded-core

Add PACKAGECONFIG entries for various compression algorithms to ensure
builds are deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-extended/man-db/man-db_2.9.4.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-extended/man-db/man-db_2.9.4.bb b/meta/recipes-extended/man-db/man-db_2.9.4.bb
index c4cdbcc3b49..2b530fb8a6a 100644
--- a/meta/recipes-extended/man-db/man-db_2.9.4.bb
+++ b/meta/recipes-extended/man-db/man-db_2.9.4.bb
@@ -22,6 +22,13 @@ inherit gettext pkgconfig autotools systemd
 EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_unitdir}/system"
 EXTRA_AUTORECONF += "-I ${S}/gl/m4"
 
+PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
+PACKAGECONFIG[gzip] = "--with-gzip,--without-gzip,gzip"
+PACKAGECONFIG[lzip] = "--with-lzip,--without-lzip,lzip"
+PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
+PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
+
 do_install() {
 	autotools_do_install
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH 2/2] man-db: Add compression PACKAGECONFIG entries
  2021-08-16  8:52 ` [PATCH 2/2] man-db: Add compression PACKAGECONFIG entries Richard Purdie
@ 2021-08-16 15:31   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2021-08-16 15:31 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core



On 8/16/21 1:52 AM, Richard Purdie wrote:
> Add PACKAGECONFIG entries for various compression algorithms to ensure
> builds are deterministic.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>   meta/recipes-extended/man-db/man-db_2.9.4.bb | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/meta/recipes-extended/man-db/man-db_2.9.4.bb b/meta/recipes-extended/man-db/man-db_2.9.4.bb
> index c4cdbcc3b49..2b530fb8a6a 100644
> --- a/meta/recipes-extended/man-db/man-db_2.9.4.bb
> +++ b/meta/recipes-extended/man-db/man-db_2.9.4.bb
> @@ -22,6 +22,13 @@ inherit gettext pkgconfig autotools systemd
>   EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_unitdir}/system"
>   EXTRA_AUTORECONF += "-I ${S}/gl/m4"
>   
> +PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
> +PACKAGECONFIG[gzip] = "--with-gzip,--without-gzip,gzip"
> +PACKAGECONFIG[lzip] = "--with-lzip,--without-lzip,lzip"
> +PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
> +PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
> +PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
> +

were there some enabled by default I wonder ? I agree the minimal 
default is a good starting point but just want to understand should we 
need a default compression turned on or not.

>   do_install() {
>   	autotools_do_install
>   
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-16 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  8:52 [PATCH 1/2] elfutils: Add zstd PACKAGECONFIG for determinism Richard Purdie
2021-08-16  8:52 ` [PATCH 2/2] man-db: Add compression PACKAGECONFIG entries Richard Purdie
2021-08-16 15:31   ` [OE-core] " Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.