From 487498cc437a8b9e563f09f70d85f9c6e1e19a8e Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 12 Jun 2014 12:57:19 +0200 Subject: trdx-image-fstype: improve for use with other images Don't fail for images which do not deploy /boot/uImage mx6: only strip binaries --- recipes/images/trdx-image-fstype.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/images') diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc index 9279782..3cd094e 100644 --- a/recipes/images/trdx-image-fstype.inc +++ b/recipes/images/trdx-image-fstype.inc @@ -41,13 +41,13 @@ do_rootfs_append_mx6() { # add imx-loader and its configuration files cp ${STAGING_BINDIR_NATIVE}/imx_usb ${IMAGE_ROOT}/ - ${BUILD_STRIP} ${IMAGE_ROOT}/imx_usb* + ${BUILD_STRIP} ${IMAGE_ROOT}/imx_usb ${IMAGE_ROOT}/imx_usb.m32 cp ${STAGING_ETCDIR_NATIVE}/imx-loader.d/* ${IMAGE_ROOT}/ } do_rootfs_append() { # put u-boot, kernel into the bin directories, remove the kernel from the rootfs/boot - rm ${IMAGE_ROOTFS}/boot/uImage* + rm -f ${IMAGE_ROOTFS}/boot/uImage* cp -pP ${DEPLOY_DIR_IMAGE}/uImage* ${IMAGE_ROOTFS}/../${MACHINE}_bin/ mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/uImage-${MACHINE}.bin ${IMAGE_ROOTFS}/../${MACHINE}_bin/uImage -- cgit v1.2.3