Alexander E. Patrakov wrote:

For the (misnamed) "qx64" branch, the proposed (and tested) plan is:

1) Always add /lfs-livecd/scripts as the first component in $PATH
2) Have this uname wrapper as /lfs-livecd/scripts/uname:

#!/bin/sh
PATH=${PATH#*:}
uname "$@" | sed 's/[56]86/486/'

3) Have this arch wrapper as /lfs-livecd/scripts/arch:

#!/bin/sh
PATH=${PATH#*:}
arch "$@" | sed 's/[56]86/486/'

4) Don't install this wrapper into /tools/bin or /bin while installing coreutils, because it is the first in $PATH anyway.

Scrap the idea. The configure scripts always check /bin/uname or /usr/bin/uname, and ignore $PATH for this purpose. But I believe they can be fooled by config.site.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to