[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5534/8267] package.bbclass: add CONFFILES to pkgdata



commit 77de4e58bfd291ea98c20609c5524c6983d29d89
Author: David Vincent <freesilicon gmail com>
Date:   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.
    
    (From OE-Core rev: ee44dabc065912ac17f1ee5f06f12695c90b5482)
    
    Signed-off-by: David Vincent <freesilicon gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/package.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]