summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-image-fstype.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/trdx-image-fstype.inc')
-rw-r--r--recipes/images/trdx-image-fstype.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index c7b49fe..0f9e68d 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -101,8 +101,10 @@ imagedeploy_kernel_mx7() {
}
imagedeploy_kernel_tegra2() {
- # Do nothing, we use the kernel from /boot inside root fs
- :
+ # put kernel into the bin directories
+ rm -f ${IMAGE_ROOTFS}/boot/${KERNEL_IMAGETYPE}* ${IMAGE_ROOTFS}/boot/*.dtb
+ cp -pP ${DEPLOY_DIR_IMAGE}/zImage* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
+ mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/zImage-${MACHINE}.bin ${IMAGE_ROOTFS}/../${MACHINE}_bin/zImage
}
imagedeploy_kernel_vf() {