diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..4d25792ab343bf3619c98e792bc3a9687ab95d74 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Signed EFI-stub kernel build scripts + +These scripts are used to build my own kernels on my gentoo machines. They boot +with Secure Boot enabled, with own signatures. How to set these up, can be read +here: [UEFI Secure Boot entry of brotWiki](https://brot.minad.de/doku.php?id=uefi_secure_boot) + +### makekernel.sh + +I use makekernel.sh to build a new bootable kernel, when gentoo gets a new +version. It gets the config from the currently linked version of /usr/src/linux, +saves that to /usr/src/config-$KVER, links the newest kernel, builds it, creates +an initramfs and puts all that together as a *huge* efi-blob. It is then signed +and saved in /boot/efi, also it generates a new systemd-boot config file. + +### create_complete_efi_build.sh + +This is my script for just building the kernel, when fiddling around in linus +git tree. You should be inside the kernel directory and the kernel should be +already configured. Then it does everything like above, resulting in a bootable +signed kernel on the efi partition +