All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] package.bbclass: add CONFFILES to pkgdata
@ 2017-04-05 15:43 David Vincent
  0 siblings, 0 replies; only message in thread
From: David Vincent @ 2017-04-05 15:43 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: David Vincent <freesilicon@gmail.com>
---
 meta/classes/package.bbclass | 1 +
 1 file changed, 1 insertion(+)

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() {
         write_if_exists(sf, pkg, 'PKG')
         write_if_exists(sf, pkg, 'ALLOW_EMPTY')
         write_if_exists(sf, pkg, 'FILES')
+        write_if_exists(sf, pkg, 'CONFFILES')
         write_if_exists(sf, pkg, 'pkg_postinst')
         write_if_exists(sf, pkg, 'pkg_postrm')
         write_if_exists(sf, pkg, 'pkg_preinst')
-- 
2.12.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-05 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 15:43 [PATCH] package.bbclass: add CONFFILES to pkgdata David Vincent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.