@@ -387,8 +387,13 if [ "$KERNEL_ARCH" = arm64 ] && ( [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] | |||
|
387 | 387 | rm -fr "${temp_dir}" |
|
388 | 388 | |
|
389 | 389 | # Set permissions of the kernel sources |
|
390 | chown -R root:root "${R}/boot/" | |
|
391 | chown -R root:root "${R}/lib" | |
|
390 | mkdir "${R}/boot/firmware" | |
|
391 | cp -r "${R}/boot/ "${R}/boot/firmware" | |
|
392 | chown -R root:root "${R}/boot/firmware" | |
|
393 | chown -R root:root "${R}/lib" | |
|
394 | ||
|
395 | #Create cmdline.txt | |
|
396 | touch "${BOOT_DIR}/cmdline.txt" | |
|
392 | 397 |
|
|
393 | 398 | |
|
394 | 399 | # Check if kernel installation was successful |
@@ -398,13 +403,5 fi | |||
|
398 | 403 | cleanup |
|
399 | 404 | exit 1 |
|
400 | 405 | fi |
|
401 | ||
|
402 | if [ "$SET_ARCH" = 64 ] ; then | |
|
403 | echo "Using precompiled arm64 kernel" | |
|
404 | else | |
|
405 | echo "error: no precompiled arm64 (bcmrpi3) kernel found" | |
|
406 | exit 1 | |
|
407 | # inset precompiled 64 bit kernel code here | |
|
408 | fi | |
|
409 | #fi build_kernel=true | |
|
410 | fi | |
|
406 | ||
|
407 | fi No newline at end of file |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant