[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building coreutils in Linux From Scratch
From: |
Mike Frysinger |
Subject: |
Re: Building coreutils in Linux From Scratch |
Date: |
Wed, 23 Aug 2006 19:06:52 -0400 |
User-agent: |
KMail/1.9.4 |
On Wednesday 23 August 2006 17:56, Matthew Burgess wrote:
> http://www.linuxfromscratch.org/patches/lfs/development/coreutils-5.97-unam
>e-1.patch changes the output of `uname -i' and `uname -p' from 'unknown' to
> the correct platform and processor respectively on x86 machines running
> Linux. I don't expect you to apply the patch as-is (I'm pretty certain the
> comment of "major hack" would be enough to see to that!). What would be
> the preferred method of seeing the -i and -p flags of uname produce correct
> output on x86-linux machines? I'm assuming it needs either kernel or glibc
> cooperation?
ugh, awful ... why not use something like:
http://sources.gentoo.org/gentoo/src/patchsets/coreutils/6.1/generic/003_all_coreutils-gentoo-uname.patch
then you go from being just x86 specific to linux specific ...
> :-) In an ideal world, it might be nice to have '--disable-[progname]'
that gets a pain to maintain real fast due to the explosion of options ...
maybe a more generic option:
--disable-programs=uptime,kill,su
and then use that to mung the program list in src/Makefile.am ...
> We also perform `sed -i 's/_LEN 6/_LEN 20/' src/who.c` with the
> following explanation:
that should be fixed sanely now (since like 5.97 i think)
-mike
pgp7EpXYOjTDe.pgp
Description: PGP signature
- Re: Building coreutils in Linux From Scratch, (continued)
- Re: Building coreutils in Linux From Scratch, Paul Eggert, 2006/08/24
- Re: Building coreutils in Linux From Scratch, Mike Frysinger, 2006/08/24
- Re: Building coreutils in Linux From Scratch, Paul Eggert, 2006/08/25
- Re: Building coreutils in Linux From Scratch, Andreas Schwab, 2006/08/25
- Re: Building coreutils in Linux From Scratch, Greg Schafer, 2006/08/25
- Re: Building coreutils in Linux From Scratch, Mike Frysinger, 2006/08/26
- Re: Building coreutils in Linux From Scratch, mwoehlke, 2006/08/25
- Re: Building coreutils in Linux From Scratch, Jim Meyering, 2006/08/25
Re: Building coreutils in Linux From Scratch,
Mike Frysinger <=