diff options
author | Erich Eckner <git@eckner.net> | 2018-01-08 13:33:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-27 09:18:13 +0200 |
commit | a8efaeb97672d7419bfc2c9113c35e980b883468 (patch) | |
tree | 8352e2138076767401b2d14a6a6df7c90b4f2cd6 | |
parent | ddbcfa0c2dfc7b6a95690767e436c8b52b5adcba (diff) | |
download | devtools-a8efaeb97672d7419bfc2c9113c35e980b883468.tar.xz |
mkarchroot.in: copy host's /etc/hosts into the chroot
-rw-r--r-- | mkarchroot.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mkarchroot.in b/mkarchroot.in index 52e363f..5983abc 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -87,6 +87,7 @@ pacstrap -GMcd ${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" |