Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mkarchroot: do not create /etc/mtab

As of filesystem-2011.12 this is not needed anylonger, and indeed blocks the
chroot from being upgraded. As a workaround, recreating the chroot fixes the
problem.

Fixes FS#27640.

Reported-by: Andrea Scarpino <andrea@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
  • Loading branch information...
commit 130227546a92f94d43ae5959e0a15e5fe5aec87d 1 parent 594f972
@teg teg authored pierres committed
Showing with 0 additions and 1 deletion.
  1. +0 −1  mkarchroot.in
View
1  mkarchroot.in
@@ -126,7 +126,6 @@ chroot_mount() {
}
copy_hostconf () {
- chroot "${working_dir}" /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS > "${working_dir}/etc/mtab"
cp /etc/resolv.conf "${working_dir}/etc/resolv.conf"
echo "Server = ${host_mirror}" > ${working_dir}/etc/pacman.d/mirrorlist
Please sign in to comment.
Something went wrong with that request. Please try again.