Merge "Removing old grub removal step"
This commit is contained in:
commit
50390d047f
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
# The grub post-kernel install hook will barf if the block device can't be
|
||||
# found (as happens in a chroot).
|
||||
# Temporarily remove grub, to avoid that confusion.
|
||||
|
||||
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if dpkg-query -W grub-pc; then
|
||||
apt-get -y remove grub-pc
|
||||
fi
|
||||
|
||||
if dpkg-query -W grub2-common; then
|
||||
apt-get -y remove grub2-common
|
||||
fi
|
Loading…
Reference in New Issue
Block a user