Removing -l option for umount of the loop device. Daniel says that
authorMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 24 Jan 2008 15:49:09 +0000 (15:49 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 24 Jan 2008 15:49:09 +0000 (15:49 +0000)
the -l option does not deallocate the actual loop device, which is why
we were running out of those on the build machine.

build.common

index 52c1887..23d282d 100644 (file)
@@ -636,7 +636,7 @@ function pl_make_image() {
     (cd $root && tar cpf - .) | (cd $tmp && tar xpf -)
 
     # Unmount it
-    umount -l $tmp
+    umount $tmp
     rmdir $tmp
     trap - ERR INT
 }