Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the rpm package build problem. A new module llite_lloop.ko is added to support...
[fs/lustre-release.git]
/
build
/
suse-post.sh
diff --git
a/build/suse-post.sh
b/build/suse-post.sh
index
869fa40
..
d60d63f
100644
(file)
--- a/
build/suse-post.sh
+++ b/
build/suse-post.sh
@@
-31,7
+31,11
@@
relink $image-%ver_str /boot/$image$SHORTNM
if test "$YAST_IS_RUNNING" != instsys ; then
if [ -f /etc/fstab ]; then
echo Setting up /lib/modules/%ver_str
if test "$YAST_IS_RUNNING" != instsys ; then
if [ -f /etc/fstab ]; then
echo Setting up /lib/modules/%ver_str
- /sbin/update-modules.dep -v %ver_str
+ if [ -x /sbin/update-modules.dep ]; then
+ /sbin/update-modules.dep -v %ver_str
+ else
+ /sbin/depmod -a -F /boot/System.map-%ver_str %ver_str
+ fi
cd /boot
/sbin/mkinitrd -k $image-%ver_str -i initrd-%ver_str $NOBOOTSPLASH
cd /boot
/sbin/mkinitrd -k $image-%ver_str -i initrd-%ver_str $NOBOOTSPLASH