org.openmoko.april-update: e700dbe21c1dccb78f1da723673a7ef8909253d3

oe at monotone.openmoko.org oe at monotone.openmoko.org
Tue May 13 03:55:47 CEST 2008


revision:            e700dbe21c1dccb78f1da723673a7ef8909253d3
date:                2008-05-12T10:06:06
author:              freyther at openembedded.org
branch:              org.openmoko.april-update
changelog:
Make sure the TMPDIR exists.
    If the PersistData is not stored within the TMPDIR sanity.bbclass will be
    the first to access the directory from the ConfigParsed event. This will lead
    to an error like.

    "Unable to open conf/bitbake.conf"

manifest:
format_version "1"

new_manifest [395feeae86f1eea1c4da0ef0d9442b1d1cc04d05]

old_revision [8c9994a406c86a229aaa7d0ad215f03b0e7fdbd2]

patch "classes/sanity.bbclass"
 from [2891c5197046f50c1ea83ee2502e4a49ae595aed]
   to [03a85bd997f6da2a9152a30674f9528a15345804]
-------------- next part --------------
#
#
# patch "classes/sanity.bbclass"
#  from [2891c5197046f50c1ea83ee2502e4a49ae595aed]
#    to [03a85bd997f6da2a9152a30674f9528a15345804]
#
============================================================
--- classes/sanity.bbclass	2891c5197046f50c1ea83ee2502e4a49ae595aed
+++ classes/sanity.bbclass	03a85bd997f6da2a9152a30674f9528a15345804
@@ -25,7 +25,7 @@ def check_sanity(e):
 	return False
 
 def check_sanity(e):
-	from bb import note, error, data, __version__
+	from bb import note, error, data, __version__, mkdirhier
 	from bb.event import Handled, NotHandled, getName
 	try:
 		from distutils.version import LooseVersion
@@ -120,6 +120,7 @@ def check_sanity(e):
 	#
 	tmpdir = data.getVar('TMPDIR', e.data, True)
 	checkfile = os.path.join(tmpdir, "saved_tmpdir")
+        mkdirhier(tmpdir)
 	if os.path.exists(checkfile):
 		f = file(checkfile, "r")
 		if (f.read().strip() != tmpdir):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/commitlog/attachments/20080513/5236f8cc/attachment.htm 


More information about the commitlog mailing list