diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-10-13 20:33:53 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-10-13 20:33:53 +0200 |
commit | 1703b92e1a2aa1947d33a666d4c67d8e40f6ffbc (patch) | |
tree | abe58aa60fdb3d691df8abc1ddc8c279c148036d /mkarchroot.in | |
parent | cfd81ab5636bc66b4ef63054bb7dee9f8899229c (diff) | |
download | devtools32-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
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 4 |
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" |