summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-11 22:54:02 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-11 22:54:02 +0000
commitc47528db49c58374a8e8541a9aa83c0f5b12f9be (patch)
treeafe3f4efd9fd0fca8cb58d56eb6d7897449460e9
parenta6d3ffd882d81111e4e85fbcd3ec36bae45531ce (diff)
downloadpoky-c47528db49c58374a8e8541a9aa83c0f5b12f9be.tar.gz
package_tar.bbclass: Make the output slightly less verbose
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3773 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/package_tar.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index 392a4f222e..876cec6cfe 100644
--- a/meta/classes/package_tar.bbclass
+++ b/meta/classes/package_tar.bbclass
@@ -83,15 +83,12 @@ python do_package_tar () {
83 bb.mkdirhier(pkgoutdir) 83 bb.mkdirhier(pkgoutdir)
84 bb.build.exec_func('package_tar_fn', localdata) 84 bb.build.exec_func('package_tar_fn', localdata)
85 tarfn = bb.data.getVar('PKGFN', localdata, 1) 85 tarfn = bb.data.getVar('PKGFN', localdata, 1)
86# if os.path.exists(tarfn):
87# del localdata
88# continue
89 os.chdir(root) 86 os.chdir(root)
90 from glob import glob 87 from glob import glob
91 if not glob('*'): 88 if not glob('*'):
92 bb.note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), bb.data.getVar('PR', localdata, 1))) 89 bb.note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), bb.data.getVar('PR', localdata, 1)))
93 continue 90 continue
94 ret = os.system("tar -czvf %s %s" % (tarfn, '.')) 91 ret = os.system("tar -czf %s %s" % (tarfn, '.'))
95 if ret != 0: 92 if ret != 0:
96 bb.error("Creation of tar %s failed." % tarfn) 93 bb.error("Creation of tar %s failed." % tarfn)
97} 94}