From dba1d31af3fe4662e128edd1602a7e80afc3c734 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 18 Jul 2015 23:21:03 +0100 Subject: [PATCH] Don't upgrade the kernel on Beaglebone Black --- src/freedombone | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/freedombone b/src/freedombone index f90fb7cd..1b17a3ce 100755 --- a/src/freedombone +++ b/src/freedombone @@ -105,10 +105,6 @@ ROUTE_THROUGH_TOR="no" TLS_TIME_SOURCE1="google.com" TLS_TIME_SOURCE2="www.ptb.de" -# kernel specifically tweaked for the Beaglebone Black -# See http://rcn-ee.net/deb/jessie-armhf/ -KERNEL_VERSION="v3.15.10-bone8" - # The type of hardware random number generator being used # This can be empty, "beaglebone" or "onerng" HWRNG_TYPE= @@ -4922,20 +4918,6 @@ function enable_backports { echo 'enable_backports' >> $COMPLETION_FILE } -function update_the_kernel { - if grep -Fxq "update_the_kernel" $COMPLETION_FILE; then - return - fi - # if this is not a beaglebone or is a docker container - # then just use the standard kernel - if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then - return - fi - cd /opt/scripts/tools - ./update_kernel.sh --kernel $KERNEL_VERSION - echo 'update_the_kernel' >> $COMPLETION_FILE -} - function enable_zram { if grep -Fxq "enable_zram" $COMPLETION_FILE; then return @@ -9729,7 +9711,6 @@ initial_setup enforce_good_passwords install_editor change_login_message -update_the_kernel enable_zram random_number_generator set_your_domain_name