diff options
author | Christopher Larson <chris_larson@mentor.com> | 2018-06-22 02:08:05 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-27 13:55:21 +0100 |
commit | a060ff2871bf01b99efd4b3f589712fc68a6cfaf (patch) | |
tree | 79603c1e6e650a466baed3c9b39a52719ada897e /meta | |
parent | 3cda7c73a9e8e94ca81584e07b58b4d9d2d1a304 (diff) | |
download | poky-a060ff2871bf01b99efd4b3f589712fc68a6cfaf.tar.gz |
rng-tools: drop unnecessary INHIBIT_UPDATERCD_BBCLASS
This was added as the recipe didn't inherit systemd, but it does inherit
systemd now.
(From OE-Core rev: c70b70f045a5ccf62b19060f3438b38d9914e9a2)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools_5.bb | 7 |
1 files changed, 0 insertions, 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 b3c9fd9745..24d545dc3f 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 \ | |||
16 | SRC_URI[md5sum] = "6726cdc6fae1f5122463f24ae980dd68" | 16 | SRC_URI[md5sum] = "6726cdc6fae1f5122463f24ae980dd68" |
17 | SRC_URI[sha256sum] = "60a102b6603bbcce2da341470cad42eeaa9564a16b4490e7867026ca11a3078e" | 17 | SRC_URI[sha256sum] = "60a102b6603bbcce2da341470cad42eeaa9564a16b4490e7867026ca11a3078e" |
18 | 18 | ||
19 | # As the recipe doesn't inherit systemd.bbclass, we need to set this variable | ||
20 | # manually to avoid unnecessary postinst/preinst generated. | ||
21 | python () { | ||
22 | if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): | ||
23 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") | ||
24 | } | ||
25 | |||
26 | inherit autotools update-rc.d systemd | 19 | inherit autotools update-rc.d systemd |
27 | 20 | ||
28 | PACKAGECONFIG = "libgcrypt" | 21 | PACKAGECONFIG = "libgcrypt" |