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

sysext-bakery: Add build helper based on e.g. Nix for distro-independent systemd-sysext images #1132

Open
pothos opened this issue Jul 20, 2023 · 1 comment
Labels
area/sysext sysext roadmap kind/feature A feature request

Comments

@pothos
Copy link
Member

pothos commented Jul 20, 2023

Current situation

Currently the sysext-bakery scripts use static binaries to be version-independent instead of being coupled to a specific OS version.

Impact

This limits the software we can provide.

Ideal future situation

Add build helper based on e.g. Nix is added as alternative to the Flatcar SDK Gentoo prefix build option.

Even nicer if it would support arbitrary software trees from any distro.

Implementation options

To support arbitrary distros some ELF loader path patching could be tried to have the effect of LD_LIBRARY_PATH.

Additional information

Nix is a very common tool for self-contained software trees, normally people use it in their home dirs. But of course it's also used to build container images or as package manager in NixOS.

@pothos pothos added kind/feature A feature request area/sysext sysext roadmap labels Jul 20, 2023
@pothos pothos moved this from 📝 Needs Triage to 🪵Backlog in Flatcar tactical, release planning, and roadmap Jul 25, 2023
@pothos pothos changed the title sysext-bakery: Add build helper based on Nix for distro-independent systemd-sysext images sysext-bakery: Add build helper based on e.g. Nix for distro-independent systemd-sysext images Oct 19, 2023
@pothos
Copy link
Member Author

pothos commented May 8, 2024

Here a set of tools to build distro-indep. sysext from a package-manager chroot (e.g. container image): flatcar/sysext-bakery#74

Tested with Debian and Alpine.
Didn't try the flix.sh with nix but for nix one might even make it simpler assuming that the elf-patching can be skipped.

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

1 participant