From 882f5d04516680b60c0da85c51fd6191c77b38ab Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 27 May 2016 22:16:09 +0200 Subject: mkarchroot: Manually generate machine-id because nspawn expects it --- mkarchroot.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkarchroot.in b/mkarchroot.in index 78384da..4d8efb0 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -75,6 +75,8 @@ printf '%s.UTF-8 UTF-8\n' en_US de_DE > "$working_dir/etc/locale.gen" echo 'LANG=C' > "$working_dir/etc/locale.conf" echo "$CHROOT_VERSION" > "$working_dir/.arch-chroot" +systemd-machine-id-setup --root="$working_dir" + exec arch-nspawn \ ${pac_conf:+-C "$pac_conf"} \ ${makepkg_conf:+-M "$makepkg_conf"} \ -- cgit v1.2.3-70-g09d2