elfutils: Add zstd PACKAGECONFIG for determinism
PATCH 1/2 elfutils: Add zstd PACKAGECONFIG for determinism
Ensure builds as deterministic by covering all compression configuration options.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-devtools/elfutils/elfutils_0.185.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/elfutils/elfutils_0.185.bb +1 -0
@@ -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"
Signature · 1 line
2.30.2
PATCH 2/2 man-db: Add compression PACKAGECONFIG entries
Add PACKAGECONFIG entries for various compression algorithms to ensure builds are deterministic.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-extended/man-db/man-db_2.9.4.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-extended/man-db/man-db_2.9.4.bb +7 -0
@@ -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
Signature · 1 line
2.30.2
Re: [OE-core] [PATCH 2/2] man-db: Add compression PACKAGECONFIG entries
Quoted 13 lines · Richard Purdie
Add PACKAGECONFIG entries for various compression algorithms to ensure builds are deterministic.
Signed-off-by Richard Purdie <[email protected]>--- meta/recipes-extended/man-db/man-db_2.9.4.bb | 7 +++++++ 1 file changed, 7 insertions(+)meta/recipes-extended/man-db/man-db_2.9.4.bb +0
-0
meta/recipes-extended/man-db/man-db_2.9.4.bb inherit gettext pkgconfig autotools systemd · line 31
Quoted 10 lines
meta/recipes-extended/man-db/man-db_2.9.4.bb +7
-0@@ -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.
Quoted 8 lines
meta/recipes-extended/man-db/man-db_2.9.4.bb +0
-0do_install() { autotools_do_install