From d83805bc54b04d8c63982784e1a220a2bd87e3b0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 31 Aug 2014 09:43:00 -0400 Subject: [PATCH] nspawn: skip machine registration No need to do this since we don't run an init system in the build root. --- arch-nspawn.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch-nspawn.in b/arch-nspawn.in index 4436a0e..1879442 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -94,11 +94,8 @@ copy_hostconf eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf") -machine_name="${working_dir//[![:alnum:]_-]/-}" -machine_name="${machine_name#-}" - exec ${CARCH:+setarch "$CARCH"} systemd-nspawn 2>/dev/null \ -D "$working_dir" \ - --machine "$machine_name" \ + --register=no \ "${mount_args[@]}" \ "$@" -- GitLab