summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-02-29 21:38:03 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-02-29 21:38:03 +0100
commit5248a0c5b344c0b8cb18dee5206836cd61e6bd46 (patch)
treed339f088c5bf06baa2dcdc3834239d08d2ecaaf4 /meson.build
parentrpm/macros: drop compat define with a typo (diff)
downloadsystemd-5248a0c5b344c0b8cb18dee5206836cd61e6bd46.tar.xz
systemd-5248a0c5b344c0b8cb18dee5206836cd61e6bd46.zip
rpm/macros: add %_kernel_install_dir
This makes it easier for people packaging kernel-install plugins to get the path right. E.g. https://src.fedoraproject.org/rpms/python-virt-firmware/pull-request/3 fixes an issue where %{_libdir}/kernel/install.d was used, which gives incorrect results on 64-bit architectures. %_kernel_install_dir will make this even easier.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e27e944caf..d4e89eae01 100644
--- a/meson.build
+++ b/meson.build
@@ -232,6 +232,7 @@ conf.set_quoted('ENVIRONMENT_DIR', environmentdir)
conf.set_quoted('INCLUDE_DIR', includedir)
conf.set_quoted('LIBDIR', libdir)
conf.set_quoted('LIBEXECDIR', libexecdir)
+conf.set_quoted('KERNEL_INSTALL_DIR', kernelinstalldir)
conf.set_quoted('MODPROBE_DIR', modprobedir)
conf.set_quoted('MODULESLOAD_DIR', modulesloaddir)
conf.set_quoted('PKGSYSCONFDIR', pkgsysconfdir)