mkarchroot: Manually generate machine-id because nspawn expects it

This commit is contained in:
Sven-Hendrik Haase 2016-05-27 22:16:09 +02:00
parent f36c45e0c6
commit 882f5d0451
1 changed files with 2 additions and 0 deletions

View File

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