libvpd Log


Commit Date  
[b9c195] by Suzuki K. Poulose Suzuki K. Poulose

Fix the path for vpdupdate in automation

We hardcode the path /sbin/vpdupdate while spawning it, to
update the VPD db before we access it. Some (older) distros
may have it in /usr/sbin/vpdupdate. Do not hard code the path.

Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>

2013-11-14 09:30:22 Tree
[da0a54] (v2.2.2) by Suzuki K. Poulose Suzuki K. Poulose

libvpd: Release version 2.2.2

Release version 2.2.2.

Major changes :

* Automation of vpdupdate via libvpd.

Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>

2013-11-05 08:39:56 Tree
[86d2b2] by Phani Yadav Phani Yadav , pushed by Suzuki K. Poulose Suzuki K. Poulose

Automation of vpdupdate to provide up-to-date VPD data

This patch is intended for providing an automation for vpdupdate
in case of any changes that happen to device configuration during
run time. During hot plugs, the changes made to the device configuration
are caught by an udev rule and will create a new file in /var/lib/lsvpd/.
When any lsvpd set of tools need vpd information, instead of directly
accessing vpd information from vpd.db file we cross check the modification
times of vpd.db and the file created by udev rule file. If the modification
time of the file created by udev rule is greater than vpd.db this implies
that there is a change to device configuration and vpdupdate is run. To
make this entire process transparent to the tools we do the check in
libvpd, so that the tools don't have to worry about the check.

Changes from V12:
1) Added macros in Makefile.am.

Signed-off-by: Phani Yadav <phayadav@linux.vnet.ibm.com>
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>

2013-10-31 10:57:34 Tree
[ddba7c] by Vasant Hegde Vasant Hegde

libvpd: Fix compilation issue

compilation error:
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src/libvpd-2 -I./src/ -DDEST_DIR='"/usr/local"' -g -O2 -MT helper_functions.lo -MD -MP -MF .deps/helper_functions.Tpo -c -o helper_functions.lo `test -f 'src/helper_functions.cpp' || echo './'`src/helper_functions.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src/libvpd-2 -I./src/ -DDEST_DIR=\"/usr/local\" -g -O2 -MT helper_functions.lo -MD -MP -MF .deps/helper_functions.Tpo -c src/helper_functions.cpp -fPIC -DPIC -o .libs/helper_functions.o
src/helper_functions.cpp: In static member function 'static std::string lsvpd::HelperFunctions::findAIXFSEntry(std::vector<lsvpd::DataItem*>, const string&)':
src/helper_functions.cpp:57:13: error: 'close' was not declared in this scope
close(fd);
^
src/helper_functions.cpp: In static member function 'static std::string lsvpd::HelperFunctions::getSymLinkTarget(const string&)':
src/helper_functions.cpp:162:15: error: 'readlink' was not declared in this scope
linkTarget));
^
make: *** [helper_functions.lo] Error 1

This patch fixes above compilation issue by adding unistd.h header file.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Suzuki K Poulose <suzuki@in.ibm.com>

2013-08-22 10:38:19 Tree
[ef2fa3] by Vasant Hegde Vasant Hegde

Update package maintainer list.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>

2013-08-22 08:19:01 Tree
[2fa440] (v2.2.1) by Harsh Prateek Bora Harsh Prateek Bora

Initial commit from internal repo as on May 27

2013-06-12 07:04:53 Tree

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks