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) diff --git a/src/rpm/macros.systemd.in b/src/rpm/macros.systemd.in index 241e4b9c49..ce65ec6700 100644 --- a/src/rpm/macros.systemd.in +++ b/src/rpm/macros.systemd.in @@ -13,6 +13,7 @@ %_udevhwdbdir {{UDEV_HWDB_DIR}} %_udevrulesdir {{UDEV_RULES_DIR}} %_journalcatalogdir {{SYSTEMD_CATALOG_DIR}} +%_kernel_install_dir {{KERNEL_INSTALL_DIR}} %_binfmtdir {{BINFMT_DIR}} %_sysctldir {{SYSCTL_DIR}} %_sysusersdir {{SYSUSERS_DIR}} @@ -26,10 +27,6 @@ %_systemd_system_env_generator_dir {{SYSTEM_ENV_GENERATOR_DIR}} %_systemd_user_env_generator_dir {{USER_ENV_GENERATOR_DIR}} -# Because we had one release with a typo... -# This is temporary (Remove after systemd 240 is released) -%_environmnentdir %{warn:Use %%_environmentdir instead}%_environmentdir - %systemd_requires \ Requires(post): systemd \ Requires(preun): systemd \