mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
Be silent about attempts to unmount filesystems from within the chroot
This commit is contained in:
parent
64c84995a0
commit
009e9c0f01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123153
1 changed files with 4 additions and 4 deletions
|
@ -19,10 +19,10 @@ if [ ${arch} = "i386" ]; then
|
||||||
chroot ${chroot} umount -f /compat/linux/proc
|
chroot ${chroot} umount -f /compat/linux/proc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
umount -f ${chroot}/a/ports
|
umount -f ${chroot}/a/ports 2> /dev/null
|
||||||
umount -f ${chroot}/usr/opt/doc
|
umount -f ${chroot}/usr/opt/doc 2> /dev/null
|
||||||
umount -f ${chroot}/usr/src
|
umount -f ${chroot}/usr/src 2> /dev/null
|
||||||
umount -f ${chroot}/dev
|
umount -f ${chroot}/dev 2> /dev/null
|
||||||
|
|
||||||
if [ $noclean = 0 ]; then
|
if [ $noclean = 0 ]; then
|
||||||
rm -rf ${chroot}/tmp/*
|
rm -rf ${chroot}/tmp/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue