nspawn: skip machine registration

No need to do this since we don't run an init system in the build root.
This commit is contained in:
Dave Reisner 2014-08-31 09:43:00 -04:00
parent af6c0a0f6a
commit d83805bc54
1 changed files with 1 additions and 4 deletions

View File

@ -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[@]}" \
"$@"