From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/4] update-rc.d/useradd: Add additional dependecies
Date: Thu, 5 Jun 2014 17:09:02 -0700 [thread overview]
Message-ID: <1402013345-24930-2-git-send-email-sgw@linux.intel.com> (raw)
In-Reply-To: <1402013345-24930-1-git-send-email-sgw@linux.intel.com>
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]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/update-rc.d.bbclass | 2 ++
meta/classes/useradd.bbclass | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 56eef4e..ca9486b 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,6 +1,7 @@
UPDATERCPN ?= "${PN}"
DEPENDS_append = " update-rc.d-native"
+DEPENDS_append_class-target = " initscripts"
UPDATERCD = "update-rc.d"
UPDATERCD_class-cross = ""
UPDATERCD_class-native = ""
@@ -67,6 +68,7 @@ python __anonymous() {
}
PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
+PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd "
populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst"
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 3dd7a61..ea15dab 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -4,7 +4,7 @@ inherit useradd_base
# target sysroot, and shadow -native and -sysroot provide the utilities
# and support files needed to add and modify user and group accounts
DEPENDS_append = "${USERADDDEPENDS}"
-USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
+USERADDDEPENDS = " base-files base-passwd shadow-native shadow-sysroot shadow"
USERADDDEPENDS_class-cross = ""
USERADDDEPENDS_class-native = ""
USERADDDEPENDS_class-nativesdk = ""
--
1.8.3.1
next prev parent reply other threads:[~2014-06-06 0:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 0:09 [PATCH 0/4] 4 Bug fixes! Saul Wold
2014-06-06 0:09 ` Saul Wold [this message]
2014-06-10 11:57 ` [PATCH 1/4] update-rc.d/useradd: Add additional dependecies Phil Blundell
2014-06-10 14:38 ` Saul Wold
2014-06-10 14:53 ` Phil Blundell
2014-06-16 14:47 ` Paul Eggleton
2014-06-17 13:18 ` Phil Blundell
2014-06-17 17:01 ` Paul Eggleton
2014-06-06 0:09 ` [PATCH 2/4] busybox: put udhcpc in background Saul Wold
2014-06-06 0:09 ` [PATCH 3/4] freetype: enable 64 bit file support Saul Wold
2014-06-06 0:09 ` [PATCH 4/4] fontconfig: " Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402013345-24930-2-git-send-email-sgw@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox