summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-01-23 20:12:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 11:22:11 +0000
commit85b3ba930dccbd6df7cbc9ef6e91ea393b3f89d4 (patch)
treed33aa04586357b7e8a392be7aa2e84580d89065a
parentc2bb0ce67159ebc2ed9f21df0b09054e1420ec67 (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-bsp/alsa-state/alsa-state.bb2
-rw-r--r--meta/recipes-bsp/apmd/apmd_3.2.2-14.bb1
-rw-r--r--meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb2
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb4
-rw-r--r--meta/recipes-connectivity/openssh/openssh_6.4p1.bb2
-rw-r--r--meta/recipes-connectivity/ppp/ppp_2.4.5.bb1
-rw-r--r--meta/recipes-core/dbus/dbus.inc2
-rw-r--r--meta/recipes-core/systemd/systemd_208.bb2
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb2
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.1.bb1
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb2
-rw-r--r--meta/recipes-extended/at/at_3.1.14.bb3
-rw-r--r--meta/recipes-extended/cronie/cronie_1.4.11.bb2
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb2
-rw-r--r--meta/recipes-extended/sysklogd/sysklogd.inc2
-rw-r--r--meta/recipes-extended/xinetd/xinetd_2.3.15.bb1
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui-server_git.bb2
17 files changed, 11 insertions, 22 deletions
diff --git a/meta/recipes-bsp/alsa-state/alsa-state.bb b/meta/recipes-bsp/alsa-state/alsa-state.bb
index 4be74aa036..552fcfc022 100644
--- a/meta/recipes-bsp/alsa-state/alsa-state.bb
+++ b/meta/recipes-bsp/alsa-state/alsa-state.bb
@@ -37,7 +37,7 @@ PACKAGES += "alsa-states"
37 37
38RRECOMMENDS_alsa-state = "alsa-states" 38RRECOMMENDS_alsa-state = "alsa-states"
39 39
40RDEPENDS_${PN} = "alsa-utils-alsactl initscripts-functions" 40RDEPENDS_${PN} = "alsa-utils-alsactl"
41FILES_${PN} = "${sysconfdir}/init.d ${sysconfdir}/asound.conf" 41FILES_${PN} = "${sysconfdir}/init.d ${sysconfdir}/asound.conf"
42CONFFILES_${PN} = "${sysconfdir}/asound.conf" 42CONFFILES_${PN} = "${sysconfdir}/asound.conf"
43 43
diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
index d5ddc174f5..8c4b75eb6d 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
@@ -8,7 +8,6 @@ LICENSE = "GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9 file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2" 9 file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2"
10DEPENDS = "libtool-cross" 10DEPENDS = "libtool-cross"
11RDEPENDS_${PN} = "initscripts-functions"
12PR = "r2" 11PR = "r2"
13 12
14SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \ 13SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
diff --git a/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb b/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb
index 59c9b6acce..7f216ac704 100644
--- a/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb
+++ b/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb
@@ -24,8 +24,6 @@ inherit autotools update-rc.d
24INITSCRIPT_NAME = "irattach" 24INITSCRIPT_NAME = "irattach"
25INITSCRIPT_PARAMS = "defaults 20" 25INITSCRIPT_PARAMS = "defaults 20"
26 26
27RDEPENDS_${PN} += "initscripts-functions"
28
29do_compile () { 27do_compile () {
30 oe_runmake -e -C irattach 28 oe_runmake -e -C irattach
31 oe_runmake -e -C irdaping 29 oe_runmake -e -C irdaping
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb
index fd44ea1b20..45eacd970e 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
9 9
10# util-linux for libblkid 10# util-linux for libblkid
11DEPENDS = "libcap libnfsidmap libevent util-linux sqlite3" 11DEPENDS = "libcap libnfsidmap libevent util-linux sqlite3"
12RDEPENDS_${PN}-client = "rpcbind bash initscripts-functions" 12RDEPENDS_${PN}-client = "rpcbind bash"
13RDEPENDS_${PN} = "${PN}-client bash initscripts-functions" 13RDEPENDS_${PN} = "${PN}-client bash"
14RRECOMMENDS_${PN} = "kernel-module-nfsd" 14RRECOMMENDS_${PN} = "kernel-module-nfsd"
15 15
16inherit useradd 16inherit useradd
diff --git a/meta/recipes-connectivity/openssh/openssh_6.4p1.bb b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb
index 1f78566c6c..5c1d83b3b9 100644
--- a/meta/recipes-connectivity/openssh/openssh_6.4p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb
@@ -122,7 +122,7 @@ FILES_${PN}-misc = "${bindir}/ssh* ${libexecdir}/ssh*"
122FILES_${PN}-keygen = "${bindir}/ssh-keygen" 122FILES_${PN}-keygen = "${bindir}/ssh-keygen"
123 123
124RDEPENDS_${PN} += "${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-keygen" 124RDEPENDS_${PN} += "${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-keygen"
125RDEPENDS_${PN}-sshd += "${PN}-keygen initscripts-functions" 125RDEPENDS_${PN}-sshd += "${PN}-keygen"
126 126
127CONFFILES_${PN}-sshd = "${sysconfdir}/ssh/sshd_config" 127CONFFILES_${PN}-sshd = "${sysconfdir}/ssh/sshd_config"
128CONFFILES_${PN}-ssh = "${sysconfdir}/ssh/ssh_config" 128CONFFILES_${PN}-ssh = "${sysconfdir}/ssh/ssh_config"
diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.5.bb b/meta/recipes-connectivity/ppp/ppp_2.4.5.bb
index ed1a3910a6..52bab4fc43 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.4.5.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.4.5.bb
@@ -5,7 +5,6 @@ SECTION = "console/network"
5HOMEPAGE = "http://samba.org/ppp/" 5HOMEPAGE = "http://samba.org/ppp/"
6BUGTRACKER = "http://ppp.samba.org/cgi-bin/ppp-bugs" 6BUGTRACKER = "http://ppp.samba.org/cgi-bin/ppp-bugs"
7DEPENDS = "libpcap" 7DEPENDS = "libpcap"
8RDEPENDS_${PN} = "initscripts-functions"
9LICENSE = "BSD & GPLv2+ & LGPLv2+ & PD" 8LICENSE = "BSD & GPLv2+ & LGPLv2+ & PD"
10LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77d87dc9c290a424dea \ 9LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77d87dc9c290a424dea \
11 file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \ 10 file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 86d6caa46c..cf17b62234 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -6,7 +6,7 @@ LICENSE = "AFL-2 | GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
7 file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" 7 file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
8DEPENDS = "expat virtual/libintl" 8DEPENDS = "expat virtual/libintl"
9RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest-ptest', '', d)} initscripts-functions" 9RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest-ptest', '', d)}"
10RDEPENDS_dbus_class-native = "" 10RDEPENDS_dbus_class-native = ""
11RDEPENDS_dbus_class-nativesdk = "" 11RDEPENDS_dbus_class-nativesdk = ""
12 12
diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb
index 4b0fa2d4b7..41a106a7c2 100644
--- a/meta/recipes-core/systemd/systemd_208.bb
+++ b/meta/recipes-core/systemd/systemd_208.bb
@@ -237,7 +237,7 @@ PACKAGES =+ "udev-dbg udev udev-utils udev-hwdb"
237 237
238FILES_udev-dbg += "/lib/udev/.debug" 238FILES_udev-dbg += "/lib/udev/.debug"
239 239
240RDEPENDS_udev += "udev-utils initscripts-functions" 240RDEPENDS_udev += "udev-utils"
241RPROVIDES_udev = "hotplug" 241RPROVIDES_udev = "hotplug"
242RRECOMMENDS_udev += "udev-hwdb" 242RRECOMMENDS_udev += "udev-hwdb"
243 243
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index a84448aadb..dd25f71530 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7 file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4" 7 file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
8PR = "r11" 8PR = "r11"
9 9
10RDEPENDS_${PN} = "${PN}-inittab initscripts-functions" 10RDEPENDS_${PN} = "${PN}-inittab"
11 11
12SRC_URI = "http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV}.tar.bz2 \ 12SRC_URI = "http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV}.tar.bz2 \
13 file://install.patch \ 13 file://install.patch \
diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb b/meta/recipes-devtools/distcc/distcc_3.1.bb
index c3cbd05f0e..e3b6cda4b9 100644
--- a/meta/recipes-devtools/distcc/distcc_3.1.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.1.bb
@@ -6,7 +6,6 @@ LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7 7
8DEPENDS = "avahi" 8DEPENDS = "avahi"
9RDEPENDS_${PN} = "initscripts-functions"
10 9
11GTKCONFIG = "gtk" 10GTKCONFIG = "gtk"
12GTKCONFIG_libc-uclibc = "" 11GTKCONFIG_libc-uclibc = ""
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
index 6d0fbb6c36..1eb0021eec 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
@@ -15,7 +15,7 @@ SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
15 " 15 "
16 16
17DEPENDS = "util-linux openssl" 17DEPENDS = "util-linux openssl"
18RDEPENDS_${PN} = "bash initscripts-functions" 18RDEPENDS_${PN} = "bash"
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
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"
7DEPENDS = "flex flex-native \ 7DEPENDS = "flex flex-native \
8 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 8 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
9 9
10VIRTUAL-RUNTIME_initscripts ?= "initscripts"
10RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \ 11RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \
11 initscripts-functions \ 12 ${VIRTUAL-RUNTIME_initscripts} \
12" 13"
13 14
14PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" 15PAM_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}"
39INITSCRIPT_NAME = "crond" 39INITSCRIPT_NAME = "crond"
40INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." 40INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
41 41
42RDEPENDS_${PN} = "initscripts-functions"
43
44USERADD_PACKAGES = "${PN}" 42USERADD_PACKAGES = "${PN}"
45GROUPADD_PARAM_${PN} = "--system crontab" 43GROUPADD_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"
34INITSCRIPT_NAME = "rpcbind" 34INITSCRIPT_NAME = "rpcbind"
35INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." 35INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ."
36 36
37RDEPENDS_${PN} = "initscripts-functions"
38
39SYSTEMD_SERVICE_${PN} = "rpcbind.service" 37SYSTEMD_SERVICE_${PN} = "rpcbind.service"
40SYSTEMD_AUTO_ENABLE = "disable" 38SYSTEMD_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"
24INITSCRIPT_NAME = "syslog" 24INITSCRIPT_NAME = "syslog"
25CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${BPN}" 25CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${BPN}"
26 26
27RDEPENDS_${PN} = "initscripts-functions"
28
29CFLAGS_append = " -DSYSV" 27CFLAGS_append = " -DSYSV"
30 28
31do_install () { 29do_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"
7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" 7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"
8 8
9DEPENDS = "" 9DEPENDS = ""
10RDEPENDS_${PN} = "initscripts-functions"
11PR = "r2" 10PR = "r2"
12 11
13SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ 12SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
index 63f33e2e60..dbb559965a 100644
--- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
@@ -11,7 +11,7 @@ SRC_URI = "git://git.yoctoproject.org/oprofileui \
11 11
12EXTRA_OECONF += "--disable-client --enable-server" 12EXTRA_OECONF += "--disable-client --enable-server"
13 13
14RDEPENDS_${PN} = "oprofile initscripts-functions" 14RDEPENDS_${PN} = "oprofile"
15 15
16do_install_append() { 16do_install_append() {
17 install -d ${D}${sysconfdir}/init.d 17 install -d ${D}${sysconfdir}/init.d