Skip to contentSkip to conversation

package.bbclass: add CONFFILES to pkgdata

PATCH New David Vincent 1 participant 1 message Apr 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/classes/package.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/package.bbclass +1 -0
index 1bc4f6a4dc..cc466bd1b2 100644
@@ -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')
Signature · 1 line
2.12.2