Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build support for distro-independent sysexts in SDK based on Gentoo prefix #1131

Open
pothos opened this issue Jul 20, 2023 · 2 comments
Open
Assignees
Labels
area/sysext sysext roadmap kind/feature A feature request

Comments

@pothos
Copy link
Member

pothos commented Jul 20, 2023

Current situation

Systemd-sysext images that are not coupled to the OS version need to contain their dependencies and show not assume something about /usr/lib nor ship libraries in that path. They have to use /usr/local/ or /opt/ as prefix.

Impact

This requires manual installation with ./configure --prefix= which is a bit hard to use.

Ideal future situation

Gentoo packages could be used through the prefix option that allows to install everything to a custom path. A build helper in the SDK can use this to generate version-uncoupled (even distro independent) systemd-sysext images.

Implementation options

Additional information

@t-lo
Copy link
Member

t-lo commented Sep 6, 2023

Will tackle this in the Hackathon next week: https://hackbox.microsoft.com/hackathons/hackathon2023/project/30944

@pothos
Copy link
Member Author

pothos commented May 8, 2024

Can we close this as it's done https://github.com/flatcar/scripts/blob/main/PREFIX.md even if experimental?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysext sysext roadmap kind/feature A feature request
Projects
Development

No branches or pull requests

2 participants