##// END OF EJS Templates
syntax bugfixes :D
Unknown -
r304:66368b521be9
parent child
Show More
@@ -28,7 +28,7 if [ "$BUILD_KERNEL" = true ] ; then
28 28 as_nobody -H git -C "${temp_dir}" clone --depth=1 "${KERNEL_URL}" linux
29 29 else
30 30 as_nobody -H git -C "${temp_dir}" clone --depth=1 --branch "${KERNEL_BRANCH}" "${KERNEL_URL}" linux
31 fi
31 fi
32 32
33 33 # Copy downloaded kernel sources
34 34 cp -r "${temp_dir}/linux/"* "${R}/usr/src/linux/"
@@ -107,7 +107,7 if [ "$BUILD_KERNEL" = true ] ; then
107 107 echo "CONFIG_CRYPTO_XTS=y" >> ${KERNEL_DIR}/.config
108 108 echo "CONFIG_CRYPTO_SHA512=y" >> ${KERNEL_DIR}/.config
109 109 echo "CONFIG_CRYPTO_MANAGER=y" >> ${KERNEL_DIR}/.config
110 fi
110 fi
111 111 fi
112 112
113 113 # Copy custom kernel configuration file
@@ -233,7 +233,7 if [ "$BUILD_KERNEL" = true ] ; then
233 233 chroot_exec ln -sf /usr/src/linux "/lib/modules/${KERNEL_VERSION}/source"
234 234 fi
235 235 fi
236 elif [ BUILD_KERNEL = false ]
236 elif [ "$BUILD_KERNEL" = false ] ; then
237 237 # Collabora states this kernel is just for RPI 2 so better implement a check.
238 238 #From https://repositories.collabora.co.uk/debian/dists/jessie/rpi2/binary-armhf/Packages
239 239 #"The Linux kernel "${COLLABORA_KERNEL}" and modules for use on ARMv7 kernel for Raspberry pi 2 model B+"
@@ -263,7 +263,7 elif [ BUILD_KERNEL = false ]
263 263 fi
264 264 #if [ "$SET_ARCH" = 64 ]
265 265 else
266 echo " error: no precompiled 64bit kernel found"
266 echo "error: no precompiled 64bit kernel found"
267 267 exit 1
268 268 # inset precompiled 64 bit kernel code here
269 269 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant