From d38986fdc6b3d24bcf76f50cf322609880cae820 Mon Sep 17 00:00:00 2001
From: gord-fig <gord-fig>
Date: Wed, 26 Sep 2001 21:13:21 +0000
Subject: [PATCH] Ensure that obdcontrol is installed.

---
 lustre/obdclass/Makefile | 1 +
 lustre/scripts/obd.spec  | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lustre/obdclass/Makefile b/lustre/obdclass/Makefile
index 085cc91a20..6f211bb379 100644
--- a/lustre/obdclass/Makefile
+++ b/lustre/obdclass/Makefile
@@ -1,5 +1,6 @@
 
 MODULE = obdclass.o
+bin_PROGRAMS = obdcontrol
 
 CFILES = genops.c proc_lustre.c class_obd.c sysctl.c 
 
diff --git a/lustre/scripts/obd.spec b/lustre/scripts/obd.spec
index 744e866fc9..553b1a2ec3 100644
--- a/lustre/scripts/obd.spec
+++ b/lustre/scripts/obd.spec
@@ -41,7 +41,8 @@ make
 make install PREFIX=$RPM_BUILD_ROOT
 
 %files
-/lib/modules/%{kuname}
+/lib/modules/%{kuname}/fs/*
+/usr/bin/*
 
 %clean
 #rm -rf $RPM_BUILD_ROOT
-- 
GitLab