1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-24 06:04:47 +00:00

prune previous libLLVM; OK jca deraadt

Reclaiming ~10% of that gigabyte sysupgrade now wants in /usr/ seems nice:

octeon  -r--r--r--  1 root  bin   106M Apr 14  2025 /usr/lib/libLLVM.so.8.0
amd64   -r--r--r--  1 root  bin  82.6M Jun 10  2025 /usr/lib/libLLVM.so.8.0

distrib/sets/lists/base/md.* shows macppc as last arch to switch to 9.0
(even bigger) on 01.08.25, so nothing should use old libs anymore by now.
This commit is contained in:
kn
2026-01-17 21:49:39 +00:00
parent 4409e1965d
commit 8be1667ad8

View File

@@ -1,5 +1,5 @@
#!/bin/ksh
# $OpenBSD: install.sub,v 1.1283 2025/12/09 05:56:22 afresh1 Exp $
# $OpenBSD: install.sub,v 1.1284 2026/01/17 21:49:39 kn Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -1794,7 +1794,7 @@ install_files() {
# versioned areas which will be replaced from the new sets
if isin base$VERSION.tgz $_get_sets; then
rm -rf /mnt/usr/share/relink/*
rm -rf /mnt/usr/lib/libLLVM.so.[0-7].0
rm -rf /mnt/usr/lib/libLLVM.so.[0-8].0
rm -rf /mnt/usr/libdata/perl5
fi
if isin comp$VERSION.tgz $_get_sets; then