mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
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. (From OE-Core rev: 9d82fffd24742a5eb40bcb9b9ecea01a42be0be6) Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
598a4e9e85
commit
ef4caecccb
@@ -363,7 +363,7 @@ kernel_do_install() {
|
|||||||
install -d ${D}/boot
|
install -d ${D}/boot
|
||||||
for type in ${KERNEL_IMAGETYPES} ; do
|
for type in ${KERNEL_IMAGETYPES} ; do
|
||||||
install -m 0644 ${KERNEL_OUTPUT_DIR}/${type} ${D}/${KERNEL_IMAGEDEST}/${type}-${KERNEL_VERSION}
|
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}
|
ln -sf ${type}-${KERNEL_VERSION} ${D}/${KERNEL_IMAGEDEST}/${type}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user