#!/usr/bin/env sh mount /esp cd /usr/src/linux rm .version [[ ! -f .config ]] && zcat /proc/config.gz > .config make oldconfig && #make nconfig && make -j20 bzImage modules && make modules_install && ( cd /esp/EFI/gentoo mv -f bootx64.efi bootx64.old.efi &>/dev/null; cp /usr/src/linux/arch/x86/boot/bzImage bootx64.efi )