Skip to content

Add some basic pkg dependency docs for building on Debian/Ubuntu#133

Open
bpkroth wants to merge 2 commits into
libkrun:mainfrom
bpkroth:add-debian-pkg-dependency-docs
Open

Add some basic pkg dependency docs for building on Debian/Ubuntu#133
bpkroth wants to merge 2 commits into
libkrun:mainfrom
bpkroth:add-debian-pkg-dependency-docs

Conversation

@bpkroth

@bpkroth bpkroth commented Jun 8, 2026

Copy link
Copy Markdown

Add some brief docs for build time dependencies on Debian/Ubuntu machines.

Also adjust the output directory to match something closer to their usual paths.

Use a Debian-style host libdir on Debian/Ubuntu and keep lib64 as the fallback for Fedora-style systems.

Codex: GPT-5
Signed-off-by: Brian Kroth <bpkroth@gmail.com>

@mz-pdm mz-pdm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

As for the AI attribution, I think it should be Assisted-by: Codex:GPT-5 (this is unclear in libkrun/AGENTS.md, it should be fixed there).

Comment thread Makefile
SONAME_Windows =

LIBDIR_Linux = lib64
LIBDIR_Linux = $(shell if [ -e /etc/debian_version ]; then printf 'lib/$(HOSTARCH)-linux-gnu'; else printf lib64; fi)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a particular reason why printf rather than echo?

Comment thread README.md
* Python 3
* ```pyelftools``` (package ```python3-pyelftools``` in Fedora and Ubuntu)

On Debian/Ubuntu that's something like:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependencies look correct to me, so "something like" could be dropped. Also note "Ubuntu" a few lines above, may be worth to adjust.

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.

2 participants