Try adding a sleep between cdrecord and verify
authorCarl Baldwin <cnb@ball.(none)>
Thu, 10 Nov 2005 15:47:06 +0000 (08:47 -0700)
committerCarl Baldwin <cnb@ball.(none)>
Thu, 10 Nov 2005 15:47:06 +0000 (08:47 -0700)
scripts/burn-imgs.sh

index a2793fe48136326c89fe571fa6baf49071e7835e..5d030bf5f46918d09b5975e2abe8eaf844600531 100755 (executable)
@@ -42,6 +42,9 @@ fi
 renice 0 $$
 $cronstopstart start
 
+# I don't know if this *really* helps but give cdrecord a chance to clean up.
+sleep 60
+
 # Now verify the disk by running md5sum on the entire contents of the disk
 md5sum=$(tempfile)
 dd if=$dev bs=1M count=4440 2>>$logfile | md5sum | awk '{print$1}' > $md5sum