[OE-core] [PATCH] image_types_uboot: remove the middle file

Rongqing Li rongqing.li at windriver.com
Thu Jul 2 02:44:24 UTC 2015


drop it, I will rework the commit header

-R

On 2015年07月02日 10:34, rongqing.li at windriver.com wrote:
> From: Yue Tao <Yue.Tao at windriver.com>
>
> The .gz, .bz2 or .lzma are middle files for making gz.u-boot,
> bz2.u-boot, or lzma.u-boot. It should be removed once the final
> image is generated. Otherwise, even you --enable-rm-oldimgs=yes,
> it can't be removed, moreover more and more middle files are
> genrated via 'make fs
>
> Signed-off-by: Yue Tao <Yue.Tao at windriver.com>
> ---
>   meta/classes/image_types_uboot.bbclass | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass
> index 07837b5..dba9293 100644
> --- a/meta/classes/image_types_uboot.bbclass
> +++ b/meta/classes/image_types_uboot.bbclass
> @@ -3,6 +3,7 @@ inherit image_types kernel-arch
>   oe_mkimage () {
>       mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C $2 -n ${IMAGE_NAME} \
>           -d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot
> +    rm $1
>   }
>
>   COMPRESSIONTYPES += "gz.u-boot bz2.u-boot lzma.u-boot u-boot"
>

-- 
Best Reagrds,
Roy | RongQing Li



More information about the Openembedded-core mailing list