Flatcar icon indicating copy to clipboard operation
Flatcar copied to clipboard

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

Open pothos opened this issue 1 year ago • 2 comments

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

pothos avatar Jul 20 '23 15:07 pothos

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

t-lo avatar Sep 06 '23 14:09 t-lo

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

pothos avatar May 08 '24 12:05 pothos