Bug 120079 - hwinfo needs option for alternative /var/lib/hardware dir
Summary: hwinfo needs option for alternative /var/lib/hardware dir
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Update Problems (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Thomas Fehr
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 10:32 UTC by Steffen Winterfeldt
Modified: 2006-01-31 15:05 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Winterfeldt 2005-10-04 10:32:58 UTC
libhd/hwinfo need a way to specify an alternative /var/lib/hardware directory. 
This would be useful for updates where data from the old location are 
needed.
Comment 1 Steffen Winterfeldt 2006-01-31 14:56:18 UTC
implemented in hwinfo 12.2

'hwinfo --hddb-dir=/foo/var/lib/hardware --whatever' or 'LIBHD_HDDB_DIR=/foo/var/lib/hardware hwinfo --whatever'

Last variant works with libhd in general.
Comment 2 Thomas Fehr 2006-01-31 15:05:58 UTC
Thanks, replaced the call to "hwinfo --map" with
"LIBHD_HDDB_DIR=/mnt/var/lib/hardware hwinfo --map" in Storage.ycp