[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can I 'fool' the uname command??



Okay - I am attempting to compile on a shared (virtual host) machine 

When I use the uname -a command, it displays the following: 

Linux ps91497 3.1.9-vs2.3.2.5 #1 SMP Thu Jan 26 02:37:05 UTC 2012 x86_64 GNU/Linux 

/usr/src/linux-source-3.2 is where I downloaded the sources: 


root@ps91497:/usr/src/linux-source-3.2# dpkg-query -l linux-source 
Desired=Unknown/Install/Remove/Purge/Hold 
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend 
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) 
||/ Name                                Version                             Description 
+++-===================================-===================================-====================================================================================== 
ii  linux-source                        3.2+44~bpo60+1                      Linux kernel source (meta-package) 
root@ps91497:/usr/src/linux-source-3.2# dpkg-query -s linux-source 
Package: linux-source 
Status: install ok installed 
Priority: optional 
Section: kernel 
Installed-Size: 32 
Maintainer: Debian Kernel Team 
Architecture: all 
Source: linux-latest (44~bpo60+1) 
Version: 3.2+44~bpo60+1 
Depends: linux-source-3.2 
Description: Linux kernel source (meta-package) 
 This package depends on packages containing the sources of the latest 
 Linux kernel. 

So, to build this software package that I need - I need to convince the compiler that these are my kernel sources. 

Any simple way to do this? I don't want to mess with environment variables, I just want to get the software built. 

Any helpful hints would be much appreciated. 
Reply to: