[OE-core] [PATCH] kernel.bbclass: fix malformed patch

Gary Thomas gary at mlbassoc.com
Wed Jul 13 00:36:31 UTC 2011


On 07/12/2011 04:15 PM, Andrea Adami wrote:
> * commit 19bda7f2c2dac6363468a49295c38f2095c67c98
> * was unfortunately based on a truncated patch.
> * Fix the broken line and repair kernel.bbclass.
> * Sorry for the noise...
>
> Signed-off-by: Andrea Adami<andrea.adami at gmail.com>
> ---
>   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 e441748..9be55d0 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -189,7 +189,7 @@ kernel_do_configure() {
>   	if [ ! -z "${INITRAMFS_IMAGE}" ]; then
>   		for img in cpio.gz cpio.lzo cpio.lzma cpio.xz; do
>   		if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img"
> -			cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
> +			cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img
>   		fi
>   		done
>   	fi

I don't think this is sufficient; the line above is broken as well.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------




More information about the Openembedded-core mailing list