aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-02-27 09:32:09 +0000
committerKoen Kooi <koen@openembedded.org>2007-02-27 09:32:09 +0000
commit21c5ceaeb3d8429f0392df5d0556199b7147b784 (patch)
tree5c39361dab72f3ee06a58bd66f9d1e40bdf074ad /classes/package.bbclass
parent65eeb7f79b9be29aeb8d71052a763fa6de0723c0 (diff)
downloadopenembedded-21c5ceaeb3d8429f0392df5d0556199b7147b784.tar.gz
package.bbclass: comment out the cleandir since it breaks constructions like "inherit package_ipk package_tar" and seems to interfere with do_split_packages
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 34f3993bbf..07fdb7f890 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -409,16 +409,16 @@ python populate_packages () {
fpath = os.path.join(root,file)
dpath = os.path.dirname(fpath)
bb.mkdirhier(dpath)
- if file in cleandirs:
- cleandirs.remove(file)
+# if file in cleandirs:
+# cleandirs.remove(file)
ret = bb.movefile(file,fpath)
if ret is None or ret == 0:
raise bb.build.FuncFailed("File population failed")
- for dir in cleandirs:
- if os.path.isdir(dir):
- os.rmdir(dir)
- else:
- bb.note("ERROR: directory %s went away unexpectedly during package population" % dir)
+# for dir in cleandirs:
+# if os.path.isdir(dir):
+# os.rmdir(dir)
+# else:
+# bb.note("ERROR: directory %s went away unexpectedly during package population" % dir)
del localdata
os.chdir(workdir)