summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_deb.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 12e01d1d5e..eea15e722f 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -365,7 +365,8 @@ python do_package_deb () {
365 bb.utils.unlockfile(lf) 365 bb.utils.unlockfile(lf)
366 raise bb.build.FuncFailed("unable to open conffiles for writing.") 366 raise bb.build.FuncFailed("unable to open conffiles for writing.")
367 for f in conffiles_str.split(): 367 for f in conffiles_str.split():
368 conffiles.write('%s\n' % f) 368 if os.path.exists(oe.path.join(root, f)):
369 conffiles.write('%s\n' % f)
369 conffiles.close() 370 conffiles.close()
370 371
371 os.chdir(basedir) 372 os.chdir(basedir)