Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # secure kernel copy configuration
- sbdir=''
- # directory containing all keys and certificate files
- certdir='/usr/local/share/efitools/'
- # directory for boot files
- bootdir='/boot'
- # dont change me
- kernelver=${2}
- # absolute standard path for kernel source location
- kernelsrc="/usr/src/linux-${kernelver}-gentoo"
- # bzimage or vmzlinux file inside of the above kernelsrc directory
- vmzfile="/arch/x86_64/boot/bzImage"
- # where to copy boot file
- bootfile="${bootdir}/kernel-signed-${kernelver}"
- # should we rebuild boot config file after kernel is signed and copied
- rebuildboot="yes"
- # command to rebuild boot manager config
- bconfig="grub2-mkconfig"
- # output file for boot config
- bconfigfile="/boot/grub2/grub.cfg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement