##// END OF EJS Templates
a
Unknown -
r461:94a4fd90add9
parent child
Show More
@@ -441,22 +441,19 else # BUILD_KERNEL=false
441 441 touch "${BOOT_DIR}/cmdline.txt"
442 442 fi
443 443
444 # INstall Kernel from hypriot comptabile with all Raspberry PI
444 # Install Kernel from hypriot comptabile with all Raspberry PI
445 445 if [ "$SET_ARCH" = 32 ] ; then
446 # Create temporary directory for dl
447 temp_dir=$(as_nobody mktemp -d)
448
449 446 # Fetch kernel
450 as_nobody wget -O "${temp_dir}"/kernel.deb -c "$RPI_32_KERNEL_URL"
447 as_nobody wget -O "${R}"/kernel.deb -c "$RPI_32_KERNEL_URL"
451 448
452 449 # Fetch kernel header
453 as_nobody wget -O "${temp_dir}"/kernel-header.deb -c "$RPI_32_KERNELHEADER_URL"
450 as_nobody wget -O "${R}"/kernel-header.deb -c "$RPI_32_KERNELHEADER_URL"
454 451
455 452 # Install kernel
456 chroot_exec dpkg -i "${temp_dir}"/kernel.deb
453 chroot_exec dpkg -i "${R}"/kernel.deb
457 454
458 455 # Install kernel header
459 chroot_exec dpkg -i "${temp_dir}"/kernel-header.deb
456 chroot_exec dpkg -i "${R}"/kernel-header.deb
460 457
461 458 # Remove temporary directory for U-Boot sources
462 459 rm -fr "${temp_dir}"
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant