Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad36f7
)
- create device
author
rread
<rread>
Tue, 2 Jul 2002 02:41:17 +0000
(
02:41
+0000)
committer
rread
<rread>
Tue, 2 Jul 2002 02:41:17 +0000
(
02:41
+0000)
- make note of need to modify /etc/modules.conf
lustre/scripts/lustre.spec.in
patch
|
blob
|
history
diff --git
a/lustre/scripts/lustre.spec.in
b/lustre/scripts/lustre.spec.in
index
fa15751
..
bb67b7a
100644
(file)
--- a/
lustre/scripts/lustre.spec.in
+++ b/
lustre/scripts/lustre.spec.in
@@
-86,8
+86,18
@@
find . -print | cpio -ap $RPM_BUILD_ROOT/usr/src/obd-%{version}
%attr(-, root, root) /usr/src/obd-%{version}
%post
+if [ ! -e /dev/obd ]; then
+ mknod /dev/obd c 10 241
+fi
depmod -ae || exit 0
+#
+# Modify /etc/modules.conf to add lusre rules
+# lustre_lite depends on llite.o
+# /dev/obd obdclass.o
+# obdclass depends on portals
+# the rest should be loaded by kerneld automatically
+
%postun
depmod -ae || exit 0