[OE-core] [dylan] Backport Request

Paul Barker paul at paulbarker.me.uk
Fri Sep 18 07:52:41 UTC 2015


Hi,

I'm not sure if there are many other poor souls still using dylan, but if there
are I'd like to request a backport of the following commit. In our case it is
needed to ensure that a package is rebuilt when INITSCRIPT_NAME or
INITSCRIPT_PARAMS is changed in a recipe.

Hopefully we'll be able to upgrade soon, but if so it will probably be only as
far as daisy...

commit 4003218f774c38bb5de0d95a43153f8b8d7fc4ce
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Oct 4 12:29:08 2013 +0100
    udpated-rc.d: Track postinst/prerm/postrm in task checksum
    
    When these functions change, the package should rebuild but currently it
    does not. We need to add the dependencies manually as the dependency
    code can't track dynamically created variables.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 5588569..f726f2f 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -54,6 +54,8 @@ python __anonymous() {
 
 PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
 
+populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_postinst"
+
 python populate_packages_updatercd () {
     def update_rcd_package(pkg):
         bb.debug(1, 'adding update-rc.d calls to postinst/postrm for %s' % pkg)

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150918/0d3a5924/attachment-0001.sig>


More information about the Openembedded-core mailing list