mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
RedHat: Change the defined initdir path to /etc/rc.d/init.d
On Red Hat systems, /etc/init.d is a symlink to /etc/rc.d/init.d. We should use the actual path for packaging the init scripts, to avoid any issues with package verification. Change-Id: I476193b3fd534c8aa70c67970bf2765a30f4c4d5 Reviewed-on: http://gerrit.openafs.org/3625 Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
8eca6a1153
commit
da912adbf1
@ -104,7 +104,7 @@
|
|||||||
%define bootkernelsupport %{?_with_bootkernel:1}%{!?_with_bootkernel:0}
|
%define bootkernelsupport %{?_with_bootkernel:1}%{!?_with_bootkernel:0}
|
||||||
|
|
||||||
# Define the location of your init.d directory
|
# Define the location of your init.d directory
|
||||||
%define initdir /etc/init.d
|
%define initdir /etc/rc.d/init.d
|
||||||
|
|
||||||
#determine if the kernel provides an arch-specific Provides
|
#determine if the kernel provides an arch-specific Provides
|
||||||
%define kprovidesarch %(%{kversis} provideskernelarch %{ksrcdir} %{_target_cpu})
|
%define kprovidesarch %(%{kversis} provideskernelarch %{ksrcdir} %{_target_cpu})
|
||||||
|
Loading…
Reference in New Issue
Block a user