From fdce9263472fdfaa6347d0019188ea092f738617 Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 4 Mar 2021 13:37:15 +0100 Subject: [PATCH] Don't update kernel and initramfs related tools --- bootstrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 4b1db6d..0cfba15 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -163,6 +163,12 @@ ubuntu() { ;; esac + # 0. hold - those doesn't matter, since we never get to the point when + # reboot is needed. + sudo apt-mark hold linux-headers-generic linux-headers-virtual \ + linux-image-virtual linux-virtual cryptsetup-initramfs \ + busybox-initramfs cloud-init initramfs-tools + # 1. update sudo apt update && sudo apt -y upgrade