diff options
author | Erich Eckner <git@eckner.net> | 2018-01-08 13:33:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-18 08:45:01 +0200 |
commit | f2e34f51c071dd80c32e2c6fdb94242b12253318 (patch) | |
tree | eae5b77bd940bd3f99062d83bebd049f86608943 /mkarchroot.in | |
parent | 91e05320b76ad740d09cc2afc8199675bd18066b (diff) | |
download | devtools-f2e34f51c071dd80c32e2c6fdb94242b12253318.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 37f6802..fc5ded6 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -94,6 +94,7 @@ pacstrap -${umode}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" |