[SCM] Debian Live build scripts (webfrontent) branch, master, updated. 359e51591318966e97128b00bff38c62d07c6827

Richard Nelson unixabg at gmail.com
Tue Sep 9 02:37:34 UTC 2008


The following commit has been merged in the master branch:
commit 359e51591318966e97128b00bff38c62d07c6827
Author: Richard Nelson <unixabg at gmail.com>
Date:   Mon Sep 8 21:35:52 2008 -0500

    Added test for unmounting devpts-live.

diff --git a/scripts/cron b/scripts/cron
index fc115a3..82ca2df 100755
--- a/scripts/cron
+++ b/scripts/cron
@@ -134,6 +134,12 @@ then
 		# Sending mail
 		cat "${_DESTDIR}"/"${_BUILD}"/mail | /usr/sbin/sendmail -t
 
+		# Unmounting devpts-live
+		if ls "${_TEMPDIR}"/"${_BUILD}"/chroot/dev/pts/* > /dev/null 2>&1
+		then
+			umount "${_TEMPDIR}"/${_BUILD}/chroot/dev/pts
+		fi
+
 		# Unmounting proc
 		if [ -f "${_TEMPDIR}"/"${_BUILD}"/chroot/proc/version ]
 		then

-- 
Debian Live build scripts (webfrontent)



More information about the debian-live-changes mailing list