]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
scripts/build_utils: setup_pbuilder_for_old_gcc() installs requested version 2405/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 18 Jul 2025 16:20:55 +0000 (12:20 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 18 Jul 2025 16:21:59 +0000 (12:21 -0400)
commit2086c6dc26e4c695cb06449bf5d44414775ff0c7
treed0d2d7487900f05b1e6b5b99e4a8f721e1b6379b
parente46a381c1510ecb38bd198a37dc8b9200d0409c8
scripts/build_utils: setup_pbuilder_for_old_gcc() installs requested version

ubuntu noble is special in that we gcc-14 is available but gcc-13 is the
default. before using update-alternatives to prefer gcc-14, we need to
make sure it's installed

copy the relevant bit from setup_pbuilder_for_new_gcc()'s hook
D05install-new-gcc to make sure the requested version is installed
before running the D10update-gcc-alternatives hook

Signed-off-by: Casey Bodley <cbodley@redhat.com>
scripts/build_utils.sh