Freeze grub updates for x86

This commit is contained in:
Taylor Helsper 2020-08-20 19:59:40 -05:00
parent 1f04e7d85d
commit e0a1167f43

View File

@ -65,6 +65,13 @@ set -e
# Check for updates (might auto-install all updates later)
export DEBIAN_FRONTEND=noninteractive
$TORIFY apt-get update
# Freeze any packages we don't want to update
if [ $IS_X86 = 1 ]; then
apt-mark hold grub*
fi
# Upgrade packages
$TORIFY apt-get -y upgrade
# Install any new software