From 457b7b378cce4e7838034c8ac6f8560860ecab55 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 8 Jan 2018 13:33:14 +0100 Subject: mkarchroot.in: copy host's /etc/hosts into the chroot --- mkarchroot.in | 1 + 1 file changed, 1 insertion(+) diff --git a/mkarchroot.in b/mkarchroot.in index 6c42d3b..a0cacac 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -89,6 +89,7 @@ pacstrap -Mcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \ "${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages' printf '%s.UTF-8 UTF-8\n' en_US de_DE > "$working_dir/etc/locale.gen" +cat '/etc/hosts' > "$working_dir/etc/hosts" echo 'LANG=en_US.UTF-8' > "$working_dir/etc/locale.conf" echo "$CHROOT_VERSION" > "$working_dir/.arch-chroot" -- cgit v1.2.3-70-g09d2