]> code.ossystems Code Review - openembedded-core.git/commitdiff
rng-tools: drop unnecessary INHIBIT_UPDATERCD_BBCLASS
authorChristopher Larson <chris_larson@mentor.com>
Thu, 21 Jun 2018 21:08:05 +0000 (02:08 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jun 2018 12:53:28 +0000 (13:53 +0100)
This was added as the recipe didn't inherit systemd, but it does inherit
systemd now.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/rng-tools/rng-tools_5.bb

index b3c9fd97455767b71d3bb77225feb5ce44bc0585..24d545dc3faa27d01e2090868db53655ce7ea1e5 100644 (file)
@@ -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"