[oe-commits] org.oe.dev package.bbclass: comment out the cleandir since it breaks constructions like "inherit package_ipk package_tar" and seems to interfere with do_split_packages
koen commit
openembedded-commits at lists.openembedded.org
Tue Feb 27 09:39:40 UTC 2007
package.bbclass: comment out the cleandir since it breaks constructions like "inherit package_ipk package_tar" and seems to interfere with do_split_packages
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 69bad661f01cc24631c8e7d2880745962ecfa6ee
ViewMTN: http://monotone.openembedded.org/revision.psp?id=69bad661f01cc24631c8e7d2880745962ecfa6ee
Files:
1
classes/package.bbclass
Diffs:
#
# mt diff -rf73bf6f6bed860068b29957491cca7aea1c814cf -r69bad661f01cc24631c8e7d2880745962ecfa6ee
#
#
#
# patch "classes/package.bbclass"
# from [0b1ead4342f53f915d877f37cb18f8eb75b3fe8e]
# to [11f1fb0bda9849ac1e65a798ecb45a9d4818f571]
#
============================================================
--- classes/package.bbclass 0b1ead4342f53f915d877f37cb18f8eb75b3fe8e
+++ classes/package.bbclass 11f1fb0bda9849ac1e65a798ecb45a9d4818f571
@@ -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)
More information about the Openembedded-commits
mailing list