[sysadmin/ci-images] freebsd150-qt610: FreeBSD CI: Remove more stuff from the base

Gleb Popov <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 850f1f4a2106947bdcfab1ab0271ca64a63a9c0c by Gleb Popov.
Committed on 01/08/2026 at 12:30.
Pushed by arrowdodger into branch 'master'.

FreeBSD CI: Remove more stuff from the base

M  +0    -7    freebsd150-qt610/build.sh
M  +10   -0    freebsd150-qt610/system-setup.sh

https://invent.kde.org/sysadmin/ci-images/-/commit/850f1f4a2106947bdcfab1ab0271ca64a63a9c0c

diff --git a/freebsd150-qt610/build.sh b/freebsd150-qt610/build.sh
index 6976bdc..e920230 100755
--- a/freebsd150-qt610/build.sh
+++ b/freebsd150-qt610/build.sh
@@ -1,13 +1,6 @@
 #!/bin/sh
 set -e
 
-# Remove debug symbols for binaries that come with FreeBSD base system
-rm -rf /usr/lib/debug
-
-# Remove 32 bit compat libraries. This saves some space and also prevents
-# 32 bit .pc files from participating in pkg-config's workings.
-rm -rf /usr/lib32
-
 # Ensure pkg is installed
 ASSUME_ALWAYS_YES=yes pkg update && pkg clean -a -y
 
diff --git a/freebsd150-qt610/system-setup.sh b/freebsd150-qt610/system-setup.sh
index dd227a1..153fe3e 100755
--- a/freebsd150-qt610/system-setup.sh
+++ b/freebsd150-qt610/system-setup.sh
@@ -1,6 +1,16 @@
 #!/usr/local/bin/bash
 set -e
 
+# Remove debug symbols for binaries that come with FreeBSD base system
+pkg remove -yg '*-dbg'
+
+# Remove 32 bit compat libraries. This saves some space and also prevents
+# 32 bit .pc files from participating in pkg-config's workings.
+pkg remove -yg '*-lib32'
+
+pkg remove -yfx firmware
+pkg remove -yfg 'FreeBSD*tests*'
+
 # Refresh the package manager and start installing all our packages
 packages=`cat /var/lib/ci-files/ports-list | grep -v "^#"`
 pkg update
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.