Skip to content

Commit 82d7038

Browse files
committed
don't strip kernels
1 parent 006757e commit 82d7038

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
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.7-minimal"
13+
postgres17: "17.4.1.067-rc.8"
1414
postgres15: "15.8.1.123"
1515

1616
# Non Postgres Extensions

scripts/90-cleanup-qemu.sh

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,19 @@ elif [ -n "$(command -v apt-get)" ]; then
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

5151
apt-get remove -y --purge linux-headers*
52+
5253
# remove old kernels
53-
CURRENT_KERNEL="$(uname -r | sed 's/-generic//')"
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)
55-
REMOVE_KERNELS=$(echo "$INSTALLED_KERNELS" | grep -v -e "$CURRENT_KERNEL")
56-
for VER in $REMOVE_KERNELS; do
57-
for PREFIX in linux-image linux-modules linux-tools; do
58-
for PKG in $(dpkg -l | awk '{print $2}' | grep "^$PREFIX-$VER"); do
59-
apt-get purge -y "$PKG"
60-
done
61-
done
62-
done
63-
update-grub
54+
# CURRENT_KERNEL="$(uname -r | sed 's/-generic//')"
55+
# 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)
56+
# REMOVE_KERNELS=$(echo "$INSTALLED_KERNELS" | grep -v -e "$CURRENT_KERNEL")
57+
# for VER in $REMOVE_KERNELS; do
58+
# for PREFIX in linux-image linux-modules linux-tools; do
59+
# for PKG in $(dpkg -l | awk '{print $2}' | grep "^$PREFIX-$VER"); do
60+
# apt-get purge -y "$PKG"
61+
# done
62+
# done
63+
# done
64+
# update-grub
6465

6566
apt-get -y autoremove
6667
apt-get -y autoclean

0 commit comments

Comments
 (0)