diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-01-23 20:12:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 11:22:11 +0000 |
commit | 85b3ba930dccbd6df7cbc9ef6e91ea393b3f89d4 (patch) | |
tree | d33aa04586357b7e8a392be7aa2e84580d89065a /meta/recipes-extended | |
parent | c2bb0ce67159ebc2ed9f21df0b09054e1420ec67 (diff) | |
download | poky-85b3ba930dccbd6df7cbc9ef6e91ea393b3f89d4.tar.gz |
Revert "Add missing RDEPENDS of initscripts-functions"
Instead of manually adding initscripts to RDEPENDS of each package,
we should make it automatically handled by the update-rc.d.bbclass.
This solution would have the benefit of backward compatibility. In
other words, users need not modify their recipes.
This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea.
(From OE-Core rev: f9f193219bd510160b6b09bae652a9dc8ea01e7b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/at/at_3.1.14.bb | 3 | ||||
-rw-r--r-- | meta/recipes-extended/cronie/cronie_1.4.11.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/xinetd/xinetd_2.3.15.bb | 1 |
5 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-extended/at/at_3.1.14.bb b/meta/recipes-extended/at/at_3.1.14.bb index 480e7329a5..5207a0fc34 100644 --- a/meta/recipes-extended/at/at_3.1.14.bb +++ b/meta/recipes-extended/at/at_3.1.14.bb | |||
@@ -7,8 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" | |||
7 | DEPENDS = "flex flex-native \ | 7 | DEPENDS = "flex flex-native \ |
8 | ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 8 | ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
9 | 9 | ||
10 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
10 | RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \ | 11 | RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \ |
11 | initscripts-functions \ | 12 | ${VIRTUAL-RUNTIME_initscripts} \ |
12 | " | 13 | " |
13 | 14 | ||
14 | PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" | 15 | PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" |
diff --git a/meta/recipes-extended/cronie/cronie_1.4.11.bb b/meta/recipes-extended/cronie/cronie_1.4.11.bb index c698181280..d98d0d9167 100644 --- a/meta/recipes-extended/cronie/cronie_1.4.11.bb +++ b/meta/recipes-extended/cronie/cronie_1.4.11.bb | |||
@@ -39,8 +39,6 @@ PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,${PAM_DEPS}" | |||
39 | INITSCRIPT_NAME = "crond" | 39 | INITSCRIPT_NAME = "crond" |
40 | INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." | 40 | INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." |
41 | 41 | ||
42 | RDEPENDS_${PN} = "initscripts-functions" | ||
43 | |||
44 | USERADD_PACKAGES = "${PN}" | 42 | USERADD_PACKAGES = "${PN}" |
45 | GROUPADD_PARAM_${PN} = "--system crontab" | 43 | GROUPADD_PARAM_${PN} = "--system crontab" |
46 | 44 | ||
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb index d829f74bd9..d9eb1a2527 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | |||
@@ -34,8 +34,6 @@ PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | |||
34 | INITSCRIPT_NAME = "rpcbind" | 34 | INITSCRIPT_NAME = "rpcbind" |
35 | INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." | 35 | INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." |
36 | 36 | ||
37 | RDEPENDS_${PN} = "initscripts-functions" | ||
38 | |||
39 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" | 37 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" |
40 | SYSTEMD_AUTO_ENABLE = "disable" | 38 | SYSTEMD_AUTO_ENABLE = "disable" |
41 | 39 | ||
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc index ef7004429c..3a518103ea 100644 --- a/meta/recipes-extended/sysklogd/sysklogd.inc +++ b/meta/recipes-extended/sysklogd/sysklogd.inc | |||
@@ -24,8 +24,6 @@ SRC_URI_append_e500v2 = " file://no-vectorization.patch" | |||
24 | INITSCRIPT_NAME = "syslog" | 24 | INITSCRIPT_NAME = "syslog" |
25 | CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${BPN}" | 25 | CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${BPN}" |
26 | 26 | ||
27 | RDEPENDS_${PN} = "initscripts-functions" | ||
28 | |||
29 | CFLAGS_append = " -DSYSV" | 27 | CFLAGS_append = " -DSYSV" |
30 | 28 | ||
31 | do_install () { | 29 | do_install () { |
diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb index c43892c719..1928949e94 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb | |||
@@ -7,7 +7,6 @@ LICENSE = "BSD" | |||
7 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" | 7 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" |
8 | 8 | ||
9 | DEPENDS = "" | 9 | DEPENDS = "" |
10 | RDEPENDS_${PN} = "initscripts-functions" | ||
11 | PR = "r2" | 10 | PR = "r2" |
12 | 11 | ||
13 | SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ | 12 | SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ |