Bug 120079

Summary: hwinfo needs option for alternative /var/lib/hardware dir
Product: [openSUSE] SUSE Linux 10.1 Reporter: Steffen Winterfeldt <snwint>
Component: Update ProblemsAssignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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