mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-13 12:58:20 +03:00
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. (cherry picked from commit 5248a0c5b344c0b8cb18dee5206836cd61e6bd46) (cherry picked from commit b25bd391892112527597d00b82e96f0f0b6399ea) (cherry picked from commit 2a34c7d60dbb37935169f903246b420f354aa114)
This commit is contained in:
parent
4082ce7ade
commit
c520a830f9
@ -242,6 +242,7 @@ conf.set_quoted('DOCUMENT_ROOT', pkgdatadir / 'gate
|
||||
conf.set_quoted('ENVIRONMENT_DIR', environmentdir)
|
||||
conf.set_quoted('INCLUDE_DIR', includedir)
|
||||
conf.set_quoted('LIBDIR', libdir)
|
||||
conf.set_quoted('KERNEL_INSTALL_DIR', kernelinstalldir)
|
||||
conf.set_quoted('MODPROBE_DIR', modprobedir)
|
||||
conf.set_quoted('MODULESLOAD_DIR', modulesloaddir)
|
||||
conf.set_quoted('PKGSYSCONFDIR', pkgsysconfdir)
|
||||
|
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user