rhboot / rhboot/shim

Shim cannot find efi.h

Open
#451 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.1k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

When i run
make VENDOR_CERT_FILE=pub.cer
it cannot find efi.h defined in shim.h but the gnu-efi package is installed.
efi.h is located in /usr/include/efi/efi.h.

How could I resolve that?
Regards

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported make VENDOR_CERT_FILE=pub.cer command and inspect how shim.h resolves efi.h. Compare that include lookup with the installed /usr/include/efi/efi.h location. Done means the documented or implemented build configuration can find efi.h with gnu-efi installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.