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