[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-31-g27b9839
Daniel Baumann
daniel at debian.org
Tue Oct 14 19:48:15 UTC 2008
The following commit has been merged in the master branch:
commit 27b98395e6c4c12a82da1b37603c1e94e984bda0
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Oct 14 21:43:50 2008 +0200
Adding unmount calls for pseudo-filesystems in Exit();.
diff --git a/functions/exit.sh b/functions/exit.sh
index 2d23ff7..245526b 100755
--- a/functions/exit.sh
+++ b/functions/exit.sh
@@ -17,5 +17,10 @@ Exit ()
set | grep -e ^LH
fi
- # FIXME: Add /proc et al cleanup on failure
+ # Always exit true in case we are not able to unmount
+ # (e.g. due to running processes in chroot from user customizations)
+ lh_chroot_devpts remove || true
+ lh_chroot_proc remove || true
+ lh_chroot_selinuxfs remove || true
+ lh_chroot_sysfs remove || true
}
--
Debian Live build scripts
More information about the debian-live-changes
mailing list