From 9f91912fd494ca454d6d96c1ac0869302aa1751b 2018-11-20 15:02:00 From: Unknown Date: 2018-11-20 15:02:00 Subject: [PATCH] fix --- diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index ecf5945..8307876 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -387,8 +387,13 @@ if [ "$KERNEL_ARCH" = arm64 ] && ( [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] rm -fr "${temp_dir}" # Set permissions of the kernel sources - chown -R root:root "${R}/boot/" - chown -R root:root "${R}/lib" + mkdir "${R}/boot/firmware" + cp -r "${R}/boot/ "${R}/boot/firmware" + chown -R root:root "${R}/boot/firmware" + chown -R root:root "${R}/lib" + + #Create cmdline.txt + touch "${BOOT_DIR}/cmdline.txt" fi # Check if kernel installation was successful @@ -398,13 +403,5 @@ fi cleanup exit 1 fi - - if [ "$SET_ARCH" = 64 ] ; then - echo "Using precompiled arm64 kernel" - else - echo "error: no precompiled arm64 (bcmrpi3) kernel found" - exit 1 - # inset precompiled 64 bit kernel code here - fi -#fi build_kernel=true -fi + +fi \ No newline at end of file diff --git a/bootstrap.d/16-videocore.sh b/bootstrap.d/16-videocore.sh index aa6d2d0..026b9ee 100644 --- a/bootstrap.d/16-videocore.sh +++ b/bootstrap.d/16-videocore.sh @@ -46,7 +46,6 @@ if [ "$ENABLE_VIDEOCORE" = true ] ; then #build userland make -j "$(nproc)" + #pop us out of build dir popd - #include default_installdir in path -# chroot_exec export PATH="${PATH}":/opt/vc/bin fi