Don't upgrade the kernel on Beaglebone Black

This commit is contained in:
Bob Mottram 2015-07-18 23:21:03 +01:00
parent 3217d9def6
commit dba1d31af3
1 changed files with 0 additions and 19 deletions

View File

@ -105,10 +105,6 @@ ROUTE_THROUGH_TOR="no"
TLS_TIME_SOURCE1="google.com" TLS_TIME_SOURCE1="google.com"
TLS_TIME_SOURCE2="www.ptb.de" 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 # The type of hardware random number generator being used
# This can be empty, "beaglebone" or "onerng" # This can be empty, "beaglebone" or "onerng"
HWRNG_TYPE= HWRNG_TYPE=
@ -4922,20 +4918,6 @@ function enable_backports {
echo 'enable_backports' >> $COMPLETION_FILE 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 { function enable_zram {
if grep -Fxq "enable_zram" $COMPLETION_FILE; then if grep -Fxq "enable_zram" $COMPLETION_FILE; then
return return
@ -9729,7 +9711,6 @@ initial_setup
enforce_good_passwords enforce_good_passwords
install_editor install_editor
change_login_message change_login_message
update_the_kernel
enable_zram enable_zram
random_number_generator random_number_generator
set_your_domain_name set_your_domain_name