diff options
author | Erich Eckner <git@eckner.net> | 2018-01-08 13:33:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-18 20:19:42 +0200 |
commit | 8b55b910125fa900d4f553ed7008cb9d035249cc (patch) | |
tree | e24f8469c6be898366a94b007ea5ff908adfaf7d /mkarchroot.in | |
parent | 28b397ec3868e753decc00a206d218026c9bd055 (diff) | |
download | devtools-8b55b910125fa900d4f553ed7008cb9d035249cc.tar.xz |
mkarchroot.in: copy host's /etc/hosts into the chroot
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 1 |
1 files changed, 1 insertions, 0 deletions
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" |