summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-10-13 20:33:53 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-10-13 20:33:53 +0200
commit1703b92e1a2aa1947d33a666d4c67d8e40f6ffbc (patch)
treeabe58aa60fdb3d691df8abc1ddc8c279c148036d
parentcfd81ab5636bc66b4ef63054bb7dee9f8899229c (diff)
downloaddevtools-1703b92e1a2aa1947d33a666d4c67d8e40f6ffbc.tar.xz
mkarchroot: do not try to bind /etc/timezone from host
/etc/timezone is no longer used. We only need /etc/localtime. This fixes FS#31929
-rw-r--r--mkarchroot.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index f4cd158..7ea90e1 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -131,7 +131,7 @@ chroot_mount() {
[[ -e "${working_dir}/run" ]] || mkdir "${working_dir}/run"
mount -t tmpfs tmpfs "${working_dir}/run" -o mode=0755,nodev,nosuid,strictatime,size=64M
- for host_config in resolv.conf timezone localtime; do
+ for host_config in resolv.conf localtime; do
bind_mount /etc/$host_config ro
done
fi
@@ -168,7 +168,7 @@ trap_chroot_umount () {
[[ -n $host_mirror_path ]] && umount "${working_dir}/${host_mirror_path}"
if (( ! have_nspawn )); then
- for host_config in resolv.conf timezone localtime; do
+ for host_config in resolv.conf localtime; do
umount "${working_dir}/etc/${host_config}"
done
umount "${working_dir}/proc/sys"