diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-23 02:15:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-28 07:56:56 +0100 |
commit | c3537bd112744ad34f12a3a16b7ef71558bfdc98 (patch) | |
tree | 085a6b8e91f7acf0c163fbc329dcaac32ffcc275 /meta/recipes-kernel | |
parent | d6a579af0d03354af6bb7a2e3044cee4902f4385 (diff) | |
download | poky-c3537bd112744ad34f12a3a16b7ef71558bfdc98.tar.gz |
kernel-devsrc: depends on virtual/kernel:do_install
The linux-yocto.inc may remove the meta dir:
do_install_append(){
if [ -n "${KMETA}" ]; then
rm -rf ${STAGING_KERNEL_DIR}/${KMETA}
fi
}
Which may cause the error:
[snip]
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0073-FogBugz-116676-Align-clk.c-with-kernel.org.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0047-FogBugz-90657-Fix-SD-MMC-driver-for-VT.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0006-spi-qspi-cadence-Add-spi-and-qspi-driver.patch': No such file or directory
[snip]
cpio: ./meta/scripts/kgit-config-cleaner: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-s2q: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-clean: Cannot stat: No such file or directory
[snip]
(From OE-Core rev: 0866086c6a9d9f518388f2962db784ab15d49330)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index dd6578861a..196c8c7a24 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -18,7 +18,7 @@ inherit module-base | |||
18 | # ${B} not to change while we install, so virtual/kernel must finish do_compile. | 18 | # ${B} not to change while we install, so virtual/kernel must finish do_compile. |
19 | do_install[depends] += "virtual/kernel:do_shared_workdir" | 19 | do_install[depends] += "virtual/kernel:do_shared_workdir" |
20 | # Need the source, not just the output of populate_sysroot | 20 | # Need the source, not just the output of populate_sysroot |
21 | do_install[depends] += "virtual/kernel:do_compile" | 21 | do_install[depends] += "virtual/kernel:do_install" |
22 | 22 | ||
23 | # There's nothing to do here, except install the source where we can package it | 23 | # There's nothing to do here, except install the source where we can package it |
24 | do_fetch[noexec] = "1" | 24 | do_fetch[noexec] = "1" |