Merge "ci: pin CI to dnsmasq 2.85"

This commit is contained in:
Zuul 2024-03-01 15:03:28 +00:00 committed by Gerrit Code Review
commit 8122861dac

View File

@ -3438,11 +3438,10 @@ function setup_vxlan_network {
function downgrade_dnsmasq {
# NOTE(TheJulia): The intent here is to use dnsmasq version
# which have the fix for segfaults triggered due to configuration
# refresh https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/2026757
# Source install v2.87
# which does not crash on segfaults or sigabort when configuration
# is updated. See https://bugs.launchpad.net/ironic/+bug/2026757
sudo dpkg -r dnsmasq-base
git clone http://thekelleys.org.uk/git/dnsmasq.git -b v2.87 --depth 1
git clone http://thekelleys.org.uk/git/dnsmasq.git -b v2.85 --depth 1
pushd dnsmasq
sed -i 's|^PREFIX.*|PREFIX = /usr|' Makefile
sudo make install