From d732aae2ca57430f3dd95c0ed4dcc05df4014f91 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 15 May 2014 22:41:20 -0400 Subject: arch-nspawn: use getconf to find HOST_NAME_MAX at runtime. This is at the suggestion of Roman Neuhauser, who emailed Dave Reisner and me. --- arch-nspawn.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch-nspawn.in b/arch-nspawn.in index e8b68cf..6c9a102 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -96,8 +96,7 @@ eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf") machine_name="${working_dir//[![:alnum:]_-]/-}" machine_name="${machine_name#-}" -#HOST_NAME_MAX="$(cpp -include limits.h <<