From 34ceb67718bf382adcac9a82d03c0983faf0cfd6 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Thu, 12 Mar 2020 14:52:58 +0000 Subject: hide mountpoints from nautilus when building within a home directory, as /proc, /sys, etc are mounted and unmounted into the chroot at various points in the build, corresponding entries appear and disappear within the side panel of nautilus. this is obviously undesirable. use of `-o x-gvfs-hide` resolves this for the most part. i still see items occasionally pop up and having spent some time experimenting, i'm putting it down to buggy behaviour on the part of nautilus. (aside from those appearing when debootstrap is running - debootstrap also needs this fix). Gbp-Dch: Short --- scripts/build/chroot_tmpfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/chroot_tmpfs') diff --git a/scripts/build/chroot_tmpfs b/scripts/build/chroot_tmpfs index 2f94a8fe3..be613d4a8 100755 --- a/scripts/build/chroot_tmpfs +++ b/scripts/build/chroot_tmpfs @@ -41,7 +41,7 @@ case "${1}" in mv chroot/var/lib/dpkg chroot/var/lib/dpkg.tmp mkdir chroot/var/lib/dpkg - mount -t tmpfs tmpfs chroot/var/lib/dpkg + mount -t tmpfs -o x-gvfs-hide tmpfs chroot/var/lib/dpkg mv chroot/var/lib/dpkg.tmp/* chroot/var/lib/dpkg rm -rf chroot/var/lib/dpkg.tmp -- cgit v1.2.3