Gentoo Archives: gentoo-catalyst

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] fooling uname
Date: Thu, 14 Feb 2008 17:06:00
Message-Id: 47B475FA.3040404@gentoo.org
In Reply to: Re: [gentoo-catalyst] fooling uname by lurker
1 lurker wrote:
2 > On 14/02/08 04:01, Andrew Gaffney wrote:
3 >> lurker wrote:
4 >>> Greetings list,
5 >>>
6 >>> Currently catalyst (2.0.5, 2.0.6pre4) doesn't seem to change what uname
7 >>> outputs. uname -r, for example, prints the version of the kernel running
8 >>> catalyst, not the kernel that's in the stage. Of course, that's how it
9 >>> is, but isn't it possible to hack that somehow? It's a bit tedioius to
10 >>> patch everything that depends on uname (e.g. the raling-rt61 ebuild).
11 >>> Can the "uname string" be set by some envirnoment variable in an env
12 >>> script specified in the spec file?
13 >> Any ebuild that depends upon the output of uname is broken and should be
14 >> fixed.
15 >
16 > Sorry, I meant the compile scripts, e.g. the Makefile of ralink-rt61.
17
18 Whether it's the ebuild or the package's build system, it's still broken. Doing
19 crap like this makes it impossible to build a package for another machine that's
20 not running the same kernel.
21
22 --
23 Andrew Gaffney http://dev.gentoo.org/~agaffney/
24 Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
25 --
26 gentoo-catalyst@l.g.o mailing list