Fix ZFSonLinux driver prerequisites setup

We call "apt-get upgrade" to apply changes related to ppa
of ZFS on linux. But "grub"-related packaged started making
dialog that hangs forever in case of automatic setup.
So, exclude "grub" related packages from update as redundant
for unblocking ZFSonLinux driver prerequisites setup.

Change-Id: Ibb94604710b0d4199825e770194655653c26bf89
Closes-Bug: #1609696
This commit is contained in:
Valeriy Ponomaryov 2016-08-04 13:24:30 +03:00
parent 4c2a69c7e1
commit 88fb70f92b
1 changed files with 8 additions and 0 deletions

View File

@ -578,7 +578,15 @@ function install_manila {
# NOTE(vponomaryov): following installation is valid for Ubuntu 'trusty'.
sudo apt-get install -y software-properties-common
sudo apt-add-repository --yes ppa:zfs-native/stable
# Workaround for bug #1609696
sudo apt-mark hold grub*
sudo apt-get -y -q update && sudo apt-get -y -q upgrade
# Workaround for bug #1609696
sudo apt-mark unhold grub*
sudo apt-get install -y linux-headers-generic
sudo apt-get install -y build-essential
sudo apt-get install -y ubuntu-zfs