On Mon, Mar 22, 2004 at 11:57:59AM +0100, Miroslav Maiksnar wrote:
> Hi,
> when installing vmware eval on my debian sarge I encounter problem compiling 
> modules. Install scripts refuses to compile modules because `uname -r` 
> ('2.6.3-alfons32-2') differs from UTS_RELEASE ('2.6.3'). Kernel is of course 
> compiled using `make-kpkg --append-to-version=...` and I need to run 
> different kernels with equal version, so leaving off --append-to-version is 
> not option for me.
> 
> Any suggestions?

Write a wrapper for uname:
#!/usr/bin/perl
if($ARGV[0] eq '-r'){
        print "2.6.3\n"
}else{
        print `uname.real @ARGV`
}

Code not tested.

You could also look through its makefiles and mess around with stuff
there.

Brian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to