From a5bbc871ce360f5c95edf08d2a51b95a6095e3cf Mon Sep 17 00:00:00 2001 From: Jonathan Billings Date: Fri, 7 Jan 2011 10:44:27 -0500 Subject: [PATCH] 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. Reviewed-on: http://gerrit.openafs.org/3625 Reviewed-by: Stephan Wiesand Reviewed-by: Derrick Brashear Tested-by: BuildBot (cherry picked from commit da912adbf1512702a17b8e381af3d0225875e67c) Change-Id: Ib00275f873987700312b402d6fe0513ce96e9cf8 Reviewed-on: http://gerrit.openafs.org/3982 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/packaging/RedHat/openafs.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/RedHat/openafs.spec.in b/src/packaging/RedHat/openafs.spec.in index 787fc8dee..bc4bf49a9 100644 --- a/src/packaging/RedHat/openafs.spec.in +++ b/src/packaging/RedHat/openafs.spec.in @@ -104,7 +104,7 @@ %define bootkernelsupport %{?_with_bootkernel:1}%{!?_with_bootkernel:0} # 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 %define kprovidesarch %(%{kversis} provideskernelarch %{ksrcdir} %{_target_cpu}) -- 2.39.5