summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-06-05 17:09:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-10 17:12:19 +0100
commit9deb3333b03463e6c0f8405e0ad8d016203ccee6 (patch)
treec40259f1d298950b0df01bd03fad4a023289f2f9 /meta
parent5bb9a05e0f3b8fbe4262e9c76df79f17dd80a2d6 (diff)
downloadpoky-9deb3333b03463e6c0f8405e0ad8d016203ccee6.tar.gz
update-rc.d/useradd: Add additional dependecies
These dependcies are needed to ensure that thier packages are created correctly since these classes have runtime dependiences in their packages but they are not actually created yet at rootfs time. [YOCTO #6072] (From OE-Core rev: bba835fed88c3bd5bb5bd58962034aef57c408d8) (From OE-Core rev: 8c4ea49ba8440871f5a7008c7fa20f93bfb35d78) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/update-rc.d.bbclass2
-rw-r--r--meta/classes/useradd.bbclass2
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 0ac2af7d97..668ead88a9 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,6 +1,7 @@
1UPDATERCPN ?= "${PN}" 1UPDATERCPN ?= "${PN}"
2 2
3DEPENDS_append = " update-rc.d-native" 3DEPENDS_append = " update-rc.d-native"
4DEPENDS_append_class-target = " initscripts"
4UPDATERCD = "update-rc.d" 5UPDATERCD = "update-rc.d"
5UPDATERCD_class-cross = "" 6UPDATERCD_class-cross = ""
6UPDATERCD_class-native = "" 7UPDATERCD_class-native = ""
@@ -67,6 +68,7 @@ python __anonymous() {
67} 68}
68 69
69PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd " 70PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
71PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd "
70 72
71populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst" 73populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst"
72 74
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 3dd7a610a9..ea15dabb84 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -4,7 +4,7 @@ inherit useradd_base
4# target sysroot, and shadow -native and -sysroot provide the utilities 4# target sysroot, and shadow -native and -sysroot provide the utilities
5# and support files needed to add and modify user and group accounts 5# and support files needed to add and modify user and group accounts
6DEPENDS_append = "${USERADDDEPENDS}" 6DEPENDS_append = "${USERADDDEPENDS}"
7USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" 7USERADDDEPENDS = " base-files base-passwd shadow-native shadow-sysroot shadow"
8USERADDDEPENDS_class-cross = "" 8USERADDDEPENDS_class-cross = ""
9USERADDDEPENDS_class-native = "" 9USERADDDEPENDS_class-native = ""
10USERADDDEPENDS_class-nativesdk = "" 10USERADDDEPENDS_class-nativesdk = ""