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