From 35dfef22261b0fb51414836ca93cb9513d566ebc Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Mon, 22 Sep 2025 19:28:14 -0700 Subject: [PATCH] scripts/build_utils.sh: only do gcc ppa version dance on Ubuntu 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 --- scripts/build_utils.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 02d569a9..c8dde312 100755 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -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 -- 2.39.5