##// 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 387 rm -fr "${temp_dir}"
388 388
389 389 # Set permissions of the kernel sources
390 chown -R root:root "${R}/boot/"
390 mkdir "${R}/boot/firmware"
391 cp -r "${R}/boot/ "${R}/boot/firmware"
392 chown -R root:root "${R}/boot/firmware"
391 393 chown -R root:root "${R}/lib"
394
395 #Create cmdline.txt
396 touch "${BOOT_DIR}/cmdline.txt"
392 397 fi
393 398
394 399 # Check if kernel installation was successful
@@ -399,12 +404,4 fi
399 404 exit 1
400 405 fi
401 406
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 407 fi No newline at end of file
@@ -46,7 +46,6 if [ "$ENABLE_VIDEOCORE" = true ] ; then
46 46
47 47 #build userland
48 48 make -j "$(nproc)"
49 #pop us out of build dir
49 50 popd
50 #include default_installdir in path
51 # chroot_exec export PATH="${PATH}":/opt/vc/bin
52 51 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant