diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-16 01:17:24 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-16 10:04:26 +0000 |
commit | d7ccfc7605f1eb61511b1b2b8db4ac689ce6a468 (patch) | |
tree | 63a1ef014179795b09f55a2924be2f52578bb639 /meta/classes/kernel.bbclass | |
parent | db7f8d4114267ed34c19dc66dd56c2372354b43f (diff) | |
download | poky-d7ccfc7605f1eb61511b1b2b8db4ac689ce6a468.tar.gz |
kernel.bbclass: fix hardlink test
The commit [kernel.bbclass: test for hardlinks before installing] doesn't
work on all build machines without a space between the ! and the test for
hardlink equivalance. The build continues, while the test fails and no
copy is made into the sysroot. Eventually tasks like build_hdimg will fail
with the missing kernel with the root cause being less than obvious.
(From OE-Core rev: 0704648e9dfd2897f6f54773a0e7d2762117970c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 624b15101e..6959aa1614 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -248,7 +248,7 @@ kernel_do_install() { | |||
248 | # Test to ensure that the output file and image type are not actually | 248 | # Test to ensure that the output file and image type are not actually |
249 | # the same file. If hardlinking is used, they will be the same, and there's | 249 | # the same file. If hardlinking is used, they will be the same, and there's |
250 | # no need to install. | 250 | # no need to install. |
251 | ![ ${KERNEL_OUTPUT} -ef $kerneldir/${KERNEL_IMAGETYPE} ] && install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE} | 251 | ! [ ${KERNEL_OUTPUT} -ef $kerneldir/${KERNEL_IMAGETYPE} ] && install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE} |
252 | install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION} | 252 | install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION} |
253 | 253 | ||
254 | # Dummy Makefile so the clean below works | 254 | # Dummy Makefile so the clean below works |