# vim: ft=zsh noet if [[ $1 == info ]]; then FSB_INFO_DEPEND=gentoo_genkernel FSB_INFO_BASE=%s FSB_INFO_DIR=%s-boot return elif [[ $1 != build ]]; then die "unimplemented action: $*" fi mkdir -p $build_dir/boot/grub $build_dir/boot/grub2 || die mkdir -p cat >$build_dir/boot/grub2/grub.cfg <$build_dir/boot/extlinux.conf <