[oe-commits] [openembedded-core] 28/39: rng-tools: drop unnecessary INHIBIT_UPDATERCD_BBCLASS

git at git.openembedded.org git at git.openembedded.org
Wed Jun 27 12:56:15 UTC 2018


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

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

commit c70b70f045a5ccf62b19060f3438b38d9914e9a2
Author: Christopher Larson <chris_larson at mentor.com>
AuthorDate: Fri Jun 22 02:08:05 2018 +0500

    rng-tools: drop unnecessary INHIBIT_UPDATERCD_BBCLASS
    
    This was added as the recipe didn't inherit systemd, but it does inherit
    systemd now.
    
    Signed-off-by: Christopher Larson <chris_larson at mentor.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-support/rng-tools/rng-tools_5.bb | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/recipes-support/rng-tools/rng-tools_5.bb b/meta/recipes-support/rng-tools/rng-tools_5.bb
index b3c9fd9..24d545d 100644
--- a/meta/recipes-support/rng-tools/rng-tools_5.bb
+++ b/meta/recipes-support/rng-tools/rng-tools_5.bb
@@ -16,13 +16,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gkernel/${BP}.tar.gz \
 SRC_URI[md5sum] = "6726cdc6fae1f5122463f24ae980dd68"
 SRC_URI[sha256sum] = "60a102b6603bbcce2da341470cad42eeaa9564a16b4490e7867026ca11a3078e"
 
-# As the recipe doesn't inherit systemd.bbclass, we need to set this variable
-# manually to avoid unnecessary postinst/preinst generated.
-python () {
-    if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
-        d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
-}
-
 inherit autotools update-rc.d systemd
 
 PACKAGECONFIG = "libgcrypt"

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


More information about the Openembedded-commits mailing list