diff options
| author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-12 14:52:58 +0000 |
|---|---|---|
| committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-03-13 20:28:15 +0000 |
| commit | 34ceb67718bf382adcac9a82d03c0983faf0cfd6 (patch) | |
| tree | c1687d34ac4f3e062675fe27de410f79e4d9ce70 /scripts/build/chroot_devpts | |
| parent | a46985b08ac8b8c73d8a3965ee83daa4d4c41e22 (diff) | |
| download | vyos-live-build-34ceb67718bf382adcac9a82d03c0983faf0cfd6.tar.gz vyos-live-build-34ceb67718bf382adcac9a82d03c0983faf0cfd6.zip | |
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
Diffstat (limited to 'scripts/build/chroot_devpts')
| -rwxr-xr-x | scripts/build/chroot_devpts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_devpts b/scripts/build/chroot_devpts index 80e30f962..4650efe18 100755 --- a/scripts/build/chroot_devpts +++ b/scripts/build/chroot_devpts @@ -38,7 +38,7 @@ case "${1}" in mkdir -p chroot/dev/pts # Mounting /dev/pts - mount devpts-live -t devpts -o gid=5,mode=620 chroot/dev/pts || true + mount -t devpts -o gid=5,mode=620,x-gvfs-hide devpts-live chroot/dev/pts || true # Creating stage file Create_stagefile .build/chroot_devpts |
