diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-10-21 14:39:12 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-31 22:03:25 +0000 |
| commit | 2113fdf82bf7963d899c8bf23819c22ae1b6bc0f (patch) | |
| tree | af0584c48be0ab8a45a556796036c85b6a05792d | |
| parent | 584a12697b34a1b86bd92181ac04f95f07126391 (diff) | |
| download | poky-2113fdf82bf7963d899c8bf23819c22ae1b6bc0f.tar.gz | |
dbus: remove unused initscript
We already install an appropriate init script to /etc/init.d, we do not
need an additional one in /etc/init.d/rc.d as well.
(From OE-Core rev: 48dfa47b0e65ad1207c6ae81ba495ef2e39134aa)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-core/dbus/dbus_1.4.12.bb | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 2a97c028e6..4c7d87a91d 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
| @@ -86,6 +86,9 @@ do_install() { | |||
| 86 | chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper | 86 | chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper |
| 87 | chmod 4754 ${D}${libexecdir}/dbus-daemon-launch-helper | 87 | chmod 4754 ${D}${libexecdir}/dbus-daemon-launch-helper |
| 88 | 88 | ||
| 89 | # Remove Red Hat initscript | ||
| 90 | rm -rf ${D}${sysconfdir}/rc.d | ||
| 91 | |||
| 89 | # disable dbus-1 sysv script on systemd installs | 92 | # disable dbus-1 sysv script on systemd installs |
| 90 | # nearly all distros call the initscript plain 'dbus', but OE-core is different | 93 | # nearly all distros call the initscript plain 'dbus', but OE-core is different |
| 91 | ln -sf /dev/null ${D}/${base_libdir}/systemd/system/dbus-1.service | 94 | ln -sf /dev/null ${D}/${base_libdir}/systemd/system/dbus-1.service |
diff --git a/meta/recipes-core/dbus/dbus_1.4.12.bb b/meta/recipes-core/dbus/dbus_1.4.12.bb index ada53c9a21..9324af7f0a 100644 --- a/meta/recipes-core/dbus/dbus_1.4.12.bb +++ b/meta/recipes-core/dbus/dbus_1.4.12.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | include dbus.inc | 1 | include dbus.inc |
| 2 | |||
| 3 | PR = "r1" | ||
| 4 | |||
| 2 | SRC_URI[md5sum] = "104f2ea94c10a896dfb1edecb5714cb1" | 5 | SRC_URI[md5sum] = "104f2ea94c10a896dfb1edecb5714cb1" |
| 3 | SRC_URI[sha256sum] = "da3c97fd546610558d588799e27c4fa81101e754acbcd34747a42c131f30dbe7" | 6 | SRC_URI[sha256sum] = "da3c97fd546610558d588799e27c4fa81101e754acbcd34747a42c131f30dbe7" |
| 4 | 7 | ||
