Re: running autoconf in chrooted environments

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux