瀏覽代碼

Don't upgrade the kernel on Beaglebone Black

Bob Mottram 9 年之前
父節點
當前提交
dba1d31af3
共有 1 個檔案被更改,包括 0 行新增19 行删除
  1. 0
    19
      src/freedombone

+ 0
- 19
src/freedombone 查看文件

105
 TLS_TIME_SOURCE1="google.com"
105
 TLS_TIME_SOURCE1="google.com"
106
 TLS_TIME_SOURCE2="www.ptb.de"
106
 TLS_TIME_SOURCE2="www.ptb.de"
107
 
107
 
108
-# kernel specifically tweaked for the Beaglebone Black
109
-# See http://rcn-ee.net/deb/jessie-armhf/
110
-KERNEL_VERSION="v3.15.10-bone8"
111
-
112
 # The type of hardware random number generator being used
108
 # The type of hardware random number generator being used
113
 # This can be empty, "beaglebone" or "onerng"
109
 # This can be empty, "beaglebone" or "onerng"
114
 HWRNG_TYPE=
110
 HWRNG_TYPE=
4922
   echo 'enable_backports' >> $COMPLETION_FILE
4918
   echo 'enable_backports' >> $COMPLETION_FILE
4923
 }
4919
 }
4924
 
4920
 
4925
-function update_the_kernel {
4926
-  if grep -Fxq "update_the_kernel" $COMPLETION_FILE; then
4927
-      return
4928
-  fi
4929
-  # if this is not a beaglebone or is a docker container
4930
-  # then just use the standard kernel
4931
-  if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then
4932
-      return
4933
-  fi
4934
-  cd /opt/scripts/tools
4935
-  ./update_kernel.sh --kernel $KERNEL_VERSION
4936
-  echo 'update_the_kernel' >> $COMPLETION_FILE
4937
-}
4938
-
4939
 function enable_zram {
4921
 function enable_zram {
4940
   if grep -Fxq "enable_zram" $COMPLETION_FILE; then
4922
   if grep -Fxq "enable_zram" $COMPLETION_FILE; then
4941
       return
4923
       return
9729
 enforce_good_passwords
9711
 enforce_good_passwords
9730
 install_editor
9712
 install_editor
9731
 change_login_message
9713
 change_login_message
9732
-update_the_kernel
9733
 enable_zram
9714
 enable_zram
9734
 random_number_generator
9715
 random_number_generator
9735
 set_your_domain_name
9716
 set_your_domain_name