@@ -8,7 +8,7 | |||||
8 | # Fetch and build latest raspberry kernel |
|
8 | # Fetch and build latest raspberry kernel | |
9 | if [ "$BUILD_KERNEL" = true ] ; then |
|
9 | if [ "$BUILD_KERNEL" = true ] ; then | |
10 | # Setup source directory |
|
10 | # Setup source directory | |
11 | mkdir -p "${R}/usr/src/linux" |
|
11 | mkdir -p "${KERNEL_DIR}" | |
12 |
|
12 | |||
13 | # Copy existing kernel sources into chroot directory |
|
13 | # Copy existing kernel sources into chroot directory | |
14 | if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then |
|
14 | if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then |
@@ -83,7 +83,7 ETC_DIR="${R}/etc" | |||||
83 | LIB_DIR="${R}/lib" |
|
83 | LIB_DIR="${R}/lib" | |
84 | BOOT_DIR="${R}/boot/firmware" |
|
84 | BOOT_DIR="${R}/boot/firmware" | |
85 | KERNEL_DIR="${R}/usr/src/linux" |
|
85 | KERNEL_DIR="${R}/usr/src/linux" | |
86 |
WLAN_FIRMWARE_DIR="${R} |
|
86 | WLAN_FIRMWARE_DIR="${LIB_DIR}/firmware/brcm" | |
87 |
|
87 | |||
88 | # Firmware directory: Blank if download from github |
|
88 | # Firmware directory: Blank if download from github | |
89 | RPI_FIRMWARE_DIR=${RPI_FIRMWARE_DIR:=""} |
|
89 | RPI_FIRMWARE_DIR=${RPI_FIRMWARE_DIR:=""} |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant