[Panicsel-developers] Changes for test suites and util tools
Brought to you by:
arcress
|
From: Guo, M. <mi...@in...> - 2003-03-10 09:04:09
|
Hi, Andy
I Checked the alarm test suite into the test subdir.
I had reorganized the source tree in you util sudir. Here is my
changelog, I think it is better to maintain the source code, and
it has resolved the "separate IPMI API calls into a library, rather than a
source/object file" requirement in the TODO list. If you think it is
reasonable,
could you please apply changes to your source.
For your convince will send the whole patch to you.
Thanks
Guo Min
a) move the files
alarms.c fruconfig.c hwreset.c imbapi.c pefconfig.c sensor.c
showsel.c tmconfig.c wdt.c
to a new sub dir in util named apptool
b) move the files
imbapi.c imb_api.h ipmicmd.c ipmicmd.h ipmi_ioctls.h ipmimv.c
to a new sub dir in util named lib
c) move the files
fruconfig.8 hwreset.8 pefconfig.8 sensor.8 showsel.8 tmconfig.8
to a new sub dir in util named man
d) move the file
bmclan.mib
to a new sub dir in util named mib
Rewrite the make files for each sub dir
for Lib)
see Makefile_lib
for apptool)
see Makefile_apptool
for util dir master tool)
see Makefile_util)
for the Master Make file in panicsel dir
Here is the patch for the
--- panicsel/makefile 2003-02-28 06:15:19.000000000 +0800
+++ panicsel_update/makefile 2003-03-10 21:44:05.000000000 +0800
@@ -48,17 +48,17 @@
cp -uf LICENSE $(RTO)
cp -uf UserGuide $(RTO)
cp -uf ChangeLog $(RTO)
- cd util ; cp -uf $(EXELIST) ../$(RTARG)/usr/sbin
- cd util ; cp -uf $(MANLIST) ../$(MTO)
- cd util ; cp -uf $(MIB) ../$(RTO)
+ cd util/apptool ; cp -uf $(EXELIST) ../../$(RTARG)/usr/sbin
+ cd util/man ; cp -uf $(MANLIST) ../../$(MTO)
+ cd util/mib ; cp -uf $(MIB) ../../$(RTO)
# cp -uf test/dopanic $(RTO)
gzip -f $(MTO)/*.8
- rpm -bb --root $(ROOT)/$(RTARG) $(RSPEC)
+ rpmbuild -bb --root $(ROOT)/$(RTARG) $(RSPEC)
# rpm -bb --root $(ROOT)/$(RTARG) --target=x86_pentium3 $(RSPEC)
rm -rf $(RTARG)
srpm: tarball
- rpm -bs $(RSPEC)
+ rpmbuild -bs $(RSPEC)
tarball: $(TARGS)
echo "$(RTARG)/" >$(NOTF)
|