[Scratchbox-users] different kernels on host and in scratchbox
Daniel Bainton
dpb at driftaway.org
Thu Sep 20 10:45:10 EEST 2007
On 9/19/07, Rafi Cohen <rafic at bezeqint.net> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20070920/512c78ae/attachment.htm
More information about the Scratchbox-users
mailing list