summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDavid Vincent <freesilicon@gmail.com>2017-04-05 17:43:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:42 +0100
commit77de4e58bfd291ea98c20609c5524c6983d29d89 (patch)
tree97962cd459b0ac0e6fef06387c4c119863fd8a24 /meta
parent78971cee155f35181dd3f312880914b464daa515 (diff)
downloadpoky-77de4e58bfd291ea98c20609c5524c6983d29d89.tar.gz
package.bbclass: add CONFFILES to pkgdata
Emit CONFFILES variable in pkgdata, or else the get_conffiles function will return 'None' for some packages instead of the expected value. This is especially true for optional module packages. (From OE-Core rev: ee44dabc065912ac17f1ee5f06f12695c90b5482) Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 1bc4f6a4dc..cc466bd1b2 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1380,6 +1380,7 @@ python emit_pkgdata() {
1380 write_if_exists(sf, pkg, 'PKG') 1380 write_if_exists(sf, pkg, 'PKG')
1381 write_if_exists(sf, pkg, 'ALLOW_EMPTY') 1381 write_if_exists(sf, pkg, 'ALLOW_EMPTY')
1382 write_if_exists(sf, pkg, 'FILES') 1382 write_if_exists(sf, pkg, 'FILES')
1383 write_if_exists(sf, pkg, 'CONFFILES')
1383 write_if_exists(sf, pkg, 'pkg_postinst') 1384 write_if_exists(sf, pkg, 'pkg_postinst')
1384 write_if_exists(sf, pkg, 'pkg_postrm') 1385 write_if_exists(sf, pkg, 'pkg_postrm')
1385 write_if_exists(sf, pkg, 'pkg_preinst') 1386 write_if_exists(sf, pkg, 'pkg_preinst')