opensvc / multipath-tools

Other
60 stars 48 forks source link

Building for a platform without systemd #99

Closed aaroncirillo-cision closed 1 month ago

aaroncirillo-cision commented 1 month ago

Hi, I'm looking to produce what I guess you would call a more "exotic" build of multipath-tools. It's for something called Talos. This is a very tiny Linux based operating system just for running kubernetess. Talos does not run systemd, and in fact it doesn't even have a shell installed. When I went to go start building multipath-tools I noticed that one of the dependencies is libsystemd. If I package up this library and have it available at runtime would that be enough or are there other bits of systemd that multipath-tools would complain about not having?

Thanks

aaroncirillo-cision commented 1 month ago

I see I can set the variable SYSTEMD to "" in order to build for a platform without systemd.

mwilck commented 1 month ago

Right. Thanks for figuring that out yourself. Be warned, though, that there has been practically zero testing of multipath-tools on non-systemd distros for a long time.