##// END OF EJS Templates
fix
Unknown -
r381:9f91912fd494
parent child
Show More
@@ -387,8 +387,13 if [ "$KERNEL_ARCH" = arm64 ] && ( [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ]
387 rm -fr "${temp_dir}"
387 rm -fr "${temp_dir}"
388
388
389 # Set permissions of the kernel sources
389 # Set permissions of the kernel sources
390 chown -R root:root "${R}/boot/"
390 mkdir "${R}/boot/firmware"
391 chown -R root:root "${R}/lib"
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 fi
397 fi
393
398
394 # Check if kernel installation was successful
399 # Check if kernel installation was successful
@@ -398,13 +403,5 fi
398 cleanup
403 cleanup
399 exit 1
404 exit 1
400 fi
405 fi
401
406
402 if [ "$SET_ARCH" = 64 ] ; then
407 fi No newline at end of file
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
@@ -46,7 +46,6 if [ "$ENABLE_VIDEOCORE" = true ] ; then
46
46
47 #build userland
47 #build userland
48 make -j "$(nproc)"
48 make -j "$(nproc)"
49 #pop us out of build dir
49 popd
50 popd
50 #include default_installdir in path
51 # chroot_exec export PATH="${PATH}":/opt/vc/bin
52 fi
51 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant