[oe-commits] [openembedded-core] 08/20: kernel.bbclass: remove bashism in kernel_do_install
git at git.openembedded.org
git at git.openembedded.org
Sat Jan 13 22:54:24 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit afa9bec1dfff896ce72f05e2f8f116d2f5804e77
Author: Ricardo Salveti <ricardo at opensourcefoundries.com>
AuthorDate: Mon Jan 8 23:41:36 2018 -0200
kernel.bbclass: remove bashism in kernel_do_install
possible bashism in run.do_install line 163 (should be 'b = a'):
if [ "kernel" == "kernel" ]; then
Fixes "[: kernel: unexpected operator" when not using bash by default,
which causes the default kernel image link to not be created.
Signed-off-by: Ricardo Salveti <ricardo at opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f7b612f..c42f85c 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -363,7 +363,7 @@ kernel_do_install() {
install -d ${D}/boot
for type in ${KERNEL_IMAGETYPES} ; do
install -m 0644 ${KERNEL_OUTPUT_DIR}/${type} ${D}/${KERNEL_IMAGEDEST}/${type}-${KERNEL_VERSION}
- if [ "${KERNEL_PACKAGE_NAME}" == "kernel" ]; then
+ if [ "${KERNEL_PACKAGE_NAME}" = "kernel" ]; then
ln -sf ${type}-${KERNEL_VERSION} ${D}/${KERNEL_IMAGEDEST}/${type}
fi
done
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list