------- Comment From [email protected] 2018-03-28 09:18 EDT-------
I changed the directory names in the patches to match the build tree directory 
structure.
I made some modifications to the surrounding code lines in Vasant's version 
patch to make the patch apply successfully.

With the patches applied I build the package and installed it. On
running the commands I see:

ubuntu@ubuntu:~/ubuntu-bionic/chandni$ lshw -version
Ubuntu.4.15.0
ubuntu@ubuntu:~/ubuntu-bionic/chandni$ lshw -h
Hardware Lister (lshw) - Ubuntu.4.15.0
usage: lshw [-format] [-options ...]
lshw -version

-version        print program version (Ubuntu.4.15.0)

format can be
-html           output hardware tree as HTML
-xml            output hardware tree as XML
-json           output hardware tree as a JSON object
-short          output hardware paths
-businfo        output bus information

options can be
-class CLASS    only show a certain class of hardware
-C CLASS        same as '-class CLASS'
-c CLASS        same as '-class CLASS'
-disable TEST   disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST    enable a test (like pci, isapnp, cpuid, etc. )
-quiet          don't display status
-sanitize       sanitize output (remove sensitive information like serial 
numbers, etc.)
-numeric        output numeric IDs (for PCI, USB, etc.)
-notime         exclude volatile attributes (timestamps) from output

I am attaching the build package for Pavithra to test along with the changed 
patch files and the build log.
Adding Vasant to CC in case there are any issues seen with version-patch after 
Pavithra's test.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752523

Title:
  Ubuntu 18.04 [ P9 WSP DD2.2 ]: lshw version is displayed as "unknown"
  and -json option is not available in help message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1752523/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to