Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # Directory to copy the kernel, the initramfs...
  2. ESP_DIR="esp/EFI/arch"
  3.  
  4. build() {
  5. cp -af /boot/vmlinuz-linux "${ESP_DIR}/"
  6. [[ -e /boot/intel-ucode.img ]] && cp -af /boot/intel-ucode.img "${ESP_DIR}/"
  7. [[ -e /boot/amd-ucode.img ]] && cp -af /boot/amd-ucode.img "${ESP_DIR}/"
  8. }
  9.  
  10. help() {
  11. cat <<HELPEOF
  12. This hook copies the kernel to the ESP partition
  13. HELPEOF
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement