Skip to content

Commit e798792

Browse files
committed
remove headers
1 parent dee67d0 commit e798792

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ansible/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ postgres_major:
1010
# Full version strings for each major version
1111
postgres_release:
1212
postgresorioledb-17: "17.5.1.009-orioledb"
13-
postgres17: "17.4.1.067-rc.6-minimal"
13+
postgres17: "17.4.1.067-rc.7-minimal"
1414
postgres15: "15.8.1.123"
1515

1616
# Non Postgres Extensions

scripts/90-cleanup-qemu.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ elif [ -n "$(command -v apt-get)" ]; then
4848

4949
apt remove -y --purge libc6-dev linux-libc-dev libevent-dev libpcre3-dev libsystemd-dev packagekit multipath-tools unattended-upgrades plymouth gnupg open-vm-tools xauth lxd-installer publicsuffix libclang-cpp18 python3-twisted python-babel-localedata libicu74 python3-pygments fonts-dejavu* python3-botocore
5050

51+
apt-get remove -y --purge linux-headers*
5152
# remove old kernels
5253
CURRENT_KERNEL="$(uname -r | sed 's/-generic//')"
53-
INSTALLED_KERNELS=$(dpkg -l | awk '{print $2}' | grep -Eo 'linux-(image|headers|modules|tools)-[0-9]+' | sed -E 's/linux-(image|headers|modules|tools)-//' | sort -Vu)
54+
INSTALLED_KERNELS=$(dpkg -l | awk '{print $2}' | grep -Eo 'linux-(image|headers|modules|tools)-[0-9]+' | sed -E 's/linux-(image|modules|tools)-//' | sort -Vu)
5455
REMOVE_KERNELS=$(echo "$INSTALLED_KERNELS" | grep -v -e "$CURRENT_KERNEL")
5556
for VER in $REMOVE_KERNELS; do
56-
for PREFIX in linux-headers linux-image linux-modules linux-tools; do
57+
for PREFIX in linux-image linux-modules linux-tools; do
5758
for PKG in $(dpkg -l | awk '{print $2}' | grep "^$PREFIX-$VER"); do
5859
apt-get purge -y "$PKG"
5960
done

0 commit comments

Comments
 (0)