##// END OF EJS Templates
a
Unknown -
r463:80e9acbeb4b7
parent child
Show More
@@ -452,20 +452,22 else # BUILD_KERNEL=false
452 as_nobody wget -O "${temp_dir}"/kernel-header.deb -c "$RPI_32_KERNELHEADER_URL"
452 as_nobody wget -O "${temp_dir}"/kernel-header.deb -c "$RPI_32_KERNELHEADER_URL"
453
453
454 # Copy downloaded U-Boot sources
454 # Copy downloaded U-Boot sources
455 mv "${temp_dir}"/kernel.deb "${R}"/kernel.deb
455 mv "${temp_dir}"/kernel.deb "${R}"/tmp/kernel.deb
456 mv "${temp_dir}"/kernel-header.deb "${R}"/kernel-header.deb
456 mv "${temp_dir}"/kernel-header.deb "${R}"/tmp/kernel-header.deb
457
457
458 # Set permissions
458 # Set permissions
459 chown -R root:root "${R}"/kernel.deb
459 chown -R root:root "${R}"/tmp/kernel.deb
460 chown -R root:root "${R}"/kernel-header.deb
460 chown -R root:root "${R}"/tmp/kernel-header.deb
461
461
462 # Install kernel
462 # Install kernel
463 chroot_exec dpkg -i "${temp_dir}"/kernel.deb
463 chroot_exec dpkg -i "${R}"/tmp/kernel.deb
464 # Install kernel header
464 # Install kernel header
465 chroot_exec dpkg -i "${temp_dir}"/kernel-header.deb
465 chroot_exec dpkg -i "${R}"/tmp/kernel-header.deb
466
466
467 # Remove temporary directory for U-Boot sources
467 # Remove temporary directory and files
468 rm -fr "${temp_dir}"
468 rm -fr "${temp_dir}"
469 rm -f "${R}"/tmp/kernel.deb
470 rm -f "${R}"/tmp/kernel-header.deb
469 fi
471 fi
470
472
471 # Check if kernel installation was successful
473 # Check if kernel installation was successful
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant