Don't upgrade the kernel on Beaglebone Black
This commit is contained in:
parent
3217d9def6
commit
dba1d31af3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue