org.openmoko.april-update: e700dbe21c1dccb78f1da723673a7ef8909253d3

oe at oe at
Tue May 13 03:55:56 CEST 2008

revision:            e700dbe21c1dccb78f1da723673a7ef8909253d3
date:                2008-05-12T10:06:06
author:              freyther at
branch:              org.openmoko.april-update
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"

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
 		from distutils.version import LooseVersion
@@ -120,6 +120,7 @@ def check_sanity(e):
 	tmpdir = data.getVar('TMPDIR',, True)
 	checkfile = os.path.join(tmpdir, "saved_tmpdir")
+        mkdirhier(tmpdir)
 	if os.path.exists(checkfile):
 		f = file(checkfile, "r")
 		if ( != tmpdir):
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the commitlog mailing list