summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-27 15:24:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:52 +0000
commit36bd248463291919f2a2fa343db88c99953c18c6 (patch)
treeceefbbcb8e9cbbfe5ccef855654d708115566dd8 /meta
parent08c64b5af6f22631189bc1c651afe39bc08be1e1 (diff)
downloadpoky-36bd248463291919f2a2fa343db88c99953c18c6.tar.gz
image: Add missing depends on virtual/kernel for depmod data
We need the depmod data so that the kernel depmod command works successfully at rootfs time. The fact this was working inconsistently is now highlighted after the command was made to error out. A simple test case is: bitbake virtual/kernel image bitbake vrituak/kernel -c clean bitbake image -c rootfs -f We fix it by adding the missing dependency, the data is in PKGDATA_DIR and hence we use packagedata. (From OE-Core rev: 41f0f86ec0a3e0b6f6c9bb4ef71a4215c00bf66c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 22b6970344..677c81acaf 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -72,8 +72,10 @@ LDCONFIGDEPEND ?= "ldconfig-native:do_populate_sysroot"
72LDCONFIGDEPEND_libc-uclibc = "" 72LDCONFIGDEPEND_libc-uclibc = ""
73LDCONFIGDEPEND_libc-musl = "" 73LDCONFIGDEPEND_libc-musl = ""
74 74
75do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}" 75do_rootfs[depends] += " \
76do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" 76 makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND} \
77 virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot \
78 virtual/kernel:do_packagedata"
77do_rootfs[recrdeptask] += "do_packagedata" 79do_rootfs[recrdeptask] += "do_packagedata"
78 80
79def command_variables(d): 81def command_variables(d):