Advertisement
Guest User

packagegroup-efi-secure-boot.bb

a guest
Feb 19th, 2024
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. DESCRIPTION = "EFI Secure Boot packages for secure-environment."
  2. LICENSE = "MIT"
  3. LIC_FILES_CHKSUM = "\
  4. file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
  5. "
  6.  
  7. S = "${WORKDIR}"
  8.  
  9. SELOADER_PKG = "${@'seloader' if d.getVar('UEFI_SELOADER', True) == '1' else ''}"
  10. ALLOW_EMPTY:${PN} = "1"
  11.  
  12. pkgs = "\
  13. grub-efi \
  14. efitools \
  15. efibootmgr \
  16. mokutil \
  17. ${SELOADER_PKG} \
  18. shim \
  19. "
  20.  
  21. RDEPENDS:${PN}:x86 = "${pkgs}"
  22. RDEPENDS:${PN}:x86-64 = "${pkgs}"
  23.  
  24. kmods = "\
  25. kernel-module-efivarfs \
  26. kernel-module-efivars \
  27. "
  28.  
  29. RRECOMMENDS:${PN}:x86 += "${kmods}"
  30. RRECOMMENDS:${PN}:x86-64 += "${kmods}"
  31.  
  32. IMAGE_INSTALL:remove = "grub"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement