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:00 +0100 |
commit | 0866086c6a9d9f518388f2962db784ab15d49330 (patch) | |
tree | 86726f17a2affe37e6244652993f729546c4055c /meta/recipes-kernel/linux/kernel-devsrc.bb | |
parent | 86d428775c95a900c9b452f03548b56cb980b64c (diff) | |
download | openembedded-core-0866086c6a9d9f518388f2962db784ab15d49330.tar.gz openembedded-core-0866086c6a9d9f518388f2962db784ab15d49330.tar.bz2 openembedded-core-0866086c6a9d9f518388f2962db784ab15d49330.zip |
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]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/kernel-devsrc.bb')
-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 # ${B} not to change while we install, so virtual/kernel must finish do_compile. do_install[depends] += "virtual/kernel:do_shared_workdir" # Need the source, not just the output of populate_sysroot -do_install[depends] += "virtual/kernel:do_compile" +do_install[depends] += "virtual/kernel:do_install" # There's nothing to do here, except install the source where we can package it do_fetch[noexec] = "1" |