From 130227546a92f94d43ae5959e0a15e5fe5aec87d Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 20 Dec 2011 19:58:27 +0100 Subject: 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 Signed-off-by: Tom Gundersen Signed-off-by: Pierre Schmitz --- mkarchroot.in | 1 - 1 file changed, 1 deletion(-) diff --git a/mkarchroot.in b/mkarchroot.in index 86631a1..cda761c 100644 --- a/mkarchroot.in +++ b/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 -- cgit v1.2.3-24-g4f1b