[oe-commits] [openembedded-core] 08/39: package.bbclass: add CONFFILES to pkgdata

git at git.openembedded.org git at git.openembedded.org
Thu Apr 6 23:51:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 63033dfd1a8d378d1525008aecc1b5f966fae112
Author: David Vincent <freesilicon at gmail.com>
AuthorDate: Wed Apr 5 17:43:07 2017 +0200

    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.
    
    Signed-off-by: David Vincent <freesilicon at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/package.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 1bc4f6a..cc466bd 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')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list