mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-01 07:22:11 +01:00
Without passing the --with-systemdconfdir flag, the configure script will query pkg-config for the directory itself. In the cross-compilation setup that we have, this will result in a path sysroot prepended to the path twice. systemd.eclass has a workaround for this issue, but it does not provide an elegant getter of the system configuration directory, thus we call `_systemd_get_dir` ourselves.