[PATCH openbmc] Create tarball of update files with correct names

Brad Bishop brad at bwbmail.net
Tue Feb 2 06:04:38 AEDT 2016


Reviewed-by: Brad Bishop <brad at bwbmail.net>

> On Jan 31, 2016, at 11:40 PM, OpenBMC Patches <openbmc-patches at stwcx.xyz> wrote:
> 
> From: Norman James <njames at us.ibm.com>
> 
> Signed-off-by: Norman James <nkskjames at gmail.com>
> ---
> meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass | 9 +++++++++
> 1 file changed, 9 insertions(+)
> 
> diff --git a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
> index 14e9289..29dbb87 100644
> --- a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
> +++ b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
> @@ -65,4 +65,13 @@ do_generate_flash() {
>        dstlink="${ddir}/${FLASH_IMAGE_LINK}"
>        rm -rf $dstlink
>        ln -sf ${FLASH_IMAGE_NAME} $dstlink
> +
> +       ln -sf ${FLASH_IMAGE_NAME} ${ddir}/image-bmc
> +       ln -sf ${uboot} ${ddir}/image-u-boot
> +       ln -sf ${kernel} ${ddir}/image-kernel
> +       ln -sf ${uinitrd} ${ddir}/image-initramfs
> +       ln -sf ${rootfs} ${ddir}/image-rofs
> +
> +       tar -h -cvf ${ddir}/${MACHINE}-${DATETIME}.all.tar -C ${ddir} image-bmc
> +       tar -h -cvf ${ddir}/${MACHINE}-${DATETIME}.tar -C ${ddir} image-u-boot image-kernel image-initramfs image-rofs
> }
> -- 
> 2.6.4
> 
> 
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list