Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Directory to copy the kernel, the initramfs...
- ESP_DIR="esp/EFI/arch"
- build() {
- cp -af /boot/vmlinuz-linux "${ESP_DIR}/"
- [[ -e /boot/intel-ucode.img ]] && cp -af /boot/intel-ucode.img "${ESP_DIR}/"
- [[ -e /boot/amd-ucode.img ]] && cp -af /boot/amd-ucode.img "${ESP_DIR}/"
- }
- help() {
- cat <<HELPEOF
- This hook copies the kernel to the ESP partition
- HELPEOF
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement