From 1703b92e1a2aa1947d33a666d4c67d8e40f6ffbc Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 13 Oct 2012 20:33:53 +0200 Subject: 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 --- mkarchroot.in | 4 ++-- 1 file 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" -- cgit v1.2.3-24-g4f1b