Usually kernel install is unnecessary, so don't quit if it fails
This commit is contained in:
+4
-1
@@ -102,7 +102,10 @@ OF13_SWITCH_REV=${OF13_SWITCH_REV:-""}
|
|||||||
function kernel {
|
function kernel {
|
||||||
echo "Install Mininet-compatible kernel if necessary"
|
echo "Install Mininet-compatible kernel if necessary"
|
||||||
sudo apt-get update
|
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 {
|
function kernel_clean {
|
||||||
|
|||||||
Reference in New Issue
Block a user