[ltp] Re: Bug#565789: say what the current Thinkpad BIOS/Firmware should be

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Thu, 21 Jan 2010 05:15:35 +0800


What if instead of
# apt-cache policy somepackage
  Installed: 2.10.2-2
  Candidate: 2.11~0exp1-0exp1
it just said
# apt-cache policy somepackage
  Installed: 2.10.2-2
  Candidate: UPGRADE NOW
Indeed, why tease the user with any version numbers in the first place,
if there is no way provided for him to pry the other half out of your
binary.

I tried strings(1). Do I have to try strace? Do I "strace reboot?"
Probably not. Is there a simple one liner I can use to extract the
Candidate out of your binary. So I needn't download the whole kernel
source tar just to extract that one number each time I want to know what
the heck it's basing its statement on.