Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for reproducable builds, and other minor build system fixes #2376

Merged
merged 6 commits into from
Jan 28, 2024

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

…FILE

We need to check and remove a leading "NONE" from ${sysconfdir} when
using to generate the DEFAULT_CONFIG_FILE.

Signed-off-by: Quentin Armitage <[email protected]>
Commit 42a746c - "configure: ${prefix} defaults to NONE which messes
up DEFAULT_CONFIG_FILE" had a script error, which is now fixed.

Signed-off-by: Quentin Armitage <[email protected]>
There are users who want reproducable builds in the event that
the paths to header files change between builds.

Due to 'keepalived -v' outputting (build) configure options, if
the location of the header files changed, then the keepalived
binary would change.

If keepalived is build with the --enable-reproducable-build option,
then the configure options are written to
keepalived/keepalived.config-opts in the build tree, which is then
installed to $(DESTDIR)/etc/keepalived/keepalived.config-opts (or
whereever the default config file is installed).

keepalived reads this file for generating the 'keepalived -v'
output (and also coredump log entries), and so this file must be
installed correctly for keepalived to run.

If --enable-reproducable-build is not specified to configure, then
the behaviour of keepalived and the required installed files are
not changed.

Signed-off-by: Quentin Armitage <[email protected]>
Commit 30d2f7 - "build: Add configure option --enable-reproducable-build"
misspelled reproducible.

s/reproducable/reproducible/

A bit embarrassing really. :(

Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit 9a64abf into acassen:master Jan 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant