Whamcloud - gitweb
b=8080
[fs/lustre-release.git] / build / lustre-kernel-2.4.spec.in
index 5066ea6..1477916 100644 (file)
@@ -402,6 +402,9 @@ for flavor in "" smp bigmem bigsmp pseries64 BOOT jensen ; do
                                echo "fi" >> ${script}
                                ;;
                        post)
+                               # /sbin/update-modules.dep compares when the modules were built, rather
+                               # than installed, so force modules.dep to be recreated
+                               echo "rm -f /lib/modules/%{KVERREL}${flavor}/modules.dep" >> ${script}
                                echo "if [ -f /etc/modprobe.conf ] ; then" >> ${script}                 
                                sed -e "s^%ver_str^%{KVERREL}${flavor}^g" %{SOURCE26} >> ${script}
 
@@ -849,8 +852,8 @@ rm -rf $RPM_BUILD_ROOT
 if [ ! -e /dev/obd ]; then
    mknod /dev/obd c 10 241
 fi
-if [ ! -e /dev/portals ]; then
-   mknod /dev/portals c 10 240
+if [ ! -e /dev/lnet ]; then
+   mknod /dev/lnet c 10 240
 fi
 if [ -f /etc/init.d/lustre ] ; then
        /sbin/chkconfig --add lustre