From 01dfb3c7fab70f1c53f26c3b898539e1f27b3eaa Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 10 Dec 2010 10:42:57 +0100 Subject: [PATCH] fix the naming scheme var /lib/modules/ - again --- planetlab/ipfwroot.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/planetlab/ipfwroot.spec b/planetlab/ipfwroot.spec index 185a767..59dbba8 100644 --- a/planetlab/ipfwroot.spec +++ b/planetlab/ipfwroot.spec @@ -1,6 +1,4 @@ # -# $Id: ipfwroot.spec 16174 2009-12-15 13:38:15Z marta $ -# # TODO: # restart crond # @@ -28,7 +26,7 @@ # the k32 kernel currently builds e.g. /lib/modules/2.6.32-0.onelab.2010.12.07-i686 # the k27 and before does not have the -i686 part %define kernel_id_old %{kernel_version}-%{kernel_release} -%define kernel_id_new %{kernel_version}-%{kernel_release}-%{_target_cpu} +%define kernel_id_new %{kernel_version}-%{kernel_release}.%{_target_cpu} %define kernel_id %( [ -d %{kernelpath_dot} ] && echo %{kernel_id_new} || echo %{kernel_id_old} ) Summary: ipfw and dummynet for Linux -- 2.43.0