Skip to content
Snippets Groups Projects
Commit 5fd394ba authored by Nathan Rutman's avatar Nathan Rutman
Browse files

b=9501

r=adilger
automatically create /dev/lnet, /dev/obd when needed.
parent fd5ffd6f
No related branches found
No related tags found
No related merge requests found
...@@ -849,12 +849,6 @@ rm -rf $RPM_BUILD_ROOT ...@@ -849,12 +849,6 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%post -n lustre-lite-utils %post -n lustre-lite-utils
if [ ! -e /dev/obd ]; then
mknod /dev/obd c 10 241
fi
if [ ! -e /dev/lnet ]; then
mknod /dev/lnet c 10 240
fi
if [ -f /etc/init.d/lustre ] ; then if [ -f /etc/init.d/lustre ] ; then
/sbin/chkconfig --add lustre /sbin/chkconfig --add lustre
/sbin/chkconfig --add lustrefs /sbin/chkconfig --add lustrefs
......
...@@ -162,12 +162,6 @@ fi ...@@ -162,12 +162,6 @@ fi
rm -f %{_libdir}/lustre/python/Lustre/*.pyc rm -f %{_libdir}/lustre/python/Lustre/*.pyc
%post modules %post modules
if [ ! -e /dev/obd ]; then
mknod /dev/obd c 10 241
fi
if [ ! -e /dev/lnet ]; then
mknod /dev/lnet c 10 240
fi
if [ -f /boot/System.map-%{kversion} ]; then if [ -f /boot/System.map-%{kversion} ]; then
depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0 depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment