From 760e800b68b7ada0c0b130fa0c68543e02f1d6ad Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 10 Nov 2026 19:40:25 +0000 Subject: pdns-recursor: T9608: use a VyOS version suffix for the rebuild 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. --- scripts/package-build/pdns-recursor/package.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts') 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" +""" -- cgit v1.2.3