Skip to content
Snippets Groups Projects
Commit 882f5d04 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

mkarchroot: Manually generate machine-id because nspawn expects it

parent f36c45e0
No related branches found
No related tags found
No related merge requests found
......@@ -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"} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment