diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2016-05-27 22:16:09 +0200 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2016-05-27 22:16:09 +0200 |
commit | 882f5d04516680b60c0da85c51fd6191c77b38ab (patch) | |
tree | 7d0271b689b7b7ab0ba6698c9635d051ea52ac0d /mkarchroot.in | |
parent | f36c45e0c66f0d83dc30f899676c094d925bff24 (diff) | |
download | devtools-882f5d04516680b60c0da85c51fd6191c77b38ab.tar.xz |
mkarchroot: Manually generate machine-id because nspawn expects it
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 2 |
1 files changed, 2 insertions, 0 deletions
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"} \ |