Skip to content

Fix library loading and install firmware - #115

Open
jakecorrenti wants to merge 2 commits into
libkrun:mainfrom
jakecorrenti:fix-rpath
Open

Fix library loading and install firmware#115
jakecorrenti wants to merge 2 commits into
libkrun:mainfrom
jakecorrenti:fix-rpath

Conversation

@jakecorrenti

Copy link
Copy Markdown
Collaborator

Summary

  • Fix entitlements typo (disable-library-validationrdisable-library-validation)
  • Add -add_rpath to install_name_tool so @rpath/libkrun.dylib resolves at runtime
  • Install UEFI firmware to $(PREFIX)/share/krunkit so the
    installed binary can locate KRUN_EFI.silent.fd

The -change flag alone doesn't handle the case where libkrun's install name
is @rpath/libkrun.dylib rather than the bare libkrun.1.dylib. Adding
-add_rpath $(PREFIX)/lib covers both patterns.

The firmware was imported in ee24161 but the install target never
copied it to the prefix, so krunkit failed to find it at runtime.

Assisted-by: Claude Code: opus-4.6
Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
Add -add_rpath so @rpath/libkrun.dylib resolves at runtime.
Install UEFI firmware to $(PREFIX)/share/krunkit.

Assisted-by: Claude Code: opus-4.6
Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
@baude

baude commented Aug 11, 2026

Copy link
Copy Markdown

thanks @jakecorrenti i suppose let the podman folks know when you release this?

@jakecorrenti

Copy link
Copy Markdown
Collaborator Author

thanks @jakecorrenti i suppose let the podman folks know when you release this?

Will do, just need @slp to get back from PTO to cut the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typo in krunkit.entitlements: disable-library-validationr (trailing r)

2 participants