]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils.sh: only do gcc ppa version dance on Ubuntu 2449/head
authorDan Mick <dan.mick@redhat.com>
Tue, 23 Sep 2025 02:28:14 +0000 (19:28 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 23 Sep 2025 02:28:14 +0000 (19:28 -0700)
This doesn't apply to debian.  Maybe debian has similar needs,
but who knows, because we don't test the builds (or indeed
even do them until release time), but this code is definitely
not appropriate for bookworm, so avoid it for now.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
scripts/build_utils.sh

index 02d569a95891b25825aab72fbffec9afacbab5d0..c8dde312d8014340e1aae3e9723c998d4f437f5a 100755 (executable)
@@ -636,8 +636,10 @@ setup_pbuilder() {
         echo "USENETWORK=yes" >> ~/.pbuilderrc
         local hookdir
         hookdir=$(recreate_hookdir)
-        setup_updates_repo $hookdir
-        setup_pbuilder_for_ppa $hookdir
+        if [[ "$NORMAL_DISTRO" = ubuntu ]]; then
+            setup_updates_repo $hookdir
+            setup_pbuilder_for_ppa $hookdir
+        fi
         echo "HOOKDIR=$hookdir" >> ~/.pbuilderrc
     fi