On 9/19/07, Rafi Cohen <[EMAIL PROTECTED]> wrote:
>
>  Hi, sorry to bother you with yet another question, but ptotably this list
> exists just for this matter.
> I've successfully compiled kernel 2.6.16 in scratchbox 0.98.
> The kernel on the host system (Suse 9.3) is 2.6.11.4-20a-default.
> When I log into scratchbox and apply the command "uname -r" I get the host
> kernel version.
> I would expect to get the scratchbox compiled kernel version (2.6.16). Is
> it at all possible and what should I do to get this?
> The reason I ask this is that some makefiles that compile some application
> use this "uname -r" within paths to kernel to relate to the appropriate
> kernel version and within scratchbox I would like it to be 2.6.16. Any
> help will be most appreciated.
> Thanks, Rafi.
>

Scratchbox isn't an emulator. It has no way to run a kernel.

You can, however, fake it. There's a Scratchbox environmental variable [1]
to do this.

So, run
export SBOX_UNAME_RELEASE=2.6.16
and then uname -r will tell you the right thing.

[1] http://scratchbox.org/wiki/EnvironmentVariables

--
Daniel
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to