autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running autoconf in chrooted environments


From: Florian Weimer
Subject: Re: running autoconf in chrooted environments
Date: Fri, 8 Jul 2016 09:46:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 07/07/2016 10:15 PM, Peter Crady wrote:
This may be a stupid question but is there a good way to run autoconf in a 
chrooted environment? From what I can tell the AS_UNAME function calls uname 
which gets information about the base kernel that is installed and not the 
kernel that is installed in the chrooted environment.

The kernel for the chroot environment is identical to the host kernel.

Is there a function that does the same thing as AS_UNAME without actually using 
uname

With UTS namespaces on Linux, it is possible to influence what uname returns, within reason.

In general, it is not a good idea to lie too much about the nature of the system because too much will break.

Florian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]