@@ -12,7 +12,7 if [ -z "$APT_PROXY" ] ; then | |||
|
12 | 12 | fi |
|
13 | 13 | |
|
14 | 14 | if [ "$BUILD_KERNEL" = false ] ; then |
|
15 | if [ RPI_MODEL = 2 ] ; then | |
|
15 | if [ "$RPI_MODEL" = 2 ] ; then | |
|
16 | 16 | # Install APT pinning configuration for flash-kernel package |
|
17 | 17 | install_readonly files/apt/flash-kernel "${ETC_DIR}/apt/preferences.d/flash-kernel" |
|
18 | 18 | |
@@ -25,6 +25,7 if [ "$BUILD_KERNEL" = false ] ; then | |||
|
25 | 25 | chroot_exec apt-get -qq -y --allow-unauthenticated install collabora-obs-archive-keyring |
|
26 | 26 | # if RPI_MODEL = [0] || [1] || [1P] |
|
27 | 27 | else |
|
28 | echo "error: ATM there is just a precompiled kernel for model 2"; | |
|
28 | 29 | # insert apt configuration for precompiled kernel repository for RPI 0,1,1P |
|
29 | 30 | fi |
|
30 | 31 |
@@ -153,7 +153,7 ENABLE_IFNAMES=${ENABLE_IFNAMES:=true} | |||
|
153 | 153 | DISABLE_UNDERVOLT_WARNINGS=${DISABLE_UNDERVOLT_WARNINGS:=} |
|
154 | 154 | |
|
155 | 155 | # Kernel compilation settings |
|
156 |
BUILD_KERNEL=${BUILD_KERNEL:= |
|
|
156 | BUILD_KERNEL=${BUILD_KERNEL:=true} | |
|
157 | 157 | KERNEL_REDUCE=${KERNEL_REDUCE:=false} |
|
158 | 158 | KERNEL_THREADS=${KERNEL_THREADS:=1} |
|
159 | 159 | KERNEL_HEADERS=${KERNEL_HEADERS:=true} |
@@ -510,6 +510,7 if [ "$ENABLE_REDUCE" = true ] ; then | |||
|
510 | 510 | fi |
|
511 | 511 | fi |
|
512 | 512 | |
|
513 | #backwards compability to jessie - untested | |
|
513 | 514 | if [ "$RELEASE" != "jessie" ] ; then |
|
514 | 515 | APT_INCLUDES="${APT_INCLUDES},libnss-systemd" |
|
515 | 516 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant