diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-23 18:44:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-26 17:56:43 +0100 |
commit | 1750e9018f3c22c477c61643efe917eeb074cf65 (patch) | |
tree | be623fb65f8144bd362192df693dac3df3b8cbe6 /meta/classes/sstate.bbclass | |
parent | cb1911385a065603de8d16e3fefc25220647158f (diff) | |
download | ast2050-yocto-poky-1750e9018f3c22c477c61643efe917eeb074cf65.zip ast2050-yocto-poky-1750e9018f3c22c477c61643efe917eeb074cf65.tar.gz |
sstate: No need to spew out a debug message per file, summarise instead
(From OE-Core rev: c7b02c6e80819e30a0818282ab8d960243a2d0e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 91f209a..eee04ab 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -114,15 +114,16 @@ def sstate_install(ss, d): for state in ss['dirs']: oe.path.copytree(state[1], state[2]) for walkroot, dirs, files in os.walk(state[1]): + bb.debug(2, "Staging files from %s to %s" % (state[1], state[2])) for file in files: srcpath = os.path.join(walkroot, file) dstpath = srcpath.replace(state[1], state[2]) - bb.debug(2, "Staging %s to %s" % (srcpath, dstpath)) + #bb.debug(2, "Staging %s to %s" % (srcpath, dstpath)) sharedfiles.append(dstpath) for dir in dirs: srcdir = os.path.join(walkroot, dir) dstdir = srcdir.replace(state[1], state[2]) - bb.debug(2, "Staging %s to %s" % (srcdir, dstdir)) + #bb.debug(2, "Staging %s to %s" % (srcdir, dstdir)) if not dstdir.endswith("/"): dstdir = dstdir + "/" shareddirs.append(dstdir) @@ -355,12 +356,12 @@ def sstate_package(ss, d): for file in files: srcpath = os.path.join(walkroot, file) dstpath = srcpath.replace(state[1], sstatebuild + state[0]) - bb.debug(2, "Preparing %s for packaging at %s" % (srcpath, dstpath)) make_relative_symlink(srcpath, dstpath, d) for dir in dirs: srcpath = os.path.join(walkroot, dir) dstpath = srcpath.replace(state[1], sstatebuild + state[0]) make_relative_symlink(srcpath, dstpath, d) + bb.debug(2, "Preparing tree %s for packaging at %s" % (state[1], sstatebuild + state[0])) oe.path.copytree(state[1], sstatebuild + state[0]) workdir = bb.data.getVar('WORKDIR', d, True) |