diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-11-10 19:40:25 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-11-10 15:14:11 -0500 |
| commit | 760e800b68b7ada0c0b130fa0c68543e02f1d6ad (patch) | |
| tree | f6426a090ceb9d1c42b18eb5f35081d74f7eda4c | |
| parent | 9578ea54e5650858ab467aa89ae77f032f91b736 (diff) | |
| download | vyos-build-T9608-pdns-recursor-version.tar.gz vyos-build-T9608-pdns-recursor-version.zip | |
pdns-recursor: T9608: use a VyOS version suffix for the rebuildT9608-pdns-recursor-version
Our pdns-recursor rebuild kept Debian's version 4.8.8-1+deb12u1, so the
VyOS repository and bookworm-security shipped different binaries under
the same version. dpkg does not record where a package came from, and
when both builds carry identical size and dependency metadata - as they
do on arm64 - APT associates the installed package with the Debian
entry. The dist-upgrade live-build runs during the binary stage then
sees our build as a downgrade and the ISO build aborts.
Append +vyos0 to the version so our build is always distinct and newer.
| -rw-r--r-- | scripts/package-build/pdns-recursor/package.toml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/package-build/pdns-recursor/package.toml b/scripts/package-build/pdns-recursor/package.toml index 127b3b8c..2819f939 100644 --- a/scripts/package-build/pdns-recursor/package.toml +++ b/scripts/package-build/pdns-recursor/package.toml @@ -2,3 +2,11 @@ name = "pdns-recursor" commit_id = "c24eb42e31172dc71b36e822915e802f489fe9ee" # debian/bookworm, 4.8.8-1+deb12u1 scm_url = "https://salsa.debian.org/debian/pdns-recursor.git" + +# Our rebuild must not share its version with the Debian package, otherwise APT +# cannot tell the installed build apart and reports a downgrade on dist-upgrade +pre_build_hook = """ +export DEBEMAIL="maintainers@vyos.net" +export DEBFULLNAME="VyOS Package Maintainers" +dch -v "4.8.8-1+deb12u1+vyos0" "Rebuild with VyOS patches" +""" |
