Usually kernel install is unnecessary, so don't quit if it fails
This commit is contained in:
1 parent
269cecd3ee
commit
90ea6c6bd1
1 file changed
+4
-1
+4
-1
@@ -102,7 +102,10 @@ OF13_SWITCH_REV=${OF13_SWITCH_REV:-""}
|
||||
function kernel {
|
||||
echo "Install Mininet-compatible kernel if necessary"
|
||||
sudo apt-get update
|
||||
$install linux-image-$KERNEL_NAME
|
||||
if ! $install linux-image-$KERNEL_NAME; then
|
||||
echo "Could not install linux-image-$KERNEL_NAME"
|
||||
echo "Skipping - assuming installed kernel is OK."
|
||||
fi
|
||||
}
|
||||
|
||||
function kernel_clean {
|
||||
|
||||
Reference in new issue
Block a user